Skip to content

Commit

Permalink
update dokka to support new kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
davissuber committed Mar 21, 2024
1 parent dfb9036 commit c39a4ab
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
1 change: 0 additions & 1 deletion ast/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
plugins {
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.dokka'
id 'com.vanniktech.maven.publish'
}

Expand Down
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.dokka.gradle.DokkaTaskPartial

// https://github.com/gradle/gradle/issues/4848
gradle.startParameter.configureOnDemand = false

Expand Down Expand Up @@ -102,4 +104,11 @@ subprojects {
}
}
}

apply plugin: 'org.jetbrains.dokka'
tasks.withType(DokkaTaskPartial).configureEach {
outputDirectory.set(new File(buildDir, "docs/partial"))
moduleName.set(project.property("POM_ARTIFACT_ID").toString())
moduleVersion.set(project.property("VERSION_NAME").toString())
}
}
1 change: 0 additions & 1 deletion compiler/ast/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
plugins {
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.dokka'
id 'com.vanniktech.maven.publish'
}

Expand Down
1 change: 0 additions & 1 deletion compiler/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
plugins {
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.dokka'
id 'com.vanniktech.maven.publish'
}

Expand Down
1 change: 0 additions & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
plugins {
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.dokka'
id 'com.vanniktech.maven.publish'
}

Expand Down
1 change: 0 additions & 1 deletion errormessage/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
plugins {
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.dokka'
id 'com.vanniktech.maven.publish'
}

Expand Down
4 changes: 2 additions & 2 deletions gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def versions = [
kotlinpoet: '1.12.0',
room: '2.1.0',
roomCompilerProcessing: '2.6.0-alpha02',
dokka: '1.4.32',
dokka: '1.9.10',
"gradleIntellijPlugin": [
ide: '2023.2'
],
Expand All @@ -46,7 +46,7 @@ ext.deps = [
kotlin: "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}",
ksp: "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:${versions.ksp}",
dokka: "org.jetbrains.dokka:dokka-gradle-plugin:${versions.dokka}",
mavenPublish: 'com.vanniktech:gradle-maven-publish-plugin:0.18.0',
mavenPublish: 'com.vanniktech:gradle-maven-publish-plugin:0.27.0',
spotless: "com.diffplug.spotless:spotless-plugin-gradle:5.11.0",
shadow: "com.github.johnrengelman:shadow:8.1.0",
]
Expand Down
1 change: 0 additions & 1 deletion intellij/ast/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
plugins {
id "org.jetbrains.intellij" version "1.15.0"
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.dokka'
id 'com.vanniktech.maven.publish'
}

Expand Down
1 change: 0 additions & 1 deletion intellij/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
plugins {
id "org.jetbrains.intellij" version "1.15.0"
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.dokka'
id 'com.vanniktech.maven.publish'
}

Expand Down
1 change: 0 additions & 1 deletion models/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
plugins {
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.dokka'
id 'com.vanniktech.maven.publish'
}

Expand Down
1 change: 0 additions & 1 deletion viewmodel/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
plugins {
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.dokka'
id 'com.vanniktech.maven.publish'
}

Expand Down

0 comments on commit c39a4ab

Please sign in to comment.