You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
501 B
16 lines
501 B
4 months ago
|
/*
|
||
|
* Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
|
||
|
*/
|
||
|
|
||
|
kotlin.sourceSets {
|
||
|
commonTest.dependencies {
|
||
|
api "org.jetbrains.kotlin:kotlin-test-common:$kotlin_version"
|
||
|
api "org.jetbrains.kotlin:kotlin-test-annotations-common:$kotlin_version"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
kotlin.sourceSets.matching({ it.name.contains("Main") }).all { srcSet ->
|
||
|
project.ext.set("kotlin.mpp.freeCompilerArgsForSourceSet.${srcSet.name}", "-Xexplicit-api=strict")
|
||
|
}
|