I'm trying to get a very basic app compiled using Gradle and it's not working.
The build\classes directory is not being created.
I'm able to compile the Java files using javac and it runs as expected, so I don't think it's a Java issue.
I'm running this on a Windows 10 Pro system with only Java 9 installed.
Guide wrote:The first time you run the wrapper for a specified version of Gradle, it downloads and caches the Gradle binaries for that version.
The Gradle Wrapper files are designed to be committed to source control so that anyone can build the project without having to first install and configure a specific version of Gradle.
At this stage, you will have built your code. You can see the results here:
The problem is that the class files are not created.
Here is my spring/build.gradle
Pete Letkeman wrote:I do wonder why there is Ant, Maven, Gradle and others if they all do the same thing.
Probably similar as to why there are so many programming languages, with their own pros and cons.
To my knowledge, Gradle is by far most modern now and flexible among other build tools. Gradle uses Groovy implementation, making build script more concise. Ant and Maven are XML based.
On daily basis I'm using Maven and I believe it is still most widely used build tool as of now, with Ant I have very little experience.