Skip to content

Commit 5a84b58

Browse files
committed
Do not register resources as Java sources
JavaCompile task will process only *.java files, and resources need to registered using different mechanism. This fixes google#244.
1 parent 2fb259c commit 5a84b58

File tree

1 file changed

+0
-1
lines changed
  • gradle-plugin/src/main/kotlin/com/google/devtools/ksp/gradle

1 file changed

+0
-1
lines changed

gradle-plugin/src/main/kotlin/com/google/devtools/ksp/gradle/KspSubplugin.kt

-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ class KspGradleSubplugin @Inject internal constructor(private val registry: Tool
119119
val generatedJavaSources = javaCompile.project.fileTree(javaOutputDir)
120120
generatedJavaSources.include("**/*.java")
121121
javaCompile.source(generatedJavaSources)
122-
javaCompile.source(resourceOutputDir)
123122
javaCompile.classpath += project.files(classOutputDir)
124123
}
125124

0 commit comments

Comments
 (0)