Update gradle to 3.5 & fixed build

- Updated Gralde to 3.5 (to run in the latest IDEA)
- Removed IC2 API from RailCraft (causes crushes)
- Changed Maven to Overmind's from IC2
- Updated Forestry version
This commit is contained in:
TheDarkDnKTv 2022-05-05 20:41:56 +09:00
parent f608c05bbd
commit 040bd499b6
5 changed files with 13 additions and 4 deletions

View file

@ -23,7 +23,7 @@ The mod is planned to keep original look of GregTech 4 with some technical impro
## Contributing & Build guide
You are welcome to participate in development, but if you planning to **add something new** make sure you **disscussed it with @TheDarkDnKTv** before you started write actual code. Since policy is keeping original look, I can disagree with you about changes.
You are welcome to participate in development, but if you planning to **add something new** make sure you **disscussed it with @TheDarkDnKTv** before you started write actual code. Since policy is keeping original look, I can disagree with you about changes.
#### Setting up enviroment
```
@ -31,6 +31,9 @@ git clone https://github.com/Nukepowered/GregTech4.git
gradlew setupDecompWorkspace
gradlew eclipse/idea
```
*Do not forget to put `-Dfml.coreMods.load=gregtechmod.common.asm.GT_CoreMod` VM argument for launch, otherwise coremod will not work*
#### Building jar file
```

View file

@ -38,7 +38,7 @@ minecraft {
repositories {
maven {
url = "http://maven.ic2.player.to/"
url = "https://gregtech.overminddl1.com/"
}
maven {
name = "ChickenBones maven"
@ -66,6 +66,12 @@ jar {
}
}
sourceSets {
main {
output.resourcesDir = output.classesDir
}
}
dependencies {
compile "codechicken:CodeChickenCore:${mc_ver}-${ccc_version}:dev"
compile "codechicken:NotEnoughItems:${mc_ver}-${nei_version}:dev"

View file

@ -4,4 +4,4 @@ ccc_version=1.0.7.47
nei_version=1.0.5.120
ccl_version=1.1.3.138
ic2_ver=2.2.828
forestry_ver=4.2.9.57
forestry_ver=4.2.16.64

View file

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-bin.zip