From 83fcf0c269e0758c48c9e44bc6506c68d4fb41ca Mon Sep 17 00:00:00 2001 From: stefankoppier Date: Sat, 15 Jun 2024 14:14:32 +0200 Subject: [PATCH] Gradle changes --- gradle-plugin/build.gradle.kts | 9 ++++----- gradle/libs.versions.toml | 5 +---- 2 files changed, 5 insertions(+), 9 deletions(-) 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