Compare commits

...
4 Commits
Author SHA1 Message Date
Jason Mitchell 6de78aaa6b be less restrictive; also kill jitpack (#40) 2023-01-15 22:29:24 +01:00
Martin Robertz df73e866c6 update BS 2023-01-15 21:38:29 +01:00
Jason Mitchell 088686c1a5 Add dependencies on GTNH ccl & nei (#39) 2023-01-15 21:36:52 +01:00
glowredman ed947e4b92 Fix modName (#38)
This mistake occured during the big buildscript overhaul (fbaaed088b)
2022-12-27 00:01:33 +01:00
5 changed files with 32 additions and 16 deletions

No files matched your search

+28 -10
View File
@@ -1,4 +1,4 @@
//version: 1667597057 //version: 1673027205
/* /*
DO NOT CHANGE THIS FILE! DO NOT CHANGE THIS FILE!
Also, you may replace this file at any time if there is an update available. Also, you may replace this file at any time if there is an update available.
@@ -31,7 +31,7 @@ buildscript {
url 'https://maven.minecraftforge.net' url 'https://maven.minecraftforge.net'
} }
maven { maven {
// GTNH ForgeGradle Fork // GTNH ForgeGradle and ASM Fork
name = "GTNH Maven" name = "GTNH Maven"
url = "http://jenkins.usrv.eu:8081/nexus/content/groups/public/" url = "http://jenkins.usrv.eu:8081/nexus/content/groups/public/"
} }
@@ -45,7 +45,9 @@ buildscript {
} }
} }
dependencies { dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2.11' //Overwrite the current ASM version to fix shading newer than java 8 applicatations.
classpath 'org.ow2.asm:asm-debug-all-custom:5.0.3'
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2.13'
} }
} }
plugins { plugins {
@@ -278,7 +280,9 @@ minecraft {
runDir = 'run' runDir = 'run'
if (replaceGradleTokenInFile) { if (replaceGradleTokenInFile) {
replaceIn replaceGradleTokenInFile for (f in replaceGradleTokenInFile.split(',')) {
replaceIn f
}
if (gradleTokenModId) { if (gradleTokenModId) {
replace gradleTokenModId, modId replace gradleTokenModId, modId
} }
@@ -315,9 +319,13 @@ if (file('addon.gradle').exists()) {
apply from: 'repositories.gradle' apply from: 'repositories.gradle'
configurations { configurations {
implementation.extendsFrom(shadowImplementation) // TODO: remove after all uses are refactored // TODO: remove Compile after all uses are refactored to Implementation
implementation.extendsFrom(shadowCompile) for (config in [shadowImplementation, shadowCompile, shadeCompile]) {
implementation.extendsFrom(shadeCompile) compileClasspath.extendsFrom(config)
runtimeClasspath.extendsFrom(config)
testCompileClasspath.extendsFrom(config)
testRuntimeClasspath.extendsFrom(config)
}
} }
repositories { repositories {
@@ -330,6 +338,12 @@ repositories {
name = "GTNH Maven" name = "GTNH Maven"
url = "http://jenkins.usrv.eu:8081/nexus/content/groups/public/" url = "http://jenkins.usrv.eu:8081/nexus/content/groups/public/"
} }
if (usesMixinDebug.toBoolean()) {
maven {
name = "Fabric Maven"
url = "https://maven.fabricmc.net/"
}
}
} }
} }
@@ -338,10 +352,14 @@ dependencies {
annotationProcessor('org.ow2.asm:asm-debug-all:5.0.3') annotationProcessor('org.ow2.asm:asm-debug-all:5.0.3')
annotationProcessor('com.google.guava:guava:24.1.1-jre') annotationProcessor('com.google.guava:guava:24.1.1-jre')
annotationProcessor('com.google.code.gson:gson:2.8.6') annotationProcessor('com.google.code.gson:gson:2.8.6')
annotationProcessor('org.spongepowered:mixin:0.8.5-GTNH:processor') annotationProcessor('com.gtnewhorizon:gtnhmixins:2.1.3:processor')
if (usesMixinDebug.toBoolean()) {
runtimeClasspath('org.jetbrains:intellij-fernflower:1.2.1.16')
testRuntimeClasspath('org.jetbrains:intellij-fernflower:1.2.1.16')
}
} }
if (usesMixins.toBoolean() || forceEnableMixins.toBoolean()) { if (usesMixins.toBoolean() || forceEnableMixins.toBoolean()) {
compile('com.gtnewhorizon:gtnhmixins:2.0.1') compile('com.gtnewhorizon:gtnhmixins:2.1.3')
} }
} }
@@ -694,7 +712,7 @@ if (modrinthProjectId.size() != 0 && System.getenv("MODRINTH_TOKEN") != null) {
} }
} }
if (usesMixins.toBoolean()) { if (usesMixins.toBoolean()) {
addModrinthDep("required", "version", "gtnhmixins") addModrinthDep("required", "project", "gtnhmixins")
} }
tasks.modrinth.dependsOn(build) tasks.modrinth.dependsOn(build)
tasks.publish.dependsOn(tasks.modrinth) tasks.publish.dependsOn(tasks.modrinth)
+2 -2
View File
@@ -15,9 +15,9 @@ dependencies {
compileOnly("com.github.GTNewHorizons:ForgeMultipart:1.2.7:dev") { compileOnly("com.github.GTNewHorizons:ForgeMultipart:1.2.7:dev") {
transitive = false transitive = false
} }
compile("com.github.GTNewHorizons:CodeChickenLib:1.1.5.1:dev") compile("com.github.GTNewHorizons:CodeChickenLib:1.1.5.7:dev")
compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.2.20-GTNH:dev") { compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.3.20-GTNH:dev") {
transitive = false transitive = false
} }
compileOnly("com.github.GTNewHorizons:Chisel:2.10.6-GTNH:api") { compileOnly("com.github.GTNewHorizons:Chisel:2.10.6-GTNH:api") {
+1 -1
View File
@@ -1,4 +1,4 @@
modName = AlchemicalWizardry modName = Blood Magic: Alchemical Wizardry
# This is a case-sensitive string to identify your mod. Convention is to use lower case. # This is a case-sensitive string to identify your mod. Convention is to use lower case.
modId = AWWayofTime modId = AWWayofTime
-3
View File
@@ -8,7 +8,4 @@ repositories {
maven { maven {
url "https://cursemaven.com" url "https://cursemaven.com"
} }
maven {
url = "https://jitpack.io"
}
} }
@@ -107,6 +107,7 @@ import thaumcraft.api.aspects.AspectList;
modid = "AWWayofTime", modid = "AWWayofTime",
name = "AlchemicalWizardry", name = "AlchemicalWizardry",
version = "GRADLETOKEN_VERSION", version = "GRADLETOKEN_VERSION",
dependencies = "after:CodeChickenLib@[1.1.5.7,);" + "after:NotEnoughItems@[2.3.20-GTNH,)",
guiFactory = "WayofTime.alchemicalWizardry.client.gui.ConfigGuiFactory") guiFactory = "WayofTime.alchemicalWizardry.client.gui.ConfigGuiFactory")
public class AlchemicalWizardry { public class AlchemicalWizardry {
public static boolean parseTextFiles = false; public static boolean parseTextFiles = false;