Skip to content

Commit

Permalink
OC Prep
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOriginalGolem committed Nov 23, 2022
1 parent be52cc8 commit 1450a91
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ repositories {
url = "https://dvs1.progwml6.com/files/maven/"
}

maven {
name = "ModMaven.com"
url = "https://modmaven.dev/"
}

maven {
// location of a maven mirror for JEI files, as a fallback
name = "ModMaven"
Expand Down Expand Up @@ -73,6 +78,11 @@ dependencies {
// at runtime, use the full JEI jar
runtime "mezz.jei:jei_${mc_version}:${jei_version}"

// compile against the OC API but do not include it at runtime
provided "li.cil.oc:OpenComputers:MC1.12.2-1.7.5.221:api"
// at runtime, use the full OC jar MC1.12.2-1.7.5.221
runtime "li.cil.oc:OpenComputers:MC1.12.2-1.7.5.221"

This comment has been minimized.

Copy link
@Voxelstice

Voxelstice Dec 4, 2022

What is exactly the reason to not use the opencomputers api in runtime

This comment has been minimized.

Copy link
@TheOriginalGolem

TheOriginalGolem Dec 6, 2022

Author Owner

Not sure, looked at an OC addon and they had that


// for more info...
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
// http://www.gradle.org/docs/current/userguide/dependency_management.html
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ org.gradle.daemon=true
org.gradle.configureondemand=true
org.gradle.parallel=true
jei_version=4.16.1.302
oc_version=1.7.5.221
mc_version=1.12.2

0 comments on commit 1450a91

Please sign in to comment.