@@ -6,31 +6,26 @@ plugins {
66}
77
88gradlePlugin {
9+ website.set(" https://github.com/domaframework/doma-codegen-plugin" )
10+ vcsUrl.set(" https://github.com/domaframework/doma-codegen-plugin.git" )
911 plugins {
1012 create(" codegenPlugin" ) {
1113 id = " org.domaframework.doma.codegen"
1214 displayName = " Doma Codegen Plugin"
1315 description = " Generates Java, Kotlin, and SQL files from Database"
1416 implementationClass = " org.seasar.doma.gradle.codegen.CodeGenPlugin"
17+ tags.set(listOf (" doma" , " generator" ))
1518 }
1619 }
1720}
1821
19- pluginBundle {
20- website = " https://github.com/domaframework/doma-codegen-plugin"
21- vcsUrl = " https://github.com/domaframework/doma-codegen-plugin.git"
22- tags = listOf (" doma" , " generator" )
23- }
24-
2522sourceSets {
2623 main {
2724 java {
28- setSrcDirs(emptyList<String >())
25+ setSrcDirs(emptyList<String >())
2926 }
30- withConvention(GroovySourceSet ::class ) {
31- groovy {
32- setSrcDirs(listOf (" src/main/groovy" , " src/main/java" ))
33- }
27+ groovy {
28+ setSrcDirs(listOf (" src/main/groovy" , " src/main/java" ))
3429 }
3530 }
3631}
@@ -44,10 +39,10 @@ spotless {
4439}
4540
4641java {
47- sourceCompatibility = JavaVersion .VERSION_1_8
48- targetCompatibility = JavaVersion .VERSION_1_8
42+ toolchain.languageVersion.set(JavaLanguageVersion .of( 17 ))
4943}
5044
45+
5146repositories {
5247 mavenCentral()
5348 mavenLocal()
@@ -66,6 +61,10 @@ tasks {
6661 test {
6762 useJUnitPlatform()
6863 }
64+
65+ javadoc {
66+ enabled = false
67+ }
6968
7069 groovydoc {
7170 enabled = false
0 commit comments