diff --git a/build.gradle b/build.gradle index 6a0f593..75e996c 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ plugins { alias libs.plugins.loom.vineflower alias libs.plugins.modrinth.minotaur alias libs.plugins.grgit - id "net.kyori.indra.git" version "3.1.1" + alias libs.plugins.indra.git } archivesBaseName = project.archives_base_name @@ -109,7 +109,7 @@ publishing { } } -static def getBranch() { +def getBranch() { def ENV = System.getenv() if (ENV.GITHUB_REF) { def branch = ENV.GITHUB_REF diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index dd90644..6d19024 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -15,6 +15,7 @@ quilt_loom = "1.0.+" loom_vineflower = "1.11.0" grgit = '5.0.0' modrinth_minotaur = "2.+" +indra_git = "3.1.1" [libraries] minecraft = { module = "com.mojang:minecraft", version.ref = "minecraft" } @@ -38,3 +39,4 @@ quilt_loom = { id = "org.quiltmc.loom", version.ref = "quilt_loom" } loom_vineflower = { id = "io.github.juuxel.loom-vineflower", version.ref = "loom_vineflower"} grgit = { id = "org.ajoberstar.grgit", version.ref = "grgit" } modrinth_minotaur = { id = 'com.modrinth.minotaur', version.ref = "modrinth_minotaur" } +indra_git = { id = "net.kyori.indra.git", version.ref = "indra_git"}