Skip to content

Commit

Permalink
Update gradle to 3.5 & fixed build
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
TheDarkDnKTv committed May 5, 2022
1 parent f608c05 commit 040bd49
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,17 @@ 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
```
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

```
Expand Down
8 changes: 7 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ minecraft {

repositories {
maven {
url = "http://maven.ic2.player.to/"
url = "https://gregtech.overminddl1.com/"
}
maven {
name = "ChickenBones maven"
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Binary file modified libs/Railcraft_1.7.10-9.12.2.1-dev.jar
Binary file not shown.

0 comments on commit 040bd49

Please sign in to comment.