From 7d8a15066bb3fa60c9ed76429613c07dcfaf3b42 Mon Sep 17 00:00:00 2001 From: Josiah Glosson Date: Thu, 7 Nov 2024 08:59:24 -0600 Subject: [PATCH] Embed license --- version.gradle.kts | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/version.gradle.kts b/version.gradle.kts index 3b46c95..9cbd2b4 100644 --- a/version.gradle.kts +++ b/version.gradle.kts @@ -124,18 +124,6 @@ repositories { println("loaderName: $loaderName") println("mcVersion: $mcVersion") -//val forgeJarJar: Configuration by configurations.creating { -// isTransitive = false -//} - -//val modCompileOnly: Configuration by configurations.creating { -// configurations.getByName("compileOnly").extendsFrom(this) -//} - -//val modRuntimeOnly: Configuration by configurations.creating { -// configurations.getByName("runtimeOnly").extendsFrom(this) -//} - dependencies { minecraft("com.mojang:minecraft:$mcVersionString") @Suppress("UnstableApiUsage") @@ -396,28 +384,9 @@ tasks.processResources { tasks.jar { archiveClassifier = "dev" + from("$rootDir/LICENSE") } -//tasks.withType { -// if (isForgeLike && !forgeJarJar.isEmpty) { -// forgeJarJar.files.forEach { from(zipTree(it)) } -// } -// manifest { -// when { -// isForge -> { -// attributes["MixinConfigs"] = "world-host.mixins.json" -// } -// isFabric -> { -// attributes["Fabric-Loom-Mixin-Remap-Type"] = "static" -// } -// } -// } -// from("$rootDir/LICENSE") -// mixinRemap { -// disableRefmap() -// } -//} - publishing { publications { create("maven") {