File tree Expand file tree Collapse file tree 3 files changed +21
-19
lines changed
Expand file tree Collapse file tree 3 files changed +21
-19
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ plugins {
22 base
33 java
44 kotlin(" jvm" ) version " 1.4.32"
5- id(" org.jetbrains.dokka" ) version " 0.10.1 "
5+ id(" org.jetbrains.dokka" ) version " 1.4.32 "
66 signing
77}
88
@@ -34,13 +34,14 @@ tasks {
3434 )
3535 }
3636 }
37- dokka {
38- outputFormat = " html"
39- outputDirectory = " $buildDir /javadoc"
40- impliedPlatforms = mutableListOf (" JVM" )
41- configuration {
42- jdkVersion = 8
43- reportUndocumented = true
37+ dokkaHtml {
38+ outputDirectory.set(buildDir.resolve(" javadoc" ))
39+ dokkaSourceSets {
40+ configureEach {
41+ jdkVersion.set(8 )
42+ reportUndocumented.set(true )
43+ platform.set(org.jetbrains.dokka.Platform .jvm)
44+ }
4445 }
4546 }
4647}
@@ -53,7 +54,7 @@ val sourcesJar by tasks.creating(Jar::class) {
5354val dokkaJar by tasks.creating(Jar ::class ) {
5455 group = JavaBasePlugin .DOCUMENTATION_GROUP
5556 classifier = " javadoc"
56- from(tasks.dokka )
57+ from(tasks.dokkaHtml )
5758}
5859
5960publishing {
Original file line number Diff line number Diff line change 11plugins {
22 base
33 kotlin(" jvm" ) version " 1.4.32"
4- id(" org.jetbrains.dokka" ) version " 0.10.1 "
4+ id(" org.jetbrains.dokka" ) version " 1.4.32 "
55 id(" java-test-fixtures" )
66 signing
77}
@@ -43,13 +43,14 @@ tasks {
4343 )
4444 }
4545 }
46- dokka {
47- outputFormat = " html"
48- outputDirectory = " $buildDir /javadoc"
49- impliedPlatforms = mutableListOf (" JVM" )
50- configuration {
51- jdkVersion = 8
52- reportUndocumented = true
46+ dokkaHtml {
47+ outputDirectory.set(buildDir.resolve(" javadoc" ))
48+ dokkaSourceSets {
49+ configureEach {
50+ jdkVersion.set(8 )
51+ reportUndocumented.set(true )
52+ platform.set(org.jetbrains.dokka.Platform .jvm)
53+ }
5354 }
5455 }
5556}
@@ -62,7 +63,7 @@ val sourcesJar by tasks.creating(Jar::class) {
6263val dokkaJar by tasks.creating(Jar ::class ) {
6364 group = JavaBasePlugin .DOCUMENTATION_GROUP
6465 classifier = " javadoc"
65- from(tasks.dokka )
66+ from(tasks.dokkaHtml )
6667}
6768
6869
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ junitVersion=5.7.0
66snakeyamlVersion =1.28
77jmockitVersion =1.49
88kluentVersion =1.65
9- striktVersion =0.30.1
9+ striktVersion =0.31.0
1010
You can’t perform that action at this time.
0 commit comments