MORE UPDATES
This commit is contained in:
parent
a112b38b1c
commit
824a2cf0a3
23
build.gradle
23
build.gradle
@ -1,11 +1,9 @@
|
||||
plugins {
|
||||
id "fabric-loom" version "1.9-SNAPSHOT"
|
||||
id "fabric-loom" version "1.8+"
|
||||
id "io.github.p03w.machete" version "1.+" // automatic jar compressing on build
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
|
||||
base.archivesName = archives_base_name
|
||||
group = project.maven_group
|
||||
|
||||
@ -110,7 +108,7 @@ processResources {
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
it.options.encoding = "UTF-8"
|
||||
it.options.release = Integer.parseInt(sourceCompatibility)
|
||||
it.options.release = 17
|
||||
}
|
||||
|
||||
java {
|
||||
@ -122,20 +120,3 @@ jar {
|
||||
rename { "${it}_${project.archivesBaseName}"}
|
||||
}
|
||||
}
|
||||
|
||||
// configure the maven publication
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
from components.java
|
||||
}
|
||||
}
|
||||
|
||||
// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
|
||||
repositories {
|
||||
// Add repositories to publish to here.
|
||||
// Notice: This block does NOT have the same function as the block in the top level.
|
||||
// The repositories here will be used for publishing your artifact, not for
|
||||
// retrieving dependencies.
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user