Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
asoji committed Aug 9, 2023
2 parents 9e2d161 + 6791ecf commit 6e30120
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ plugins {
}

val archivesBaseName = "${project.property("archives_base_name").toString()}+mc${libs.versions.minecraft.get()}"
version = project.property("mod_version").toString()
group = project.property("maven_group").toString()
version = getVersion()
group = project.property("maven_group")!!

repositories {
maven { url = uri("https://api.modrinth.com/maven") }
Expand Down Expand Up @@ -95,7 +95,7 @@ publishing {
}

fun getVersion(): String {
val mod_version = "project.mod_version"
val mod_version = project.property("mod_version")
val build_id = System.getenv("GITHUB_RUN_NUMBER")

// CI builds only
Expand Down

0 comments on commit 6e30120

Please sign in to comment.