Ant task: do not include runtime by default if destination is a jar

This commit is contained in:
scaventz
2021-01-14 00:04:48 +08:00
committed by Alexander Udalov
parent b0b7f39c75
commit a13eb4c8e6
6 changed files with 78 additions and 2 deletions
@@ -26,7 +26,7 @@ import java.io.File.separator
class Kotlin2JvmTask : KotlinCompilerBaseTask() {
override val compilerFqName = "org.jetbrains.kotlin.cli.jvm.K2JVMCompiler"
var includeRuntime: Boolean = true
var includeRuntime: Boolean = false
var moduleName: String? = null
var noReflect: Boolean = false