19 lines
523 B
Kotlin
19 lines
523 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.versioning"
|
|
implementationClass = "org.taumc.gradle.versioning.VersioningPlugin"
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.eclipse.jgit:org.eclipse.jgit:${"jgit_version"()}")
|
|
implementation("io.github.z4kn4fein:semver:${"semver_version"()}")
|
|
} |