mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-23 10:45:34 +01:00
Fix Forge 1.20.6 build
This commit is contained in:
parent
d78a4fd11b
commit
435472085d
@ -5,7 +5,7 @@ buildscript {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '6.+', changing: true
|
||||
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '[6.0.24,6.2)', changing: true
|
||||
}
|
||||
}
|
||||
apply plugin: 'net.minecraftforge.gradle'
|
||||
@ -27,6 +27,8 @@ ext.buildNumber = System.getenv().BUILD_NUMBER ?: "Dev"
|
||||
minecraft {
|
||||
mappings channel: 'official', version: '1.20.6'
|
||||
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
|
||||
reobf = false
|
||||
copyIdeResources = true
|
||||
runs {
|
||||
server {
|
||||
workingDirectory project.file('run').canonicalPath
|
||||
@ -73,21 +75,4 @@ shadowJar.doLast {
|
||||
ant.checksum file: task.archivePath
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
reobf {
|
||||
shadowJar {
|
||||
mappings = createMcpToSrg.output
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
task deobfJar(type: Jar) {
|
||||
from sourceSets.main.output
|
||||
archiveClassifier = 'dev'
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives deobfJar
|
||||
}
|
||||
|
||||
build.dependsOn(shadowJar)
|
||||
|
@ -3,6 +3,6 @@
|
||||
"description": {
|
||||
"text": "Dynmap resources"
|
||||
},
|
||||
"pack_format": 32
|
||||
"pack_format": 22
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user