mirror of
https://github.com/architectury/architectury-templates.git
synced 2026-03-28 03:57:00 -05:00
Fix various Gradle deprecations
This commit is contained in:
@@ -28,7 +28,10 @@ allprojects {
|
||||
apply plugin: "architectury-plugin"
|
||||
apply plugin: "maven-publish"
|
||||
|
||||
archivesBaseName = rootProject.archives_base_name
|
||||
base {
|
||||
archivesName = rootProject.archives_base_name
|
||||
}
|
||||
|
||||
version = rootProject.mod_version
|
||||
group = rootProject.maven_group
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ shadowJar {
|
||||
exclude "architectury.common.json"
|
||||
|
||||
configurations = [project.configurations.shadowCommon]
|
||||
classifier "dev-shadow"
|
||||
archiveClassifier = "dev-shadow"
|
||||
}
|
||||
|
||||
remapJar {
|
||||
|
||||
@@ -41,7 +41,7 @@ shadowJar {
|
||||
exclude "architectury.common.json"
|
||||
|
||||
configurations = [project.configurations.shadowCommon]
|
||||
classifier "dev-shadow"
|
||||
archiveClassifier = "dev-shadow"
|
||||
}
|
||||
|
||||
remapJar {
|
||||
|
||||
@@ -51,7 +51,7 @@ shadowJar {
|
||||
exclude "architectury.common.json"
|
||||
|
||||
configurations = [project.configurations.shadowCommon]
|
||||
classifier "dev-shadow"
|
||||
archiveClassifier = "dev-shadow"
|
||||
}
|
||||
|
||||
remapJar {
|
||||
|
||||
@@ -3,12 +3,17 @@ plugins {
|
||||
id "maven-publish"
|
||||
}
|
||||
|
||||
sourceCompatibility = targetCompatibility = JavaVersion.@JAVA_VERSION@
|
||||
base {
|
||||
archivesName = project.archives_base_name
|
||||
}
|
||||
|
||||
archivesBaseName = project.archives_base_name
|
||||
version = project.mod_version
|
||||
group = project.maven_group
|
||||
|
||||
java {
|
||||
sourceCompatibility = targetCompatibility = JavaVersion.@JAVA_VERSION@
|
||||
}
|
||||
|
||||
loom {
|
||||
// use this if you are using the official mojang mappings
|
||||
// and want loom to stop warning you about their license
|
||||
|
||||
Reference in New Issue
Block a user