Skip to content

Commit

Permalink
Migrate plugins to version catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
ciscoo committed Jul 11, 2024
1 parent 749b040 commit db5fbc8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions documentation/documentation.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import org.gradle.util.GradleVersion

plugins {
`java-library-conventions`
id("com.diffplug.spotless")
id("org.asciidoctor.jvm.convert")
id("org.ajoberstar.git-publish")
alias(libs.plugins.spotless)
alias(libs.plugins.asciidoctorJvmConvert)
alias(libs.plugins.gitPublish)
}

description = "CXF Codegen documentation"
Expand Down
5 changes: 5 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ javapoet = { module = "com.squareup:javapoet", version = "1.13.0" }
gradle-spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version = "6.25.0" }
gradle-nexusPublish = { module = "io.github.gradle-nexus:publish-plugin", version = "2.0.0" }
slf4jNop = { module = "org.slf4j:slf4j-nop", version.ref = "slf4j" } # Unused; exists to allow automatic updates.

[plugins]
gitPublish = { id = "org.ajoberstar.git-publish", version = "4.2.1" }
asciidoctorJvmConvert = { id = "org.asciidoctor.jvm.convert", version = "4.0.2" }
spotless = { id = "com.diffplug.spotless" }
4 changes: 0 additions & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ pluginManagement {
mavenCentral()
gradlePluginPortal()
}
plugins {
id("org.asciidoctor.jvm.convert") version "4.0.2"
id("org.ajoberstar.git-publish") version "4.2.1"
}
}

rootProject.name = "cxf-codegen-gradle"
Expand Down

0 comments on commit db5fbc8

Please sign in to comment.