Skip to content

Commit

Permalink
Embed license
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed Nov 7, 2024
1 parent e3ec28d commit 7d8a150
Showing 1 changed file with 1 addition and 32 deletions.
33 changes: 1 addition & 32 deletions version.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -396,28 +384,9 @@ tasks.processResources {

tasks.jar {
archiveClassifier = "dev"
from("$rootDir/LICENSE")
}

//tasks.withType<RemapJarTask> {
// 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<MavenPublication>("maven") {
Expand Down

0 comments on commit 7d8a150

Please sign in to comment.