MORE UPDATES
Some checks failed
build / build (17) (push) Failing after 4m11s
build / upload-release (push) Has been skipped

This commit is contained in:
BitHeaven 2025-01-21 04:39:04 +05:00
parent a112b38b1c
commit 824a2cf0a3

View File

@ -1,11 +1,9 @@
plugins { 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 "io.github.p03w.machete" version "1.+" // automatic jar compressing on build
id 'maven-publish' id 'maven-publish'
} }
sourceCompatibility = JavaVersion.VERSION_17
base.archivesName = archives_base_name base.archivesName = archives_base_name
group = project.maven_group group = project.maven_group
@ -110,7 +108,7 @@ processResources {
tasks.withType(JavaCompile).configureEach { tasks.withType(JavaCompile).configureEach {
it.options.encoding = "UTF-8" it.options.encoding = "UTF-8"
it.options.release = Integer.parseInt(sourceCompatibility) it.options.release = 17
} }
java { java {
@ -122,20 +120,3 @@ jar {
rename { "${it}_${project.archivesBaseName}"} 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.
}
}