Update build.gradle.kts
This commit is contained in:
parent
77bea66099
commit
223487848e
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "io.github.adrianvic.itemeconomy"
|
group = "io.github.adrianvic.itemeconomy"
|
||||||
version = System.getenv("ITEMECO_VERSION_NAME") ?: "unknown"
|
version = providers.environmentVariable("ITEMECO_VERSION_NAME").orElse("unknown").get()
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
@ -77,7 +77,7 @@ mcVersions.forEach { ver ->
|
||||||
manifest {
|
manifest {
|
||||||
attributes(
|
attributes(
|
||||||
"itemeco-Impl-Version" to ver,
|
"itemeco-Impl-Version" to ver,
|
||||||
"itemeco-Environment" to (System.getenv("ITEMECO_BUILD_CHANNEL") ?: "dev")
|
"itemeco-Environment" to (providers.environmentVariable("ITEMECO_BUILD_CHANNEL").orElse("dev").get())
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue