Files
kotlin-fork/kotlin-native/klib/build.gradle
T
Ilya Gorbunov d2aae67e03 Replace kotlin-test project dependencies in the project
Use dependency helper function that chooses whether to take them
from the bootstrap repository or from a configuration of kotlin-test

KT-61969
2023-12-13 15:40:25 +00:00

34 lines
868 B
Groovy

/*
* 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 {
kotlinOptions.freeCompilerArgs += ['-Xskip-prerelease-check']
}
repositories {
maven {
url project.bootstrapKotlinRepo
}
}
dependencies {
implementation project(":kotlin-stdlib")
implementation project(path: ':kotlin-native:backend.native', configuration: 'cli_bcApiElements')
implementation project(":kotlin-native:utilities:basic-utils")
testImplementation libs.junit4
testImplementation RepoDependencies.kotlinTest(project, "junit")
}
test {
dependsOn 'cleanTest'
// Specify a path to the distribution that is used in the tests.
}