I’m rewriting a pretty old normal gradle build scr...
# gradle
p
I’m rewriting a pretty old normal gradle build script in Kotlin, and I’m having some trouble. This is basically my first time using the Gradle DSL with Kotlin, and I’ve used Gradle before but nothing more than 15 LOC. (Also a while ago, maybe around a year) Basically, I have to directors under `src/`:
main/
and
examples/
. I would like to have
examples/
depend on
main/
, and also have them compile automatically as well. Here’s the original build script (it’s probably outdated): https://gist.github.com/perryprog/ced7e8b51674c3adc4a701a82e44badc I believe the main logic for what I want is n
sourceSets
(line 49), but I’m not sure how to recreate that in Kotlin.