Skip to content

Commit

Permalink
buildscript changes
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Sep 6, 2024
1 parent 3d23e67 commit fde76a5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import java.util.zip.Deflater
plugins {
java
`maven-publish`
id("architectury-plugin") version "3.4-SNAPSHOT" apply false
id("architectury-plugin") version "3.4-SNAPSHOT"
id("dev.architectury.loom") version "1.6.+" apply false
id("me.modmuss50.mod-publish-plugin") version "0.3.4" apply false // https://github.com/modmuss50/mod-publish-plugin
id("com.github.johnrengelman.shadow") version "8.1.1" apply false
Expand All @@ -48,11 +48,6 @@ plugins {
}

println("Steam 'n' Rails v${"mod_version"()}")
apply(plugin = "architectury-plugin")

architectury {
minecraft = "minecraft_version"()
}

val isRelease = System.getenv("RELEASE_BUILD")?.toBoolean() ?: false
val buildNumber = System.getenv("GITHUB_RUN_NUMBER")?.toInt()
Expand All @@ -61,6 +56,10 @@ val gitHash = "\"${calculateGitHash() + (if (hasUnstaged()) "-modified" else "")

extra["gitHash"] = gitHash

architectury {
minecraft = "minecraft_version"()
}

allprojects {
apply(plugin = "java")
apply(plugin = "architectury-plugin")
Expand Down

0 comments on commit fde76a5

Please sign in to comment.