Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jjohannes/java-magazin-gradle-7
Project used in the Java Magazin article about Gradle 7
https://github.com/jjohannes/java-magazin-gradle-7
gradle-article
Last synced: 3 days ago
JSON representation
Project used in the Java Magazin article about Gradle 7
- Host: GitHub
- URL: https://github.com/jjohannes/java-magazin-gradle-7
- Owner: jjohannes
- Created: 2021-06-24T10:59:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-13T09:20:59.000Z (over 3 years ago)
- Last Synced: 2024-11-11T04:23:59.943Z (2 months ago)
- Topics: gradle-article
- Language: Kotlin
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Gradle 7 Sample Project
## Gradle Projects
- Main project: [my-project](my-project)
- Project for build configuration and logic: [my-build-logic](my-other-project)
- Example of another project (empty): [my-other-project](my-build-logic)## Gradle files in the main project
Settings file:
- [settings.gradle.kts](my-project/settings.gradle.kts)
Build files:
- [data-model/build.gradle.kts](my-project/data-model/build.gradle.kts)
- [business-logic/build.gradle.kts](my-project/business-logic/build.gradle.kts)
- [app/build.gradle.kts](my-project/app/build.gradle.kts)## Gradle files in the build logic project
Settings file:
- [settings.gradle.kts](my-build-logic/settings.gradle.kts)
Build file:
- [java-plugins/build.gradle.kts](my-build-logic/java-plugins/build.gradle.kts)
Convention plugins:
- [java-plugins/src/main/kotlin/my.java-library.gradle.kts](my-build-logic/java-plugins/src/main/kotlin/my.java-library.gradle.kts)
- [java-plugins/src/main/kotlin/my.java-application.gradle.kts](my-build-logic/java-plugins/src/main/kotlin/my.java-application.gradle.kts)## Executing Gradle builds
Some tasks to run in [my-project](my-project) (add `--scan` to produce a build scan):
- Run the app: `gradle :app:run`
- Run all tests: `gradle check`
- Compile all code: `gradle assemble`Build scan to explore the build: [https://scans.gradle.com/s/shjf5ydjkxss6](https://scans.gradle.com/s/shjf5ydjkxss6)