From a33c483a72c5a85c7cd0ef4837855dc4f98c80cf Mon Sep 17 00:00:00 2001 From: Martin Robertz Date: Tue, 2 Jan 2024 11:11:09 +0100 Subject: [PATCH] update bs+deps --- build.gradle | 31 +++++++++++++------------------ dependencies.gradle | 20 ++++++++++---------- 2 files changed, 23 insertions(+), 28 deletions(-) diff --git a/build.gradle b/build.gradle index 50c3291c86..f4f81bd7e5 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,4 @@ -//version: 1702141377 +//version: 1704135167 /* DO NOT CHANGE THIS FILE! Also, you may replace this file at any time if there is an update available. @@ -31,8 +31,7 @@ buildscript { maven { // GTNH RetroFuturaGradle and ASM Fork name "GTNH Maven" - url "http://jenkins.usrv.eu:8081/nexus/content/groups/public/" - allowInsecureProtocol = true + url "https://nexus.gtnewhorizons.com/repository/public/" } mavenLocal() } @@ -49,7 +48,7 @@ plugins { id 'org.ajoberstar.grgit' version '4.1.1' // 4.1.1 is the last jvm8 supporting version, unused, available for addon.gradle id 'com.github.johnrengelman.shadow' version '8.1.1' apply false id 'com.palantir.git-version' version '3.0.0' apply false - id 'de.undercouch.download' version '5.4.0' + id 'de.undercouch.download' version '5.5.0' id 'com.github.gmazzo.buildconfig' version '3.1.0' apply false // Unused, available for addon.gradle id 'com.diffplug.spotless' version '6.13.0' apply false // 6.13.0 is the last jvm8 supporting version id 'com.modrinth.minotaur' version '2.+' apply false @@ -118,7 +117,7 @@ propertyDefaultIfUnset("forceEnableMixins", false) propertyDefaultIfUnset("channel", "stable") propertyDefaultIfUnset("mappingsVersion", "12") propertyDefaultIfUnset("usesMavenPublishing", true) -propertyDefaultIfUnset("mavenPublishUrl", "http://jenkins.usrv.eu:8081/nexus/content/repositories/releases") +propertyDefaultIfUnset("mavenPublishUrl", "https://nexus.gtnewhorizons.com/repository/releases/") propertyDefaultIfUnset("modrinthProjectId", "") propertyDefaultIfUnset("modrinthRelations", "") propertyDefaultIfUnset("curseForgeProjectId", "") @@ -573,13 +572,15 @@ afterEvaluate { repositories { maven { - name 'Overmind forge repo mirror' - url 'https://gregtech.overminddl1.com/' + name = "GTNH Maven" + url = "https://nexus.gtnewhorizons.com/repository/public/" + // Links for convenience: + // Simple HTML browsing: https://nexus.gtnewhorizons.com/service/rest/repository/browse/releases/ + // Rich web UI browsing: https://nexus.gtnewhorizons.com/#browse/browse:releases } maven { - name = "GTNH Maven" - url = "http://jenkins.usrv.eu:8081/nexus/content/groups/public/" - allowInsecureProtocol = true + name 'Overmind forge repo mirror' + url 'https://gregtech.overminddl1.com/' } maven { name 'sonatype' @@ -960,8 +961,7 @@ if (usesShadowedDependencies.toBoolean()) { configurations.runtimeElements.outgoing.artifact(tasks.named("shadowJar", ShadowJar)) configurations.apiElements.outgoing.artifact(tasks.named("shadowJar", ShadowJar)) tasks.named("jar", Jar) { - enabled = false - finalizedBy(tasks.shadowJar) + archiveClassifier.set('dev-preshadow') } tasks.named("reobfJar", ReobfuscatedJar) { inputJar.set(tasks.named("shadowJar", ShadowJar).flatMap({it.archiveFile})) @@ -970,11 +970,6 @@ if (usesShadowedDependencies.toBoolean()) { javaComponent.withVariantsFromConfiguration(configurations.shadowRuntimeElements) { skip() } - for (runTask in ["runClient", "runServer", "runClient17", "runServer17"]) { - tasks.named(runTask).configure { - dependsOn("shadowJar") - } - } } ext.publishableDevJar = usesShadowedDependencies.toBoolean() ? tasks.shadowJar : tasks.jar ext.publishableObfJar = tasks.reobfJar @@ -1178,7 +1173,7 @@ publishing { if (usesMavenPublishing.toBoolean() && System.getenv("MAVEN_USER") != null) { maven { url = mavenPublishUrl - allowInsecureProtocol = mavenPublishUrl.startsWith("http://") // Mostly for the GTNH maven + allowInsecureProtocol = mavenPublishUrl.startsWith("http://") credentials { username = System.getenv("MAVEN_USER") ?: "NONE" password = System.getenv("MAVEN_PASSWORD") ?: "NONE" diff --git a/dependencies.gradle b/dependencies.gradle index 5f27deb4e7..3896ca493e 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -7,16 +7,16 @@ dependencies { compile("com.google.code.findbugs:jsr305:3.0.2") - compileOnly("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-300-GTNH:dev") { + compileOnly("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-307-GTNH:dev") { transitive = false } compileOnly("com.github.GTNewHorizons:EnderStorage:1.4.12:dev") { transitive = false } - compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.45.00:dev") { + compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.45.15:dev") { transitive = false } - compile("com.github.GTNewHorizons:ForestryMC:4.7.0:dev") { + compile("com.github.GTNewHorizons:ForestryMC:4.8.1:dev") { transitive = false } compileOnly("com.github.GTNewHorizons:Railcraft:9.15.3:dev") { @@ -25,7 +25,7 @@ dependencies { compile("com.github.GTNewHorizons:NotEnoughItems:2.4.13-GTNH:dev") { transitive = false } - compileOnly("com.github.GTNewHorizons:ForgeMultipart:1.4.1:dev") { + compileOnly("com.github.GTNewHorizons:ForgeMultipart:1.4.3:dev") { transitive = false } compile("com.github.GTNewHorizons:CodeChickenLib:1.1.10:dev") { @@ -37,29 +37,29 @@ dependencies { compileOnly("com.github.GTNewHorizons:waila:1.6.5:dev") { transitive = false } - compileOnly("com.github.GTNewHorizons:Galacticraft:3.0.74-GTNH:dev") { + compileOnly("com.github.GTNewHorizons:Galacticraft:3.1.1-GTNH:dev") { transitive = false } compileOnly("com.github.GTNewHorizons:TinkersMechworks:0.3.0:dev") { transitive = false } - compileOnly("com.github.GTNewHorizons:ProjectRed:4.8.0-GTNH:dev") { + compileOnly("com.github.GTNewHorizons:ProjectRed:4.9.1-GTNH:dev") { transitive = false } compileOnly("com.github.GTNewHorizons:BloodMagic:1.4.3:dev") { transitive = false } - compileOnly("com.github.GTNewHorizons:ThaumicEnergistics:1.5.4-GTNH:dev") { + compileOnly("com.github.GTNewHorizons:ThaumicEnergistics:1.6.1-GTNH:dev") { transitive = false } compileOnly("com.github.GTNewHorizons:ExtraCells2:2.5.34:dev") { transitive = false } - compileOnly('com.github.GTNewHorizons:AE2FluidCraft-Rework:1.1.73-gtnh:dev') { + compileOnly('com.github.GTNewHorizons:AE2FluidCraft-Rework:1.2.7-gtnh:dev') { transitive = false } - compile("com.github.GTNewHorizons:EnderCore:0.2.18:dev") - compile("com.github.GTNewHorizons:EnderIO:2.5.8:dev") { + compile("com.github.GTNewHorizons:EnderCore:0.2.19:dev") + compile("com.github.GTNewHorizons:EnderIO:2.6.2:dev") { transitive = false } compileOnly("com.github.GTNewHorizons:Avaritiaddons:1.6.0-GTNH:dev") {