mirror of
https://github.moeyy.xyz/https://github.com/GeWuYou/forgeboot
synced 2025-10-27 22:02:09 +08:00
- Added tryOrNull and tryOrFallBack extension functions for graceful exception handling - A new enumValueOfOrNull extension function is added to safely convert strings to enumerated values - Rename Logger.kt to LoggerExtensions.kt to better reflect its role as a log extension class - Updated build.gradle.kts to change slf4j-api dependencies to compileOnly to reduce runtime dependencies
feat(core-extension): Add extension functions for exception handling and enumeration transformations
forgeboot
This project uses Gradle. 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 runto build and run the application. - Run
./gradlew buildto only build the application. - Run
./gradlew checkto run all checks, including tests. - Run
./gradlew cleanto 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.
Learn more about Gradle 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).
Description
Languages
Kotlin
100%