aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2023-05-10 15:26:46 +0900
committerGitHub <noreply@github.com>2023-05-10 08:26:46 +0200
commitaf80bdb7f173843c7270347178ebca6e559095f3 (patch)
treedb91e9b130653035b013f86dda0e7f806b6cf838
parent1d8f00c58315404cfc1a441707fe711121159b6c (diff)
downloadGT5-Unofficial-af80bdb7f173843c7270347178ebca6e559095f3.tar.gz
GT5-Unofficial-af80bdb7f173843c7270347178ebca6e559095f3.tar.bz2
GT5-Unofficial-af80bdb7f173843c7270347178ebca6e559095f3.zip
Update dependencies (#159)
-rw-r--r--build.gradle22
-rw-r--r--dependencies.gradle33
-rw-r--r--repositories.gradle25
3 files changed, 28 insertions, 52 deletions
diff --git a/build.gradle b/build.gradle
index 17e7501a27..78ed8d44f0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,4 +1,4 @@
-//version: 1682616243
+//version: 1683563728
/*
DO NOT CHANGE THIS FILE!
Also, you may replace this file at any time if there is an update available.
@@ -71,6 +71,9 @@ plugins {
id 'com.matthewprenger.cursegradle' version '1.4.0' apply false
id 'com.gtnewhorizons.retrofuturagradle' version '1.3.7'
}
+
+print("You might want to check out './gradlew :faq' if your build fails.\n")
+
boolean settingsupdated = verifySettingsGradle()
settingsupdated = verifyGitAttributes() || settingsupdated
if (settingsupdated)
@@ -219,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
}
@@ -1252,6 +1257,21 @@ if (!project.getGradle().startParameter.isOffline() && !Boolean.getBoolean('DISA
}
}
+// If you want to add more cases to this task, implement them as arguments if total amount to print gets too large
+tasks.register('faq') {
+ group = 'GTNH Buildscript'
+ description = 'Prints frequently asked questions about building a project'
+
+ doLast {
+ 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.\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.")
+ }
+}
+
static URL availableBuildScriptUrl() {
new URL("https://raw.githubusercontent.com/GTNewHorizons/ExampleMod1.7.10/master/build.gradle")
}
diff --git a/dependencies.gradle b/dependencies.gradle
index 86673e2583..d3b53392aa 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -1,33 +1,14 @@
// Add your dependencies here
dependencies {
+ api('com.github.GTNewHorizons:GT5-Unofficial:5.09.43.24:dev')
+ api('com.github.GTNewHorizons:bartworks:0.7.6:dev')
+ implementation('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev')
+ implementation('com.github.GTNewHorizons:GTplusplus:1.9.5:dev')
- compile('com.github.GTNewHorizons:GT5-Unofficial:5.09.43.07:dev')
- compile('com.github.GTNewHorizons:StructureLib:1.2.6:dev')
- compile("com.github.GTNewHorizons:ModularUI:1.1.2:dev")
- compile('com.github.GTNewHorizons:bartworks:0.7.1:dev')
- compile('com.github.GTNewHorizons:NotEnoughItems:2.3.46-GTNH:dev')
- compile('com.github.GTNewHorizons:TecTech:5.2.1:dev')
-
- compile('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev')
- compile('net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev')
-
- compileOnly('com.github.GTNewHorizons:EnderCore:0.2.13:dev') {transitive = false}
- compileOnly('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-197-GTNH:dev') {transitive = false}
- compileOnly('com.github.GTNewHorizons:GTplusplus:1.9.1:dev') {transitive = false}
- compileOnly('com.github.GTNewHorizons:AppleCore:3.2.10:dev') {transitive = false}
- compileOnly('com.github.GTNewHorizons:ForestryMC:4.6.7:dev') {transitive = false}
- compileOnly('com.github.GTNewHorizons:Railcraft:9.14.1:dev') {transitive = false}
- compileOnly('com.github.GTNewHorizons:EnderIO:2.4.11:dev') {transitive = false}
- compileOnly('com.github.GTNewHorizons:ExtraCells2:2.5.33:dev') {transitive = false}
-
- compileOnly('com.github.GTNewHorizons:BuildCraft:7.1.33:dev') {transitive = false}
+ compileOnly('com.github.GTNewHorizons:ExtraCells2:2.5.34:dev') {transitive = false}
compileOnly('com.github.GTNewHorizons:ThaumicEnergistics:1.4.1-GTNH:dev') {transitive = false}
- compileOnly("com.github.GTNewHorizons:ProjectRed:4.7.9-GTNH:dev") {transitive = false}
-
- runtimeOnly('com.github.GTNewHorizons:NewHorizonsCoreMod:2.1.0:dev')
- runtimeOnly('com.github.GTNewHorizons:ForestryMC:4.6.7:dev')
- runtimeOnly('com.github.GTNewHorizons:GTplusplus:1.9.1:dev')
- //compileOnly('com.github.GTNewHorizons:Avaritia:1.39)
+ runtimeOnly('com.github.GTNewHorizons:NewHorizonsCoreMod:2.1.13:dev')
+ runtimeOnly('com.github.GTNewHorizons:Baubles:1.0.1.16:dev')
}
diff --git a/repositories.gradle b/repositories.gradle
index 8a32089d6d..c227b16ec2 100644
--- a/repositories.gradle
+++ b/repositories.gradle
@@ -1,29 +1,4 @@
// Add any additional repositories for your dependencies here
repositories {
- mavenLocal()
- maven {
- name 'GTNH Maven'
- url 'http://jenkins.usrv.eu:8081/nexus/content/groups/public/'
- allowInsecureProtocol
- }
- maven {
- name 'ic2'
- url 'https://maven.ic2.player.to/'
- metadataSources {
- mavenPom()
- artifact()
- }
-
- }
- maven {
- name 'gt'
- url 'https://gregtech.overminddl1.com/'
- }
- maven {
- url 'https://cursemaven.com'
- content {
- includeGroup 'curse.maven'
- }
- }
}