Skip to content

Commit

Permalink
Try fixing doc publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Nov 22, 2023
1 parent 097f1a4 commit 0fbfac3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,12 @@ tasks.withType<KspTaskJvm>().configureEach { compilerOptions(kotlinCompilerOptio
tasks.withType<Detekt>().configureEach { jvmTarget = tomlJvmTarget }

tasks.named<DokkaTask>("dokkaHtml") {
outputDirectory.set(rootDir.resolve("docs/0.x"))
outputDirectory.set(layout.projectDirectory.dir("docs/1.x"))
dokkaSourceSets.configureEach {
if (name == "testFixtures") {
suppress.set(false)
}

skipDeprecated.set(true)
externalDocumentationLink {
url.set(URI("https://square.github.io/retrofit/2.x/retrofit/").toURL())
Expand Down

0 comments on commit 0fbfac3

Please sign in to comment.