diff options
author | Eugene Petrenko <eugene.petrenko@gmail.com> | 2018-09-11 18:24:54 +0300 |
---|---|---|
committer | Eugene Petrenko <eugene.petrenko@gmail.com> | 2018-09-11 18:24:54 +0300 |
commit | 4a63b2dc455c4cdd0c1807994d7114de262f8ebc (patch) | |
tree | 32ef6d913ce4114937e4dca1076d196fef6789da /settings.gradle | |
parent | dd6bf837359125e531e2af916fa645dd257d2dbb (diff) | |
download | dokka-4a63b2dc455c4cdd0c1807994d7114de262f8ebc.tar.gz dokka-4a63b2dc455c4cdd0c1807994d7114de262f8ebc.tar.bz2 dokka-4a63b2dc455c4cdd0c1807994d7114de262f8ebc.zip |
detect kotlinx.cli as gradle composite build
Diffstat (limited to 'settings.gradle')
-rw-r--r-- | settings.gradle | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/settings.gradle b/settings.gradle index ef5f9869..8868ef1f 100644 --- a/settings.gradle +++ b/settings.gradle @@ -9,3 +9,14 @@ include 'core', 'runners:gradle-plugin', 'runners:android-gradle-plugin', 'runners:gradle-integration-tests' + + +if (new File(rootProject.projectDir, "../kotlinx-cli").isDirectory()) { + println "Using kotlinx-cli from source!" + includeBuild('../kotlinx-cli') { + dependencySubstitution { + substitute module("org.jetbrains.kotlinx:cli:0.1") with project(':') + } + } +} + |