dependencies { compile 'org.slf4j:slf4j-api:1.7.25' testCompile 'io.github.microutils:kotlin-logging:1.5.4' testRuntime 'ch.qos.logback:logback-classic:1.2.3' testRuntime 'ch.qos.logback:logback-core:1.2.3' } tasks.withType(dokka.getClass()) { externalDocumentationLink { packageListUrl = projectDir.toPath().resolve("package.list").toUri().toURL() url = new URL("https://www.slf4j.org/apidocs/") } }