refactor build.gradle.kts
This commit is contained in:
@@ -1,23 +1,19 @@
|
|||||||
group = "com.infendro"
|
group = "com.infendro"
|
||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
|
|
||||||
repositories {
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.kotlin)
|
alias(libs.plugins.kotlin)
|
||||||
id("java-gradle-plugin")
|
id("java-gradle-plugin")
|
||||||
id("maven-publish")
|
id("maven-publish")
|
||||||
}
|
}
|
||||||
|
|
||||||
gradlePlugin {
|
repositories {
|
||||||
plugins {
|
mavenCentral()
|
||||||
create("secret").apply {
|
}
|
||||||
id = "com.infendro.plugin"
|
|
||||||
implementationClass = "com.infendro.plugin.InfendroPlugin"
|
gradlePlugin.plugins.create("infendro").apply {
|
||||||
}
|
id = "com.infendro.plugin"
|
||||||
}
|
implementationClass = "com.infendro.plugin.InfendroPlugin"
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|||||||
Reference in New Issue
Block a user