18 lines
414 B
Kotlin
18 lines
414 B
Kotlin
operator fun String.invoke(): String = rootProject.properties[this] as? String ?: error("Property $this not found")
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
create("thePlugin") {
|
|
id = "org.taumc.gradle.unsafe"
|
|
implementationClass = "org.taumc.gradle.unsafe.UnsafePlugin"
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven("https://maven.taumc.org/releases")
|
|
}
|
|
|
|
dependencies {
|
|
implementation("dev.nolij:libnolij:${"libnolij_version"()}")
|
|
} |