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
2
2
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
java
3
- `jvm- test- suite`
4
3
jacoco
5
4
`jacoco- report- aggregation`
6
- id(" org.sonarqube" ) version " 4.0 .0.2929 "
5
+ id(" org.sonarqube" ) version " 4.2 .0.3129 "
7
6
}
8
7
9
- val springVersion = " 5.3.13"
10
- val springBootVersion = " 2.4.13"
11
-
12
8
val rootJacocoDir by extra(" ${rootProject.buildDir} /reports/jacoco/testCodeCoverageReport" )
13
9
val reportXmlFile by extra(" $rootJacocoDir /testCodeCoverageReport.xml" )
14
10
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ tasks.named<JavaCompile>("compileJava").configure {
20
20
testing {
21
21
suites {
22
22
named<JvmTestSuite >(" test" ).configure {
23
- useJUnitJupiter(versionCatalog.findVersion(" junit" ).orElseThrow().preferredVersion )
23
+ useJUnitJupiter(versionCatalog.findVersion(" junit" ).orElseThrow().toString() )
24
24
}
25
25
}
26
26
}
@@ -34,8 +34,8 @@ tasks.named<Jar>("jar").configure {
34
34
}
35
35
}
36
36
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()
39
39
40
40
val javadocLinks = arrayOf(
41
41
" https://docs.oracle.com/javase/8/docs/api/" ,
You can’t perform that action at this time.
0 commit comments