Skip to content

Commit

Permalink
Re-enable dokka
Browse files Browse the repository at this point in the history
  • Loading branch information
lealobanov committed Oct 13, 2024
1 parent feb8b85 commit e7933b5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ subprojects {

dependencies {
"api"("org.jetbrains.kotlin:kotlin-reflect:2.0.21")
// "dokkaHtmlPlugin"("org.jetbrains.dokka:kotlin-as-java-plugin:2.0.0-Beta")
//dokkaHtmlPlugin"("org.jetbrains.dokka:kotlin-as-java-plugin:2.0.0-Beta")
}

tasks.named<KotlinCompile>("compileTestKotlin") {
Expand Down
2 changes: 1 addition & 1 deletion common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dependencies {
testFixturesImplementation(project(":sdk"))
testFixturesImplementation("org.junit.jupiter:junit-jupiter:5.11.2")
testFixturesImplementation("org.mockito:mockito-core:5.14.1")
testFixturesImplementation("org.mockito:mockito-inline:5.14.1")
testFixturesImplementation("org.mockito:mockito-inline:5.2.0")

intTestImplementation("org.junit.jupiter:junit-jupiter:5.11.2")
intTestImplementation("org.assertj:assertj-core:3.26.3")
Expand Down
16 changes: 8 additions & 8 deletions sdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sourceSets {

dependencies {
api("org.jetbrains.kotlin:kotlin-reflect:2.0.21")
// dokkaHtmlPlugin("org.jetbrains.dokka:kotlin-as-java-plugin:2.0.0-Beta")
dokkaHtmlPlugin("org.jetbrains.dokka:kotlin-as-java-plugin:2.0.0-Beta")

api("org.onflow:flow:1.0.0")
api("com.github.TrustedDataFramework:java-rlp:1.1.20")
Expand All @@ -50,7 +50,7 @@ dependencies {

testFixturesImplementation("org.junit.jupiter:junit-jupiter:5.11.2")
testFixturesImplementation("org.mockito:mockito-core:5.14.1")
testFixturesImplementation("org.mockito:mockito-inline:5.14.1")
testFixturesImplementation("org.mockito:mockito-inline:5.2.0")

testImplementation(testFixtures(project(":common")))
testImplementation(project(":common"))
Expand Down Expand Up @@ -121,11 +121,11 @@ tasks {
reporters = arrayOf("checkstyle", "plain", "html")
}

// val documentationJar by creating(Jar::class) {
// dependsOn(dokkaHtml)
// archiveClassifier.set("javadoc")
// from(dokkaHtml.get().outputs)
// }
val documentationJar by creating(Jar::class) {
dependsOn(dokkaHtml)
archiveClassifier.set("javadoc")
from(dokkaHtml.get().outputs)
}

val sourcesJar by creating(Jar::class) {
dependsOn(classes)
Expand All @@ -134,7 +134,7 @@ tasks {
}

artifacts {
// add("archives", documentationJar)
add("archives", documentationJar)
add("archives", sourcesJar)
}

Expand Down

0 comments on commit e7933b5

Please sign in to comment.