This repository has been archived on 2023-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
ScriptCraft/plugin/build.gradle.kts
TheBrokenRail 0e3b0cbc87
Some checks failed
ScriptCraft/pipeline/head There was a failure building this commit
Use Composite Builds
2020-05-31 13:25:16 -04:00

38 lines
685 B
Plaintext

repositories {
gradlePluginPortal()
jcenter()
}
plugins {
`kotlin-dsl`
`maven-publish`
}
group = "com.thebrokenrail"
base.archivesBaseName = "scriptcraft"
version = "1.0.0-SNAPSHOT"
gradlePlugin {
plugins {
register("scriptcraft-plugin") {
id = "${group}.${base.archivesBaseName}"
implementationClass = "ScriptCraftPlugin"
}
}
}
publishing {
project.afterEvaluate {
publications {
named<MavenPublication>("pluginMaven") {
artifactId = base.archivesBaseName
}
}
}
repositories {
maven {
url = uri("/data/maven")
}
}
}