This message was deleted.
# community-support
s
This message was deleted.
m
I'm basically trying to implement the behavior achieved by
com.gradle.scan.plugin.BuildScanExtension#background
but don't see a good execution API that works for this context, leading me to believe that I'd have to fall back on manual
Thread
construction (or equiv via
Executors
)
g
Executors
and
CompletableFuture
could be best bet if you don't want to bring any dependencies. If you are ready for more heavy things - take what you're more comfortable with. But kotlin things would be painful if you're targeting more than one gradle major version. Also if you what to run some native process I could recommend
zt-exec
instead of java's
ProcessBuilder
, it's much less painful.
m
yeah, I'm hoping for a Gradle API since Gradle already manages worker/thread pools, etc. I can do a bare Exeuctor/Thread execution but would prefer something integrated if such an API exists...