mirror of
https://github.moeyy.xyz/https://github.com/GeWuYou/forgeboot
synced 2025-10-28 05:02:07 +08:00
- Create project build scripts and configuration files - Define module paths and project flags - Set up Kotlin and Spring Boot plugins - Configure Maven publishing and semantic versioning plugins - Add a source code packaging task - Set up the project dependency repositories - Initialize gradle-wrapper
23 lines
1.1 KiB
Markdown
23 lines
1.1 KiB
Markdown
# forgeboot
|
|
|
|
This project uses [Gradle](https://gradle.org/).
|
|
To build and run the application, use the *Gradle* tool window by clicking the Gradle icon in the right-hand toolbar,
|
|
or run it directly from the terminal:
|
|
|
|
* Run `./gradlew run` to build and run the application.
|
|
* Run `./gradlew build` to only build the application.
|
|
* Run `./gradlew check` to run all checks, including tests.
|
|
* Run `./gradlew clean` to clean all build outputs.
|
|
|
|
Note the usage of the Gradle Wrapper (`./gradlew`).
|
|
This is the suggested way to use Gradle in production projects.
|
|
|
|
[Learn more about the Gradle Wrapper](https://docs.gradle.org/current/userguide/gradle_wrapper.html).
|
|
|
|
[Learn more about Gradle tasks](https://docs.gradle.org/current/userguide/command_line_interface.html#common_tasks).
|
|
|
|
This project follows the suggested multi-module setup and consists of the `app` and `utils` subprojects.
|
|
The shared build logic was extracted to a convention plugin located in `buildSrc`.
|
|
|
|
This project uses a version catalog (see `gradle/libs.versions.toml`) to declare and version dependencies
|
|
and both a build cache and a configuration cache (see `gradle.properties`). |