Publish reobfJar
This commit is contained in:
@@ -33,6 +33,10 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
|
build {
|
||||||
|
dependsOn(reobfJar)
|
||||||
|
}
|
||||||
|
|
||||||
withType<JavaCompile> {
|
withType<JavaCompile> {
|
||||||
options.encoding = "UTF-8"
|
options.encoding = "UTF-8"
|
||||||
options.release.set(17)
|
options.release.set(17)
|
||||||
@@ -66,7 +70,7 @@ publishing {
|
|||||||
|
|
||||||
publications {
|
publications {
|
||||||
create<MavenPublication>(project.name) {
|
create<MavenPublication>(project.name) {
|
||||||
from(components["java"])
|
artifact(tasks.reobfJar)
|
||||||
|
|
||||||
this.groupId = project.group.toString()
|
this.groupId = project.group.toString()
|
||||||
this.artifactId = project.name.toLowerCase()
|
this.artifactId = project.name.toLowerCase()
|
||||||
|
Reference in New Issue
Block a user