20 lines
911 B
Kotlin
20 lines
911 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.publishing"
|
|
implementationClass = "org.taumc.gradle.publishing.PublishingPlugin"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":versioning"))
|
|
implementation("org.eclipse.jgit:org.eclipse.jgit:${"jgit_version"()}")
|
|
implementation("io.github.z4kn4fein:semver:${"semver_version"()}")
|
|
implementation("me.modmuss50.mod-publish-plugin:me.modmuss50.mod-publish-plugin.gradle.plugin:${"mod_publish_version"()}")
|
|
implementation("com.squareup.okhttp3:okhttp:${"okhttp_version"()}")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json-jvm:${"kotlinx_serialization_version"()}")
|
|
implementation("org.kohsuke:github-api:${"github_api_version"()}")
|
|
} |