diff options
author | Vsevolod Tolstopyatov <qwwdfsad@gmail.com> | 2018-05-03 20:07:54 +0300 |
---|---|---|
committer | Roman Elizarov <elizarov@gmail.com> | 2018-05-14 01:53:02 -0700 |
commit | 74bcc923bbd748a0b3b582d3c7b7c64780ba22d1 (patch) | |
tree | b9917083628c3aa91b7eb3419d62dffd48478b8c /build.gradle | |
parent | a518edc42fe2f8125305a2806ecb3ed43df35d01 (diff) | |
download | kotlinx.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.gradle | 7 |
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"] + } + } } |