Skip to content

Commit c2eadcd

Browse files
committed
Remove DomainConverterProvider and related compiler setup
1 parent fb05cc8 commit c2eadcd

File tree

7 files changed

+0
-72
lines changed

7 files changed

+0
-72
lines changed

common/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
11
plugins {
22
java
33
}
4-
5-
tasks {
6-
compileJava {
7-
val aptOptions = extensions.getByType<com.diffplug.gradle.eclipse.apt.AptPlugin.AptOptions>()
8-
aptOptions.processorArgs =
9-
mapOf(
10-
"doma.domain.converters" to "example.common.domain.DomainConverterProvider",
11-
)
12-
// If you are not using Eclipse, you can simply write the above code as follows without using aptOptions;
13-
// options.compilerArgs.add("-Adoma.domain.converters=example.common.domain.DomainConverterProvider")
14-
}
15-
}

example-geometric-type/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,3 @@ dependencies {
77
testImplementation(platform(libs.testcontainers.bom))
88
testImplementation(libs.testcontainers.postgresql)
99
}
10-
11-
tasks {
12-
compileJava {
13-
val aptOptions = extensions.getByType<com.diffplug.gradle.eclipse.apt.AptPlugin.AptOptions>()
14-
aptOptions.processorArgs =
15-
mapOf(
16-
"doma.domain.converters" to "example.geometric.type.domain.DomainConverterProvider",
17-
)
18-
// If you are not using Eclipse, you can simply write the above code as follows without using aptOptions;
19-
// options.compilerArgs.add("-Adoma.domain.converters=example.geometric.type.domain.DomainConverterProvider")
20-
}
21-
}

example-geometric-type/src/main/java/example/geometric/type/domain/DomainConverterProvider.java

Lines changed: 0 additions & 6 deletions
This file was deleted.

example-jpms/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,6 @@ plugins {
33
application
44
}
55

6-
tasks {
7-
compileJava {
8-
val aptOptions = extensions.getByType<com.diffplug.gradle.eclipse.apt.AptPlugin.AptOptions>()
9-
aptOptions.processorArgs =
10-
mapOf(
11-
"doma.domain.converters" to "example.jpms.domain.DomainConverterProvider",
12-
)
13-
// If you are not using Eclipse, you can simply write the above code as follows without using aptOptions;
14-
// options.compilerArgs.add("-Adoma.domain.converters=example.jpms.domain.DomainConverterProvider")
15-
}
16-
}
17-
186
application {
197
mainClass.set("example.jpms_java.Main")
208
}

example-jpms/src/main/java/example/jpms/domain/DomainConverterProvider.java

Lines changed: 0 additions & 6 deletions
This file was deleted.

example-sql-annotation/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,6 @@ plugins {
22
java
33
}
44

5-
tasks {
6-
compileJava {
7-
val aptOptions = extensions.getByType<com.diffplug.gradle.eclipse.apt.AptPlugin.AptOptions>()
8-
aptOptions.processorArgs =
9-
mapOf(
10-
"doma.domain.converters" to "example.common.domain.DomainConverterProvider",
11-
)
12-
// If you are not using Eclipse, you can simply write the above code as follows without using aptOptions;
13-
// options.compilerArgs.add("-Adoma.domain.converters=example.common.domain.DomainConverterProvider")
14-
}
15-
}
16-
175
dependencies {
186
implementation(project(":common"))
197
testImplementation(project(":common-test"))

example-sql-file/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,6 @@ plugins {
22
java
33
}
44

5-
tasks {
6-
compileJava {
7-
val aptOptions = extensions.getByType<com.diffplug.gradle.eclipse.apt.AptPlugin.AptOptions>()
8-
aptOptions.processorArgs =
9-
mapOf(
10-
"doma.domain.converters" to "example.common.domain.DomainConverterProvider",
11-
)
12-
// If you are not using Eclipse, you can simply write the above code as follows without using aptOptions;
13-
// options.compilerArgs.add("-Adoma.domain.converters=example.common.domain.DomainConverterProvider")
14-
}
15-
}
16-
175
dependencies {
186
implementation(project(":common"))
197
testImplementation(project(":common-test"))

0 commit comments

Comments
 (0)