diff --git a/build.gradle.kts b/build.gradle.kts index de204f7..118dcee 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -15,6 +15,7 @@ plugins { id("architectury-plugin") version "[3.0.100, 3.2[" id("dev.architectury.loom") version "[0.7.1.104, 0.7.3[" apply false id("com.github.ben-manes.versions") version "0.38.0" + id("net.kyori.indra.git") version "2.0.4" id("com.modrinth.minotaur") version "1.2.1" } @@ -138,8 +139,10 @@ allprojects { exclude("META-INF/maven/**/*") archiveClassifier.set("shadow") } + apply(plugin = "net.kyori.indra.git") withType(Jar::class) { from("$rootDir/LICENSE.txt") + indraGit.applyVcsInformationToManifest(manifest) archiveBaseName.set("${rootProject.name}-${rootProject.version}") } withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class) {