[K/N] Convert :kotlin-native:utilities:cli-runner buildscript to kts
Use folder structure from the rest of the project and build it by the bootstrap compiler.
This commit is contained in:
committed by
Space Team
parent
e8ba534904
commit
ec8bc6a64f
@@ -1,24 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
|
||||||
* that can be found in the LICENSE file.
|
|
||||||
*/
|
|
||||||
buildscript {
|
|
||||||
apply from: "$rootDir/kotlin-native/gradle/kotlinGradlePlugin.gradle"
|
|
||||||
}
|
|
||||||
|
|
||||||
apply plugin: 'kotlin'
|
|
||||||
|
|
||||||
compileKotlin {
|
|
||||||
compilerOptions.freeCompilerArgs.add('-Xskip-metadata-version-check')
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
implementation project(":kotlin-stdlib")
|
|
||||||
implementation project(':kotlin-native:backend.native')
|
|
||||||
implementation project(":compiler:cli-common")
|
|
||||||
implementation project(':kotlin-native:Interop:StubGenerator')
|
|
||||||
implementation project(':kotlin-native:klib')
|
|
||||||
implementation project(path: ":kotlin-native:endorsedLibraries:kotlinx.cli", configuration: "jvmRuntimeElements")
|
|
||||||
implementation project(":native:kotlin-native-utils")
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
plugins {
|
||||||
|
kotlin("jvm")
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation(kotlinStdlib())
|
||||||
|
implementation(project(":kotlin-native:backend.native"))
|
||||||
|
implementation(project(":compiler:cli-common"))
|
||||||
|
implementation(project(":kotlin-native:Interop:StubGenerator"))
|
||||||
|
implementation(project(":kotlin-native:klib"))
|
||||||
|
implementation(project(":kotlin-native:endorsedLibraries:kotlinx.cli", configuration = "jvmRuntimeElements"))
|
||||||
|
implementation(project(":native:kotlin-native-utils"))
|
||||||
|
}
|
||||||
|
|
||||||
|
sourceSets {
|
||||||
|
"main" { projectDefault() }
|
||||||
|
"test" { none() }
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user