Skip to content

Commit

Permalink
try suggestion 10
Browse files Browse the repository at this point in the history
Signed-off-by: BAStos525 <jungle.vas@yandex.ru>
  • Loading branch information
BAStos525 committed Oct 15, 2024
1 parent b0e095f commit 263b8b1
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ subprojects {
apply plugin: 'org.jetbrains.kotlin.jvm'
apply plugin: 'org.jmailen.kotlinter'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'jacoco'

publishing {
publications {
Expand Down Expand Up @@ -124,11 +123,9 @@ task testCoverage(type: JacocoReport) {

reports {
xml.required = true
html.required = true
}
}


test {
useJUnitPlatform()
dependsOn testCoverage
Expand All @@ -138,7 +135,6 @@ sonar {
properties {
property "sonar.projectKey", "hyperledger:iroha-java"
property "sonar.host.url", "https://sonar.katana.soramitsu.co.jp"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.projectName", "${project.group}:${rootProject.name}.${project.name}"
property "sonar.sources", "${project.projectDir}/src/main/java"
property "sonar.tests", "${project.projectDir}/src/test"
Expand All @@ -147,35 +143,3 @@ sonar {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.projectDir}/build/reports/testCoverage/*.xml"
}
}

tasks.named('testCoverage') {
dependsOn ":admin-client:processTestResources"
}

tasks.named('testCoverage') {
dependsOn ":block:compileTestKotlin"
}

tasks.named('testCoverage') {
dependsOn ":block:test"
}

tasks.named('testCoverage') {
dependsOn ":block:processTestResources"
}

tasks.named('testCoverage') {
dependsOn ":client:processTestResources"
}

tasks.named('testCoverage') {
dependsOn ":codegen:test"
}

tasks.named('testCoverage') {
dependsOn ":model:test"
}

tasks.named('testCoverage') {
dependsOn ":test-tools:processTestResources"
}

0 comments on commit 263b8b1

Please sign in to comment.