diff --git a/build.gradle b/build.gradle index b5705e50d..557991d77 100644 --- a/build.gradle +++ b/build.gradle @@ -109,16 +109,10 @@ check { } test { + useJUnitPlatform() finalizedBy jacocoTestReport } -sonar { - properties { - property "sonar.projectKey", "hyperledger:iroha-java" - property "sonar.host.url", "https://sonar.soramitsu.co.jp" - } -} - jacocoTestReport { dependsOn test reports { @@ -127,3 +121,10 @@ jacocoTestReport { html.required = false } } + +sonar { + properties { + property "sonar.projectKey", "hyperledger:iroha-java" + property "sonar.host.url", "https://sonar.soramitsu.co.jp" + } +}