Actually, I want to reuse JavaCompile
Task. I set sourceDir
and destinationDir
of this task by reflection. So when I call javaCompile.execute()
, this task will compile my code which generated by this source project.
↧
How call TaskInternal.execute() when gradle update to 5.0+
↧