aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Petrenko <eugene.petrenko@gmail.com>2018-09-11 18:24:54 +0300
committerEugene Petrenko <eugene.petrenko@gmail.com>2018-09-11 18:24:54 +0300
commit4a63b2dc455c4cdd0c1807994d7114de262f8ebc (patch)
tree32ef6d913ce4114937e4dca1076d196fef6789da
parentdd6bf837359125e531e2af916fa645dd257d2dbb (diff)
downloaddokka-4a63b2dc455c4cdd0c1807994d7114de262f8ebc.tar.gz
dokka-4a63b2dc455c4cdd0c1807994d7114de262f8ebc.tar.bz2
dokka-4a63b2dc455c4cdd0c1807994d7114de262f8ebc.zip
detect kotlinx.cli as gradle composite build
-rw-r--r--settings.gradle11
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(':')
+ }
+ }
+}
+