d2c58cdd27
* Depend on kotlin-compiler project instead of its runtimeElements only * trove4j fixes: add as a dependency and use common version * Strip dependencies in different projects: remove unnecessary
26 lines
573 B
Kotlin
26 lines
573 B
Kotlin
/*
|
|
* Copyright 2010-2020 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.
|
|
*/
|
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
buildscript {
|
|
apply(from = "$rootDir/kotlin-native/gradle/kotlinGradlePlugin.gradle")
|
|
}
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
}
|
|
|
|
tasks.named<KotlinCompile>("compileKotlin") {
|
|
kotlinOptions {
|
|
freeCompilerArgs += listOf("-Xskip-metadata-version-check")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api(project(":kotlin-stdlib"))
|
|
implementation(project(":compiler:util"))
|
|
}
|