About
A single-project has only the root project listed in the output of the gradle projects command, it's a multi-project
Articles Related
Sample
https://github.com/gradle/gradle/tree/master/subprojects/docs/src/samples
Management
Create
# groovy
gradle init
# kotlin
gradle init --dsl kotlin
File Structure
├── build.gradle
├── gradle
│ └── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
where:
- wrapper and gradlew: Gradle - Wrapper (gradlew)
- settings.gradle is a configuration file
- build.gradle is the build script
Directory Structure
https://docs.gradle.org/current/userguide/java_plugin.html#sec:java_project_layout