i have project 2 sub modules.
- client - ui based on google's web developer kit
- server - spring boot based server.
now in gradle config(build file) on server, im creating jar file client , including on server through below snippet. lastly, create .war file based on server config.
dependencies { compile project(':client') } the architecture similar spring boot's proposed ways of resource handling.
now, when run gradle build, because server dependent on client, server compilation doesnt start until client compilation , tests done.
i feel i'm not making use of gradle's parallelism way of compiling client , server.
are there ways such compile , run test cases in parallel , create .war file when both submodule's tasks complete? how access configurations of client , server modules , create new war file on rootproject?
you can try add flag --parallel gradle command. still incubating feature. noticed significant improvement on building time when running gradle daemon, can try out well.
Comments
Post a Comment