11plugins {
2- id " com.github.mxenabled.coppuccino" version " 3.2.1 "
2+ id " com.github.mxenabled.coppuccino" version " 4.4.0 "
33 id " groovy"
44 id " java"
55 id " maven-publish"
66 id " java-gradle-plugin"
7- id " org.jetbrains.kotlin.jvm" version " 1.6.10 "
7+ id " org.jetbrains.kotlin.jvm" version " 2.1.0 "
88}
99
1010group " com.mx.vogue"
11- version " 1 .0.3 " // x-release-please-version
11+ version " 2 .0.0-SNAPSHOT " // x-release-please-version
1212sourceCompatibility = 1.8
1313
1414repositories {
@@ -19,22 +19,17 @@ repositories {
1919}
2020
2121dependencies {
22- implementation " org.apache.bcel:bcel:[6.6 .0,7.0[" // Security update
23- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk8"
22+ implementation " org.apache.bcel:bcel:[6.11 .0,7.0[" // Security update
23+ implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.0 "
2424 implementation " com.google.code.gson:gson:[2.0,3.0["
25- implementation " com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.3"
26- implementation " com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin:0.42.0"
27- implementation " com.github.spotbugs:spotbugs-annotations:4.7.2" // For annotating classes and methods to suppress SpotBugs violations
25+ // FIXME this is pulling in snakeyaml 2.0, which is breaking higher libraries because we are not ready for it
26+ // upgrade to 2.15.0 after snakeyaml2
27+ implementation " com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.3"
28+ implementation " com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin:0.53.0"
29+ implementation " com.github.spotbugs:spotbugs-annotations:4.9.8" // For annotating classes and methods to suppress SpotBugs violations
2830
29- constraints {
30- implementation (" com.thoughtworks.xstream:xstream:1.4.19" ) { because " It resolves a bajillion CVEs" }
31- }
32-
33- // Unit tests
34- testRuntimeOnly " org.junit.jupiter:junit-jupiter-engine:[5.8.0,5.9.0["
35- testImplementation " org.junit.jupiter:junit-jupiter-api:[5.8.0,5.9.0["
36- testImplementation " org.mockito:mockito-inline:[4.0,5.0["
37- testImplementation " org.spockframework:spock-core:2.2-M1-groovy-3.0"
31+ api " org.mockito:mockito-inline:[4.0,5.0["
32+ api " org.spockframework:spock-core:2.4-M6-groovy-3.0"
3833}
3934
4035gradlePlugin {
@@ -53,30 +48,36 @@ gradlePlugin {
5348compileKotlin {
5449 kotlinOptions {
5550 jvmTarget = " 1.8"
56- } }
51+ }
52+ }
5753
5854compileTestKotlin {
5955 kotlinOptions {
6056 jvmTarget = " 1.8"
61- } }
57+ }
58+ }
6259
6360coppuccino {
6461 kotlin { enabled = true }
6562 coverage {
66- minimumCoverage = 0.70
63+ minimumCoverage = 0.73
6764 excludes = [
6865 " com/mx/vogue/core/models/**"
6966 ]
7067 }
7168}
7269
7370sourceSets {
74- test { groovy { srcDirs " src/test/groovy" } }
71+ test {
72+ groovy {
73+ srcDirs " src/test/groovy"
74+ }
75+ }
7576}
7677
7778test { useJUnitPlatform() }
7879
7980wrapper {
80- gradleVersion = " 7.4.1 "
81+ gradleVersion = " 7.6.3 "
8182 distributionType = Wrapper.DistributionType . ALL
8283}
0 commit comments