Skip to content

Commit b2f79f6

Browse files
committed
Include root-level Java files in source set
Uncommented and updated the configuration to include all .java files at the project root in the source set. This ensures that Java files located directly in the project directory are recognized and compiled.
1 parent 4aeff01 commit b2f79f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java/gradle/src/main/kotlin/ProcessingPlugin.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ class ProcessingPlugin @Inject constructor(private val objectFactory: ObjectFact
165165
srcDir("$workingDir/unsaved")
166166
}
167167
sourceSet.allSource.source(pdeSourceSet)
168-
// sourceSet.java.srcDir(project.layout.projectDirectory).apply {
169-
// include("*.java")
170-
// }
168+
sourceSet.java.srcDir(project.layout.projectDirectory).apply {
169+
include("/*.java")
170+
}
171171

172172
val librariesTaskName = sourceSet.getTaskName("scanLibraries", "PDE")
173173
val librariesScan = project.tasks.register(librariesTaskName, LibrariesTask::class.java) { task ->

0 commit comments

Comments
 (0)