robstoll
08/30/2019, 8:18 AMUnresolved link to kotlin.text.isEmpty in doc comment
how can kotlin.text not be available?Kamil Doległo
08/30/2019, 8:43 AMrobstoll
08/30/2019, 8:44 AMKamil Doległo
08/30/2019, 8:45 AMclasspath
which is used as classpath when generating documentation 😉robstoll
08/30/2019, 8:47 AMkotlinTasks
?Kamil Doległo
08/30/2019, 9:00 AMrobstoll
08/30/2019, 12:11 PMKamil Doległo
09/01/2019, 12:45 AMjdkVersion
?Kamil Doległo
09/02/2019, 4:09 PMjdkVersion
I meant a configuration option in dokka called so. Optional was introduced in JDK8 and Path in JDK7 IIRC, dokka uses JDK6 as a defaultrobstoll
09/02/2019, 4:12 PMrobstoll
09/02/2019, 6:04 PMjdkVersion = 8
Kamil Doległo
09/02/2019, 6:15 PMrobstoll
09/02/2019, 6:22 PMKamil Doległo
09/02/2019, 8:45 PMkotlin.targets.flatMap { it.compilations.getByName("main").compileDependencyFiles.files.map { file -> file.path } }
(or equivalent for Groovy), but this probably won’t work, because Gradle will complain about the lifecycle and dependency resolution.
On the upside though, I see your problem with the dokka configuration for this Gradle project structure, I’ll try to introduce some options in the next release to make this kind of stuff easier to configure
Sidenote: you can probably change all the (docProjects - (docProjects - getAndroidProjects()))
to just getAndroidProjects()
😉robstoll
09/03/2019, 8:20 PMrootProject.configure(docProjects) { subProject ->
subProject.afterEvaluate {
classpath += subProject.sourceSets.main.runtimeClasspath.filter { it.path.endsWith("jar") }
}
}
But still not luck as the java jar is obviously not in the classpath of the project
Btw. thanks for the side note but the reduction would be wrong as not all get...Projects() are necessarily part of the docProjects - but thanks anywayrobstoll
09/03/2019, 8:25 PMrobstoll
09/03/2019, 8:28 PMrootProject.configure(docProjects) { subProject ->
subProject.afterEvaluate {
classpath += kotlin.target.compilations.getByName("main").compileDependencyFiles.files.collect { file -> file }
}
}
robstoll
09/03/2019, 8:31 PMKamil Doległo
09/04/2019, 7:31 PMrobstoll
09/04/2019, 7:31 PMKamil Doległo
09/05/2019, 1:53 PMrobstoll
09/06/2019, 2:36 PM#
Would you mind creating a PR or showing the full gh-pages.gradle?Kamil Doległo
09/06/2019, 7:23 PMrobstoll
09/08/2019, 8:19 PMKamil Doległo
09/09/2019, 10:32 AMisNumericallyEqualTo
pages, eg. this: (although I don’t know why the declaration is duplicated there)Kamil Doległo
09/09/2019, 10:33 AMrobstoll
09/09/2019, 2:22 PMKamil Doległo
09/09/2019, 2:35 PMKamil Doległo
09/09/2019, 2:36 PMrobstoll
09/09/2019, 5:27 PMKamil Doległo
09/09/2019, 5:31 PMrobstoll
09/09/2019, 5:35 PMKamil Doległo
09/09/2019, 5:45 PM