Migrate to Gradle 8.7

This commit is contained in:
Michael Primm 2024-04-26 22:50:43 -05:00
parent 120889b500
commit 21369ec485
17 changed files with 103 additions and 75 deletions

View file

@ -5,7 +5,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '6.+', changing: true
}
}
apply plugin: 'net.minecraftforge.gradle'
@ -63,8 +63,9 @@ shadowJar {
}
relocate('org.apache.commons.codec', 'org.dynmap.forge_1_20_2.commons.codec')
archiveName = "Dynmap-${parent.version}-forge-1.20.2.jar"
destinationDir = file '../target'
archiveBaseName = "Dynmap"
archiveClassifier = "forge-1.20.2"
destinationDirectory = file '../target'
}
shadowJar.doLast {
@ -82,7 +83,7 @@ reobf {
task deobfJar(type: Jar) {
from sourceSets.main.output
classifier = 'dev'
archiveClassifier = 'dev'
}
artifacts {