mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-27 04:35:14 +01:00
Fix Forge 1.20.6 build
This commit is contained in:
parent
d78a4fd11b
commit
435472085d
@ -5,7 +5,7 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
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'
|
apply plugin: 'net.minecraftforge.gradle'
|
||||||
@ -27,6 +27,8 @@ ext.buildNumber = System.getenv().BUILD_NUMBER ?: "Dev"
|
|||||||
minecraft {
|
minecraft {
|
||||||
mappings channel: 'official', version: '1.20.6'
|
mappings channel: 'official', version: '1.20.6'
|
||||||
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
|
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
|
||||||
|
reobf = false
|
||||||
|
copyIdeResources = true
|
||||||
runs {
|
runs {
|
||||||
server {
|
server {
|
||||||
workingDirectory project.file('run').canonicalPath
|
workingDirectory project.file('run').canonicalPath
|
||||||
@ -73,21 +75,4 @@ shadowJar.doLast {
|
|||||||
ant.checksum file: task.archivePath
|
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)
|
build.dependsOn(shadowJar)
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"text": "Dynmap resources"
|
"text": "Dynmap resources"
|
||||||
},
|
},
|
||||||
"pack_format": 32
|
"pack_format": 22
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user