https://kotlinlang.org logo
#dokka
Title
s

shelbycohen

09/11/2020, 6:41 PM
Hi, I am trying to update from 0.10.0 to 1.4.0 and I am following the migration guide for gradle here: https://github.com/Kotlin/dokka/blob/master/runners/gradle-plugin/MIGRATION.md but for some reason I can’t get it to include my README.md on the main docs page like it used to. my dokka task looks like this:
Copy code
apply plugin: 'org.jetbrains.dokka'

dokkaHtml.configure {
    outputDirectory = new File("$rootDir/docs")

    dokkaSourceSets {
        configureEach {
            includes.setFrom(files("$rootDir/README.md"))

            jdkVersion.set(8)
            noStdlibLink.set(false)
            noJdkLink.set(false)
            reportUndocumented.set(true)
            skipEmptyPackages.set(true)
        }
    }
}
I have tried a lot of different paths to README.md and can’t seem to figure it out. Any suggestions?