Add Kotlin alternatives to Java documentation samples
See gh-29499
This commit is contained in:
committed by
Phillip Webb
parent
0e906dc6e2
commit
197afff1d6
@@ -4,6 +4,7 @@ plugins {
|
||||
id "org.asciidoctor.jvm.convert"
|
||||
id "org.springframework.boot.conventions"
|
||||
id "org.springframework.boot.deployed"
|
||||
id 'org.jetbrains.kotlin.jvm'
|
||||
}
|
||||
|
||||
description = "Spring Boot Docs"
|
||||
@@ -102,6 +103,7 @@ dependencies {
|
||||
exclude group: "javax.xml.bind", module: "jaxb-api"
|
||||
exclude group: "org.jboss.spec.javax.transaction", module: "jboss-transaction-api_1.2_spec"
|
||||
}
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||
implementation("org.jooq:jooq") {
|
||||
exclude group: "javax.xml.bind", module: "jaxb-api"
|
||||
}
|
||||
@@ -321,6 +323,9 @@ syncDocumentationSourceForAsciidoctor {
|
||||
from("src/test/java") {
|
||||
into "test/java"
|
||||
}
|
||||
from("src/main/kotlin") {
|
||||
into "main/kotlin"
|
||||
}
|
||||
from("src/main/groovy") {
|
||||
into "main/groovy"
|
||||
}
|
||||
@@ -345,6 +350,9 @@ syncDocumentationSourceForAsciidoctorMultipage {
|
||||
from("src/test/java") {
|
||||
into "test/java"
|
||||
}
|
||||
from("src/main/kotlin") {
|
||||
into "main/kotlin"
|
||||
}
|
||||
from("src/main/groovy") {
|
||||
into "main/groovy"
|
||||
}
|
||||
@@ -369,6 +377,9 @@ syncDocumentationSourceForAsciidoctorPdf {
|
||||
from("src/test/java") {
|
||||
into "test/java"
|
||||
}
|
||||
from("src/main/kotlin") {
|
||||
into "main/kotlin"
|
||||
}
|
||||
from("src/main/groovy") {
|
||||
into "main/groovy"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user