Skip to content

Commit

Permalink
Gradle: Consistently use property access syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Nonnenmacher <martin.nonnenmacher@here.com>
  • Loading branch information
mnonnenmacher committed Oct 8, 2019
1 parent 6bbb1a7 commit 920ce20
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle.kts
Expand Up @@ -200,7 +200,7 @@ subprojects {

tasks.withType<Test>().configureEach {
extensions.configure(JacocoTaskExtension::class) {
setEnabled(enabled)
isEnabled = enabled
}

systemProperties = listOf("kotlintest.tags.include", "kotlintest.tags.exclude").associateWith {
Expand All @@ -209,7 +209,7 @@ subprojects {

testLogging {
events = setOf(TestLogEvent.STARTED, TestLogEvent.PASSED, TestLogEvent.SKIPPED, TestLogEvent.FAILED)
setExceptionFormat(TestExceptionFormat.FULL)
exceptionFormat = TestExceptionFormat.FULL
}

useJUnitPlatform()
Expand All @@ -219,7 +219,7 @@ subprojects {
tasks.named<JacocoReport>("jacocoTestReport") {
reports {
// Enable XML in addition to HTML for CI integration.
xml.setEnabled(true)
xml.isEnabled = true
}
}

Expand All @@ -232,7 +232,7 @@ subprojects {

reports {
// Enable XML in addition to HTML for CI integration.
xml.setEnabled(true)
xml.isEnabled = true
}
}

Expand Down Expand Up @@ -317,7 +317,7 @@ val checkCopyright by tasks.registering(Exec::class) {

commandLine = listOf("git", "grep", "-EL", "Copyright \\(C\\) .+", "*.kt",
":!analyzer/src/funTest/assets/projects/external")
setIgnoreExitValue(true)
isIgnoreExitValue = true
standardOutput = ByteArrayOutputStream()

doLast {
Expand Down

0 comments on commit 920ce20

Please sign in to comment.