From 1b4f3536d045333c8533fa5a4d3a6ccd99faac01 Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Tue, 18 Jul 2017 18:32:09 +0700 Subject: [PATCH] gradle-plugin: Mention several available options in GRADLE_PLUGIN.md --- GRADLE_PLUGIN.md | 4 ++++ .../kotlin/gradle/plugin/test/IncrementalSpecification.groovy | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/GRADLE_PLUGIN.md b/GRADLE_PLUGIN.md index a025ab845f0..d127982f10a 100644 --- a/GRADLE_PLUGIN.md +++ b/GRADLE_PLUGIN.md @@ -144,6 +144,10 @@ For this project the task graph will be the following: noStdLib() // Don't link with stdlib. enableOptimization() // Enable compiler optimizations. + enableAssertions() // Enable assertions in binaries generated. + enableDebug() // Enable debugging for binaries generated. + + manifest 'path/to/manifest.file' // A manifest addend file. // Arguments to be passed to a linker. linkerOpts 'Some linker opts' diff --git a/tools/kotlin-native-gradle-plugin/src/test/groovy/org/jetbrains/kotlin/gradle/plugin/test/IncrementalSpecification.groovy b/tools/kotlin-native-gradle-plugin/src/test/groovy/org/jetbrains/kotlin/gradle/plugin/test/IncrementalSpecification.groovy index 4eeb5aaf1e9..73e5547b250 100644 --- a/tools/kotlin-native-gradle-plugin/src/test/groovy/org/jetbrains/kotlin/gradle/plugin/test/IncrementalSpecification.groovy +++ b/tools/kotlin-native-gradle-plugin/src/test/groovy/org/jetbrains/kotlin/gradle/plugin/test/IncrementalSpecification.groovy @@ -294,7 +294,7 @@ class IncrementalSpecification extends Specification { recompilationAndInteropProcessingHappened(*results) } - @IgnoreIf(System.getProperty('os.name').contains('windows')) + @IgnoreIf({ System.getProperty('os.name').contains('windows') }) def 'target change should cause recompilation and interop reprocessing'() { when: def newTarget