aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorVsevolod Tolstopyatov <qwwdfsad@gmail.com>2018-05-03 20:07:54 +0300
committerRoman Elizarov <elizarov@gmail.com>2018-05-14 01:53:02 -0700
commit74bcc923bbd748a0b3b582d3c7b7c64780ba22d1 (patch)
treeb9917083628c3aa91b7eb3419d62dffd48478b8c /build.gradle
parenta518edc42fe2f8125305a2806ecb3ed43df35d01 (diff)
downloadkotlinx.coroutines-74bcc923bbd748a0b3b582d3c7b7c64780ba22d1.tar.gz
Introduce binary-compatibility-validator module
Update Kotlin to 1.2.41 (KT-23809) Copy and slightly change binary-compatibility validator from Kotlin repository
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle7
1 files changed, 6 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index ddc65a5d..7199e369 100644
--- a/build.gradle
+++ b/build.gradle
@@ -87,7 +87,7 @@ configure(subprojects.findAll { !sourceless.contains(it.name) }) {
// --------------- Configure sub-projects that are part of the library ---------------
-def internal = sourceless + ['benchmarks', 'knit', 'js-stub']
+def internal = sourceless + ['benchmarks', 'knit', 'js-stub', 'binary-compatibility-validator']
// configure atomicfu
configure(subprojects.findAll { !internal.contains(it.name) }) {
@@ -143,6 +143,11 @@ configure(subprojects.findAll { !unpublished.contains(it.name) }) {
if (platform == "jvm") {
dokkaJavadoc.dependsOn project(":$coroutines_core").dokka
+
+ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
+ kotlinOptions.freeCompilerArgs += ["-Xdump-declarations-to=${buildDir}/visibilities.json"]
+ }
+
}
}