aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin/src/main/kotlin
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-06-17 12:51:35 +0200
committerKamil Doległo <kamilok1965@interia.pl>2019-06-17 12:51:59 +0200
commit77cc7997ee93eef9b307984b49895220be355aea (patch)
tree08d48a90d773cc06c5dc3394dfbe8ef3fac84955 /runners/gradle-plugin/src/main/kotlin
parent5f063e60e0dd26027ef1afd487fa007396699f86 (diff)
downloaddokka-77cc7997ee93eef9b307984b49895220be355aea.tar.gz
dokka-77cc7997ee93eef9b307984b49895220be355aea.tar.bz2
dokka-77cc7997ee93eef9b307984b49895220be355aea.zip
Change log message
Diffstat (limited to 'runners/gradle-plugin/src/main/kotlin')
-rw-r--r--runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt5
1 files changed, 3 insertions, 2 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt
index 0d191d9a..7d8fd309 100644
--- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt
+++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt
@@ -206,8 +206,9 @@ open class DokkaTask : DefaultTask() {
subProjects.toProjects().fold(baseConfig, { list, project ->
listOf(mergeUserConfigurationAndPlatformData(list.first(), ConfigurationExtractor.extractFromSinglePlatform(project)!!))
})
- } catch(e: NoClassDefFoundError) {
- logger.warn("Cannot extract sources from subProjects. Please update Kotlin plugin to version 1.3.30+")
+ } catch(e: NullPointerException) {
+ logger.warn("Cannot extract sources from subProjects. Do you have the Kotlin plugin in version 1.3.30+ " +
+ "and the Kotlin plugin applied in the root project?")
baseConfig
}
} else {