#Looking for Tips, Advice and Resources for Project Management with Java and Gradle

10 messages · Page 1 of 1 (latest)

cunning reef
#

Hi, I am new to java and gradle and want to make a project larger than a simple hello-world or calculator app. I am not using any IDEs at the moment because I am interested in learning CLIs and how stuff might need to be set up manually. I know its probably dumb and I'd almost never have to do it, I just want to for learning purposes.

That being said, what would the best way be to add additional java files and classes in a typical gradle project? Should I be adding classes under /app/src/main/java/project-name? Should I be manually making .java files in the main and test folders? Or is there a gradle command that can template this out?

I apologize for my noobliness. As the title suggests, anything related to project management would be appreciated! And sorry I am not looking to use Intellij or Eclipse or an IDE for this project, however I am open to in the future. Thanks in advance!

acoustic kiteBOT
#

This post has been reserved for your question.

Hey @cunning reef! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

hasty surge
#

you would normally just create Java files with the content - you can possibly set up a template if applicable

#

But not using an IDE will be annoying for non-small projects, especially since you wouldn't have proper autocomplete, instant feedback, etc

#

So you would probably want to switch to an IDE pretty quickly tbh

#

or at least use an IDE but disable/not use many things from it until you are "good enough" with the CLI tools

#

but IMO the CLI usage isn't the main issue with build tools - it's more configuring them

hasty surge