Generating IDE project files

IDEs are an integral part of a Java developer's tool chain and workflow. However, manually setting up an IDE to correctly identify the project structure and dependencies for any moderately sized project is not an easy task.

Checking-in IDE-specific files or directories such as .classpath, .project, .ipr, .iws, .nbproject, .idea, .settings, .iml, is not a good idea. We know that some still do it because it's hard to generate the IDE file manually every time someone checks the project out of the version control system. However, checking in such files creates problems as they eventually go out of sync from the main build file. Also, this forces the whole team to use the same IDE and manually update the IDE files whenever ...

Get Gradle Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.