diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2019-06-17 12:51:35 +0200 |
---|---|---|
committer | Kamil Doległo <kamilok1965@interia.pl> | 2019-06-17 12:51:59 +0200 |
commit | 77cc7997ee93eef9b307984b49895220be355aea (patch) | |
tree | 08d48a90d773cc06c5dc3394dfbe8ef3fac84955 /runners/gradle-plugin/src/main/kotlin/org | |
parent | 5f063e60e0dd26027ef1afd487fa007396699f86 (diff) | |
download | dokka-77cc7997ee93eef9b307984b49895220be355aea.tar.gz dokka-77cc7997ee93eef9b307984b49895220be355aea.tar.bz2 dokka-77cc7997ee93eef9b307984b49895220be355aea.zip |
Change log message
Diffstat (limited to 'runners/gradle-plugin/src/main/kotlin/org')
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt | 5 |
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 { |