Skip to content

Commit

Permalink
Update build.gradle.kts (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
Im-Fran authored Feb 15, 2023
1 parent 72b0c07 commit 2a394e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ val env = project.rootProject.file(".env").let { file ->
if(file.exists()) file.readLines().filter { it.isNotBlank() && !it.startsWith("#") && it.split("=").size == 2 }.associate { it.split("=")[0] to it.split("=")[1] } else emptyMap()
}.toMutableMap().apply { putAll(System.getenv()) }

val projectVersion = env["VERSION"] ?: "0.3.0-SNAPSHOT"
val projectVersion = env["VERSION"] ?: "0.3.1-SNAPSHOT"

group = "xyz.theprogramsrc"
version = projectVersion
Expand Down

0 comments on commit 2a394e5

Please sign in to comment.