diff options
-rw-r--r-- | build.gradle | 10 | ||||
-rw-r--r-- | dependencies.gradle | 37 |
2 files changed, 12 insertions, 35 deletions
diff --git a/build.gradle b/build.gradle index 6243482331..78ed8d44f0 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,4 @@ -//version: 1683056771 +//version: 1683563728 /* DO NOT CHANGE THIS FILE! Also, you may replace this file at any time if there is an update available. @@ -72,7 +72,7 @@ plugins { id 'com.gtnewhorizons.retrofuturagradle' version '1.3.7' } -print("You might want to check out './gradlew :faq' if your build fails.") +print("You might want to check out './gradlew :faq' if your build fails.\n") boolean settingsupdated = verifySettingsGradle() settingsupdated = verifyGitAttributes() || settingsupdated @@ -222,6 +222,8 @@ if (enableModernJavaSyntax.toBoolean()) { dependencies { annotationProcessor 'com.github.bsideup.jabel:jabel-javac-plugin:1.0.0' + // workaround for https://github.com/bsideup/jabel/issues/174 + annotationProcessor 'net.java.dev.jna:jna-platform:5.13.0' compileOnly('com.github.bsideup.jabel:jabel-javac-plugin:1.0.0') { transitive = false // We only care about the 1 annotation class } @@ -1264,7 +1266,9 @@ tasks.register('faq') { print("If your build fails to fetch dependencies, they might have been deleted and replaced by newer " + "versions.\nCheck if the versions you try to fetch are still on the distributing sites.\n" + "The links can be found in repositories.gradle and build.gradle:repositories, " + - "not build.gradle:buildscript.repositories - this one is for gradle plugin metadata.") + "not build.gradle:buildscript.repositories - this one is for gradle plugin metadata.\n\n" + + "If your build fails to recognize the syntax of new Java versions, enable Jabel in your " + + "gradle.properties. See how it's done in GTNH ExampleMod/gradle.properties.") } } diff --git a/dependencies.gradle b/dependencies.gradle index 8b53649112..4d43d56b9b 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -1,41 +1,14 @@ // Add your dependencies here dependencies { - api('com.github.GTNewHorizons:GT5-Unofficial:5.09.43.20:dev') - api("com.github.GTNewHorizons:TecTech:5.2.4:dev") - implementation("com.github.GTNewHorizons:TinkersConstruct:1.9.30-GTNH:dev") - - api("com.github.GTNewHorizons:GalacticGregGT5:1.0.8:dev") { + api('com.github.GTNewHorizons:GT5-Unofficial:5.09.43.21:dev') + api("com.github.GTNewHorizons:TecTech:5.2.5:dev") + api("com.github.GTNewHorizons:GalacticGregGT5:1.0.9:dev") { exclude group:"com.github.GTNewHorizons", module:"bartworks" } - - api("com.github.GTNewHorizons:Galacticraft:3.0.68-GTNH:dev") - api("com.github.GTNewHorizons:ModularUI:1.1.2:dev") - api("com.github.GTNewHorizons:Avaritia:1.39:dev") + implementation("com.github.GTNewHorizons:TinkersConstruct:1.9.31-GTNH:dev") compileOnly("TGregworks:TGregworks:1.7.10-GTNH-1.0.23:deobf") {transitive = false} - compileOnly("com.github.GTNewHorizons:AppleCore:3.2.10:dev") { - transitive = false - } - compileOnly("com.github.GTNewHorizons:ForestryMC:4.6.7:api") { - transitive = false - } - compileOnly("com.github.GTNewHorizons:Railcraft:9.14.1:api") { - transitive = false - } - - compileOnly("com.github.GTNewHorizons:EnderIO:2.4.13:api") { - transitive = false - } - - compileOnly("com.github.GTNewHorizons:OpenComputers:1.9.4-GTNH:api") { - transitive = false - } - compileOnly("com.github.GTNewHorizons:BuildCraft:7.1.33:dev") { - transitive = false - } - compileOnly("com.github.GTNewHorizons:ProjectRed:4.7.9-GTNH:dev") { - transitive = false - } + compileOnly("com.github.GTNewHorizons:OpenComputers:1.9.5-GTNH:api") {transitive = false} } |