That has given me some trouble as I tried to move the location of the source sets. To be exact, I wanted to split my project into two source directories: src and src.godot. This might not be that Gradle like, but for me it would make sense in this project. I've tried to do that by redefining source sets:
Obviously, the service file is now always located under src/main/resources/... which clashes with such a layout.
I'm not familiar with Gradle that much, but would it be possible to resolve the target location for the service during the build, for example sourceSets.main.resources.srcDirs[0] would be a good candidate, I guess.
The location of the services "godot.registration.Entry" file is currently hardcoded in three places:
That has given me some trouble as I tried to move the location of the source sets. To be exact, I wanted to split my project into two source directories:
src
andsrc.godot
. This might not be that Gradle like, but for me it would make sense in this project. I've tried to do that by redefining source sets:Obviously, the service file is now always located under
src/main/resources/...
which clashes with such a layout.I'm not familiar with Gradle that much, but would it be possible to resolve the target location for the service during the build, for example
sourceSets.main.resources.srcDirs[0]
would be a good candidate, I guess.