DevOps / Gradle8 Interview Questions
Define a Gradle project?
A Gradle project is a buildable unit — typically one module or component — configured by its own build.gradle (or build.gradle.kts) file. A build can consist of a single project, or a hierarchy of a root project plus multiple subprojects, all declared together in one settings.gradle file.
// settings.gradle rootProject.name = 'my-app' include 'core', 'api'
Each project has its own build script, its own dependencies, and can produce its own artifact (a jar, a war, a library), while still being able to depend on other projects in the same build via project dependencies (implementation project(':core')). This structure is what lets a large codebase be split into independently buildable, independently testable modules without becoming separate repositories.
More Related questions...
