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