diff --git a/README.md b/README.md index 5b4e64a..14cb5d2 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,4 @@ Made and Maintained By: # Fork -This mod was forked by the GT:NH Team to continue the development of the 1.7.10 Branch. The up-to-date Master branch can be found on our Jenkins: http://jenkins.usrv.de +This mod was forked by the GT:NH Team to continue the development of the 1.7.10 Branch. The up-to-date Master branch can be found on our [Jenkins](http://jenkins.usrv.eu:8080/job/Universal-Singularities/). diff --git a/build.gradle b/build.gradle index 3c6eb41..f7f077e 100644 --- a/build.gradle +++ b/build.gradle @@ -1,24 +1,30 @@ +import java.util.concurrent.TimeUnit + buildscript { repositories { mavenCentral() maven { - name = "forge" - url = "http://files.minecraftforge.net/maven" + name = "gregtech forge mirror" + url = "https://gregtech.overminddl1.com" } maven { - name = "sonatype" - url = "https://oss.sonatype.org/content/repositories/snapshots/" + name = "jitpack.io" + url = "https://jitpack.io" } } dependencies { - classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT' + classpath("com.github.GTNH2:ForgeGradle:FG_1.2-SNAPSHOT") { + changing = true + } } } apply plugin: 'forge' +apply plugin: 'java' +apply plugin: 'idea' version = "1.7.10-8.6.2" -group= "wealthyturtle.uiesingularities" // http://maven.apache.org/guides/mini/guide-naming-conventions.html +group = "wealthyturtle.uiesingularities" archivesBaseName = "Universal Singularities" minecraft { @@ -26,40 +32,51 @@ minecraft { runDir = "eclipse" } +idea { + module { + inheritOutputDirs = true + downloadJavadoc = true + downloadSources = true + } +} + sourceCompatibility = 1.8 targetCompatibility = 1.8 -dependencies { - // you may put jars on which you depend on in ./libs - // or you may define them like so.. - //compile "some.group:artifact:version:classifier" - //compile "some.group:artifact:version" - - // real examples - //compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env - //compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env - - // for more info... - // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html - // http://www.gradle.org/docs/current/userguide/dependency_management.html - +repositories { + maven { + name = "ChickenBones Maven" + url = "https://chickenbones.net/maven/" + } + maven { + name = "jitpack" + url = "https://jitpack.io" + } } -processResources -{ - // this will ensure that this task is redone when the versions change. +configurations.all { + resolutionStrategy.cacheChangingModulesFor(0, TimeUnit.SECONDS) + setTransitive(false) +} + +dependencies { + compileOnly "codechicken:CodeChickenLib:1.7.10-1.1.3.140:dev" + compileOnly "codechicken:CodeChickenCore:1.7.10-1.0.7.47:dev" + compileOnly "codechicken:NotEnoughItems:1.7.10-1.0.5.120:dev" + compileOnly("com.github.GTNewHorizons:Avaritia:master-SNAPSHOT") { + setChanging(true) + } +} + +processResources { inputs.property "version", project.version inputs.property "mcversion", project.minecraft.version - // replace stuff in mcmod.info, nothing else from(sourceSets.main.resources.srcDirs) { include 'mcmod.info' - - // replace version and mcversion expand 'version':project.version, 'mcversion':project.minecraft.version } - - // copy everything else, thats not the mcmod.info + from(sourceSets.main.resources.srcDirs) { exclude 'mcmod.info' } diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..04bb111 --- /dev/null +++ b/gradle.properties @@ -0,0 +1,2 @@ +systemProp.org.gradle.internal.http.connectionTimeout=120000 +systemProp.org.gradle.internal.http.socketTimeout=120000 \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 2c2bbe5..4c46317 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.4.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-bin.zip diff --git a/libs/Avaritia-1.11-unofficial-dev.jar b/libs/Avaritia-1.11-unofficial-dev.jar deleted file mode 100644 index 0079e4b..0000000 Binary files a/libs/Avaritia-1.11-unofficial-dev.jar and /dev/null differ diff --git a/libs/CodeChickenCore-1.7.10-1.0.7.47-dev.jar b/libs/CodeChickenCore-1.7.10-1.0.7.47-dev.jar deleted file mode 100644 index c7ecc2a..0000000 Binary files a/libs/CodeChickenCore-1.7.10-1.0.7.47-dev.jar and /dev/null differ diff --git a/libs/CodeChickenLib-1.7.10-1.1.3.138-dev.jar b/libs/CodeChickenLib-1.7.10-1.1.3.138-dev.jar deleted file mode 100644 index 6d3bb67..0000000 Binary files a/libs/CodeChickenLib-1.7.10-1.1.3.138-dev.jar and /dev/null differ diff --git a/libs/NotEnoughItems-1.7.10-1.0.5.120-dev.jar b/libs/NotEnoughItems-1.7.10-1.0.5.120-dev.jar deleted file mode 100644 index 0bb0483..0000000 Binary files a/libs/NotEnoughItems-1.7.10-1.0.5.120-dev.jar and /dev/null differ