diff --git a/build.gradle.kts b/build.gradle.kts index e6fdbae..551f624 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -34,7 +34,6 @@ apply(plugin = "net.minecraftforge.gradle") // Config -> Minecraft val forgeVersion: String by extra val minecraftVersion: String by extra -val kffVersion: String by extra @Suppress("PropertyName") val VERSION_NAME: String by extra @@ -74,7 +73,7 @@ configure { property("forge.logging.console.level", "debug") mods(closureOf> { - create("loottables") { + create(POM_ARTIFACT_ID) { source(sourceSets["main"]) } }) @@ -92,7 +91,7 @@ configure { property("forge.logging.console.level", "debug") mods(closureOf> { - create("loottables") { + create(POM_ARTIFACT_ID) { source(sourceSets["main"]) } }) @@ -112,7 +111,7 @@ configure { // Specify the mod id for data generation, where to output the resulting resource, and where to look for existing resources. args( "--mod", - "loottables", + POM_ARTIFACT_ID, "--all", "--output", file("src/generated/resources/"), @@ -121,7 +120,7 @@ configure { ) mods(closureOf> { - create("loottables") { + create(POM_ARTIFACT_ID) { source(sourceSets["main"]) } }) @@ -176,9 +175,6 @@ tasks.named("jar") { "FMLModType" to "LIBRARY" ) } - - @Suppress("SpellCheckingInspection") - finalizedBy("reobfJar") } // Publishing to maven central diff --git a/gradle.properties b/gradle.properties index 4176ca5..9919b8c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,12 +3,11 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false # Versions minecraftVersion=1.16.5 -forgeVersion=36.1.16 -kffVersion=1.12.0 +forgeVersion=36.1.25 # Maven publishing GROUP=com.theonlytails POM_ARTIFACT_ID=loottables -VERSION_NAME=0.2.12 +VERSION_NAME=0.2.13 POM_NAME=LootTables POM_DESCRIPTION=A Kotlin DSL for creating loot tables in Minecraft Forge mods. POM_INCEPTION_YEAR=2021