File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed
buildSrc/src/main/kotlin/com/mattbertolini/buildlogic Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 1- 1.8
1+ 17
22
Original file line number Diff line number Diff line change 11plugins {
22 java
3- `jvm- test- suite`
43 jacoco
54 `jacoco- report- aggregation`
6- id(" org.sonarqube" ) version " 4.0 .0.2929 "
5+ id(" org.sonarqube" ) version " 4.2 .0.3129 "
76}
87
9- val springVersion = " 5.3.13"
10- val springBootVersion = " 2.4.13"
11-
128val rootJacocoDir by extra(" ${rootProject.buildDir} /reports/jacoco/testCodeCoverageReport" )
139val reportXmlFile by extra(" $rootJacocoDir /testCodeCoverageReport.xml" )
1410
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ tasks.named<JavaCompile>("compileJava").configure {
2020testing {
2121 suites {
2222 named<JvmTestSuite >(" test" ).configure {
23- useJUnitJupiter(versionCatalog.findVersion(" junit" ).orElseThrow().preferredVersion )
23+ useJUnitJupiter(versionCatalog.findVersion(" junit" ).orElseThrow().toString() )
2424 }
2525 }
2626}
@@ -34,8 +34,8 @@ tasks.named<Jar>("jar").configure {
3434 }
3535}
3636
37- val springVersion: String = versionCatalog.findVersion(" spring" ).orElseThrow().preferredVersion
38- val springBootVersion: String = versionCatalog.findVersion(" springBoot" ).orElseThrow().preferredVersion
37+ val springVersion: String = versionCatalog.findVersion(" spring" ).orElseThrow().toString()
38+ val springBootVersion: String = versionCatalog.findVersion(" springBoot" ).orElseThrow().toString()
3939
4040val javadocLinks = arrayOf(
4141 " https://docs.oracle.com/javase/8/docs/api/" ,
You can’t perform that action at this time.
0 commit comments