Gradle inline option support
This commit is contained in:
+1
@@ -114,6 +114,7 @@ public open class KotlinCompile(): AbstractCompile() {
|
|||||||
|
|
||||||
args.noStdlib = true
|
args.noStdlib = true
|
||||||
args.noJdkAnnotations = true
|
args.noJdkAnnotations = true
|
||||||
|
args.enableInline = kotlinOptions.enableInline
|
||||||
|
|
||||||
val messageCollector = GradleMessageCollector(logger)
|
val messageCollector = GradleMessageCollector(logger)
|
||||||
val exitCode = compiler.exec(messageCollector, args)
|
val exitCode = compiler.exec(messageCollector, args)
|
||||||
|
|||||||
+1
@@ -45,6 +45,7 @@ task show << {
|
|||||||
|
|
||||||
compileKotlin {
|
compileKotlin {
|
||||||
kotlinOptions.annotations = "externalAnnotations"
|
kotlinOptions.annotations = "externalAnnotations"
|
||||||
|
kotlinOptions.enableInline = "off";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user