Nicholas Owens
04/07/2024, 6:03 AMjava
kotlin
resources
etc. How would I add a folder corresponding to go
?Adam
04/07/2024, 2:46 PMsrc/main/go
directory (or any other directory, for the Golang source files. In build scripts you could represent it with a dir.
val golangMainSources = layout.projectDirectory("src/main/go")
For JVM languages, Gradle has interfaces for representing source sets (e.g. SourceDirectorySet), but there's no language agnostic equivalent https://github.com/gradle/gradle/issues/727Adam
04/07/2024, 2:48 PM