Update build.gradle
This commit is contained in:
parent
07f069965b
commit
1088de7128
20
build.gradle
20
build.gradle
@ -104,13 +104,16 @@ java{
|
|||||||
|
|
||||||
jar {
|
jar {
|
||||||
manifest {
|
manifest {
|
||||||
attributes(["Specification-Title" : mod_id,
|
attributes([
|
||||||
|
"Specification-Title" : mod_id,
|
||||||
"Specification-Vendor" : mod_authors,
|
"Specification-Vendor" : mod_authors,
|
||||||
"Specification-Version" : "1",
|
"Specification-Version" : "1",
|
||||||
"Implementation-Title" : project.name,
|
"Implementation-Title" : project.name,
|
||||||
"Implementation-Version" : project.jar.archiveVersion,
|
"Implementation-Version" : project.jar.archiveVersion,
|
||||||
"Implementation-Vendor" : mod_authors,
|
"Implementation-Vendor" : mod_authors,
|
||||||
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")])
|
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
|
||||||
|
"MixinConfigs" : "${mod_id}.mixins.json"
|
||||||
|
])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -120,11 +123,18 @@ jar.finalizedBy('reobfJar')
|
|||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
mavenJava(MavenPublication) {
|
register('mavenJava', MavenPublication) {
|
||||||
artifact jar
|
from components.java
|
||||||
|
groupId = mod_group_id
|
||||||
|
artifactId = mod_id
|
||||||
|
}
|
||||||
|
}
|
||||||
|
repositories {
|
||||||
|
maven {
|
||||||
|
name = "Disk"
|
||||||
|
url = uri("D:/git/maven-repository-raw")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
repositories {}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user