修正推到Maven 丢失refmap问题
This commit is contained in:
parent
4344568628
commit
e8d4227abb
19
build.gradle
19
build.gradle
|
|
@ -184,27 +184,14 @@ tasks.withType(Javadoc).configureEach {
|
|||
failOnError = false
|
||||
}
|
||||
|
||||
tasks.register('deobfJar', Jar) {
|
||||
from(sourceSets.main.output)
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
manifest {
|
||||
attributes(["Specification-Title" : mod_id,
|
||||
"Specification-Vendor" : mod_authors,
|
||||
"Specification-Version" : "1",
|
||||
"Implementation-Title" : project.name,
|
||||
"Implementation-Version" : project.jar.archiveVersion,
|
||||
"Implementation-Vendor" : mod_authors,
|
||||
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
|
||||
"MixinConfigs" : "${mod_id}.mixins.json"
|
||||
])
|
||||
}
|
||||
dependsOn classes
|
||||
tasks.named('publish') {
|
||||
dependsOn build
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
artifact deobfJar
|
||||
artifact jar
|
||||
artifact javadocJar
|
||||
artifact sourcesJar
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ mapping_version=2023.09.03-1.20.1
|
|||
mod_id=animcore
|
||||
mod_name=AnimationCore
|
||||
mod_license=GPL 3.0
|
||||
mod_version=1.20.1-26H3
|
||||
mod_version=1.20.1-26H4
|
||||
mod_group_id=top.leisuiretimedock.animationcore
|
||||
mod_authors=LostInLinearPast, R3944Realms
|
||||
mod_description=A lib about player animator(modified by R3944Realms).
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
"minVersion": "0.8",
|
||||
"package": "top.leisuretimedock.animationcore.mixin",
|
||||
"compatibilityLevel": "JAVA_17",
|
||||
"refmap": "sccore.refmap.json",
|
||||
"refmap": "animcore.refmap.json",
|
||||
"priority": -255,
|
||||
"plugin": "top.leisuretimedock.animationcore.mixin.AnimCoreMixinPlugin",
|
||||
"mixins": [
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user