File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id ' java'
3
3
id ' idea' // optional (to generate IntelliJ IDEA project files)
4
- id ' eclipse' // optional (to generate Eclipse project files)
4
+ id ' eclipse' // optional (to generate Eclipse project files)
5
5
id ' jacoco'
6
6
id " org.sonarqube" version " 2.7"
7
7
}
@@ -26,6 +26,7 @@ dependencies {
26
26
}
27
27
28
28
test {
29
+
29
30
useJUnitPlatform()
30
31
31
32
jacoco {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ sonar.projectKey=macedoj_java-new-features
2
2
sonar.organization =macedoj-github
3
3
sonar.host.url =https://sonarcloud.io
4
4
sonar.projectName =java-new-features
5
- sonar.projectVersion =1.2 -SNAPSHOT
5
+ sonar.projectVersion =1.3 -SNAPSHOT
6
6
7
7
# =====================================================
8
8
# Meta-data for the project
@@ -20,8 +20,9 @@ sonar.links.issue=https://github.com/macedoj/java-new-features/issues
20
20
21
21
# SonarCloud standard properties
22
22
sonar.sources =src
23
+ sonar.sourceEncoding ="UTF-8"
24
+ sonar.java.libraries =${sourceSets.main.compileClasspath}
23
25
sonar.java.binaries =build/classes
24
- sonar.dynamicAnalysis =reuseReports
25
- sonar.junit.reportsPath =build/reports
26
+ sonar.junit.reportPaths =${test.testResultsDir}
26
27
sonar.java.coveragePlugin =jacoco
27
- sonar.jacoco.reportPath = build/ jacoco/classpathdumps/jacocoTest.exec
28
+ sonar.jacoco.reportPaths = ${ jacoco.destinationFile}
You can’t perform that action at this time.
0 commit comments