Dear team, may I kindly ask for support on creating / initializing a basic java project without gradle? I am expecting to have a “regular” java project using maven as the build tool as the maven multi module project is more than widely used in the cloud community. But maybe I am doing something wrong as well.
When executing the following code
cdktf init --template="java" --local I get an error that the cdktf init command is not able to find gradle…
Please find attached my current setup:
CDKTF switched to Gradle for performance reasons in v0.18.
You could try to create a project with the cdktf-cli v0.17.3 which still uses Maven or you could have a look at the java template from that version and manually set up the Maven files for such a CDKTF project.
Thank you Ansgar, but shouldn’t then the documentation be updated that installed gradle is the precondition to get a java project setup and not maven anymore? Cause the cli documentation still pretends to create a maven project.
shouldn’t then the documentation be updated that installed gradle is the precondition to get a java project setup and not maven anymore
Yes! Definitely. That’s something we’ll update Thank you for raising this.