Skip to content

Commit 8d6f4ec

Browse files
committed
Add workaround for module-related issue
1 parent 7964853 commit 8d6f4ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ subprojects {
4747
apply(plugin = "java")
4848
apply(plugin = catalog.plugins.eclipse.apt.get().pluginId)
4949
apply(plugin = catalog.plugins.spotless.get().pluginId)
50-
apply(plugin = catalog.plugins.doma.compile.get().pluginId)
5150

5251
java {
5352
toolchain {
@@ -58,6 +57,8 @@ subprojects {
5857
tasks {
5958
withType<JavaCompile> {
6059
options.encoding = "UTF-8"
60+
// TODO Remove this workaround
61+
options.compilerArgs.add("-Adoma.resources.dir=" + sourceSets["main"].resources.srcDirs.first().absolutePath)
6162
}
6263

6364
withType<Test> {

0 commit comments

Comments
 (0)