diff --git a/gradle-plugin/build.gradle.kts b/gradle-plugin/build.gradle.kts index 843e40ba..ab61bd25 100644 --- a/gradle-plugin/build.gradle.kts +++ b/gradle-plugin/build.gradle.kts @@ -1,7 +1,6 @@ plugins { - alias(libs.plugins.kotlin.jvm) - id("java-gradle-plugin") - id("maven-publish") + alias(libs.plugins.kotlin.jvm) version embeddedKotlinVersion + alias(libs.plugins.gradle.plugin.publish) } dependencies { @@ -13,8 +12,8 @@ gradlePlugin { create("mappie") { id = "io.github.mappie" displayName = "Mappie Gradle Plugin" - description = "Kotlin compiler plugin for generating mapping functions" + description = "Kotlin compiler plugin for generating object mappers" implementationClass = "io.github.mappie.MappieGradlePlugin" } } -} +} \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 6f42bbe9..b4e7f80e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,14 +1,11 @@ [versions] kotlin = "2.0.0" -auto-service = "1.1.0" [libraries] kotlin-compiler-embeddable = { module = "org.jetbrains.kotlin:kotlin-compiler-embeddable", version.ref = "kotlin" } kotlin-gradle-plugin-api = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin-api", version.ref = "kotlin" } -auto-service-annotations = { module = "com.google.auto.service:auto-service-annotations", version.ref = "auto-service" } -auto-service = { module = "com.google.auto.service:auto-service", version.ref = "auto-service" } junit-jupiter-params = { module = "org.junit.jupiter:junit-jupiter-params", version = "5.1.0" } [plugins] kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } - +gradle-plugin-publish = { id = "com.gradle.plugin-publish", version = "1.2.1" } \ No newline at end of file