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 mcBase: String = rootProject.architectury.minecraft.dropLast(2)
|
||||
val mcBase: String = rootProject.architectury.minecraft.let {
|
||||
if (it.startsWith("1.")) it.dropLast(2) else it
|
||||
}
|
||||
|
||||
allprojects {
|
||||
/** configurations.all {
|
||||
resolutionStrategy {
|
||||
|
Loading…
Reference in New Issue
Block a user