another questoin for you: I am using STS 2.7.2 with Gradle Tool installed.
Normally I was using commandline all the time, since I got the idea, to use the gradle compile task for compilation of my classes. The thing is: I have 1800 classes to compile, with x template htmls and x other resources. It takes so much time, if I have set Menubar -> Project -> Build Automatically, because it builds via eclipse first. Then I still need to run gradle compile and gradle test to verify, my code works.
I want to have gradle compiling the resources once, not eclipse first + gradle later. And I would like to run my unit-tests via gradle if possible. Is there a way to exchange the Java Builder of eclipse? How can I specify the Unit-Test execution? Is there a way to run the gradle build within eclipse with the wrapper batch?
FYI: you can (change) see the Java Builder of your Project in Eclipse if you right-click on your Project folder -> Properties -> Builders. I want to get a Gradle compiler inside there, instead of the Java Builder.
Sorry for that many questions in one post.
Thanks in advance for everyone answering.
EDIT: I have seen there is another question pretty much the same as this one. So let me add this: Now Eclipse builds the classes to the default location /bin. Gradle builds the classes to the default location /build/classes
Do I need to redirect the output folder for eclipse to the /build/classes to have it just once building?