Skip to content

Commit

Permalink
Migrate to cthing-versioning plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
baron1405 committed May 31, 2024
1 parent 2852c3e commit 911d642
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
16 changes: 7 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,24 @@ repositories {
mavenCentral()
}

buildscript {
repositories {
mavenCentral()
}
}

plugins {
`java-library`
checkstyle
jacoco
`maven-publish`
signing
alias(libs.plugins.cthingVersioning)
alias(libs.plugins.dependencyAnalysis)
alias(libs.plugins.spotbugs)
alias(libs.plugins.versions)
}

buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath(libs.cthingProjectVersion)
}
}

version = ProjectVersion("3.0.1", BuildType.snapshot)
group = "org.cthing"
description = "A simple yet highly configurable XML writing library."
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ junit = "5.10.2"
spotbugs = "4.8.3"

[plugins]
cthingVersioning = { id = "org.cthing.cthing-versioning", version = "1.0.0" }
dependencyAnalysis = { id = "com.autonomousapps.dependency-analysis", version = "1.30.0" }
spotbugs = { id = "com.github.spotbugs", version = "6.0.7" }
versions = { id = "com.github.ben-manes.versions", version = "0.51.0" }
Expand All @@ -14,7 +15,6 @@ versions = { id = "com.github.ben-manes.versions", version = "0.51.0" }
apiGuardian = "org.apiguardian:apiguardian-api:1.1.2"
assertJ = "org.assertj:assertj-core:3.25.3"
cthingAnnots = "org.cthing:cthing-annotations:1.0.0"
cthingProjectVersion = "org.cthing:cthing-projectversion:1.0.0"
escapers = "org.cthing:escapers:1.0.0"
jsr305 = "com.google.code.findbugs:jsr305:3.0.2"
junitApi = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit" }
Expand Down

0 comments on commit 911d642

Please sign in to comment.