Support snapshots in the mcBase variable
This commit is contained in:
parent
0bae4655f9
commit
31d96c4dbb
@ -89,7 +89,10 @@ subprojects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
val kotlinVer = rootProject.property("kotlin_stdlib_version").toString() + ".0"
|
val kotlinVer = rootProject.property("kotlin_stdlib_version").toString() + ".0"
|
||||||
val mcBase: String = rootProject.architectury.minecraft.dropLast(2)
|
val mcBase: String = rootProject.architectury.minecraft.let {
|
||||||
|
if (it.startsWith("1.")) it.dropLast(2) else it
|
||||||
|
}
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
/** configurations.all {
|
/** configurations.all {
|
||||||
resolutionStrategy {
|
resolutionStrategy {
|
||||||
|
Loading…
Reference in New Issue
Block a user