diff --git a/build.gradle.kts b/build.gradle.kts index 00ceef9..40897d1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,8 +1,10 @@ +import org.jetbrains.kotlin.gradle.dsl.JvmTarget + plugins { kotlin("jvm") `java-gradle-plugin` `maven-publish` - id("com.gradle.plugin-publish") version "0.12.0" + id("com.gradle.plugin-publish") version "1.3.0" } @@ -23,7 +25,7 @@ val awsSdkVersion = project.extra["aws.sdk.version"] as String dependencies { compileOnly(kotlin("stdlib-jdk8")) - implementation("org.unbroken-dome.aws-codeartifact-maven-proxy:aws-codeartifact-maven-proxy:0.3.0") { + implementation("org.unbroken-dome.aws-codeartifact-maven-proxy:aws-codeartifact-maven-proxy:0.4.0") { exclude(group = "org.jetbrains.kotlin") } @@ -32,32 +34,23 @@ dependencies { tasks.withType { - kotlinOptions.jvmTarget = "11" -} - - -gradlePlugin { - - plugins { - create("codeArtifact") { - id = "org.unbroken-dome.aws.codeartifact" - implementationClass = "org.unbrokendome.gradle.plugins.aws.codeartifact.AwsCodeArtifactPlugin" - } + compilerOptions { + jvmTarget.set(JvmTarget.JVM_11) } } -pluginBundle { +gradlePlugin { val githubUrl = project.extra["github.url"] as String - website = githubUrl vcsUrl = githubUrl - description = "A Gradle plugin for using AWS CodeArtifact repositories" - tags = listOf("codeartifact") - - (plugins) { - "codeArtifact" { + plugins { + create("codeArtifact") { + description = "A Gradle plugin for using AWS CodeArtifact repositories" displayName = "AWS CodeArtifact plugin" + id = "org.unbroken-dome.aws.codeartifact" + implementationClass = "org.unbrokendome.gradle.plugins.aws.codeartifact.AwsCodeArtifactPlugin" + tags = listOf("codeartifact") } } } diff --git a/gradle.properties b/gradle.properties index 00a7163..34f3cbc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,8 +1,8 @@ group=org.unbroken-dome.gradle-plugins.aws.codeartifact -version=0.5.0 +version=0.6.0 kotlin.code.style=official -aws.sdk.version=2.16.34 +aws.sdk.version=2.28.17 github.url=https://github.com/unbroken-dome/gradle-aws-codeartifact-plugin diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 05679dc..1e2fbf0 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists