mirror of
https://github.moeyy.xyz/https://github.com/GeWuYou/forgeboot
synced 2025-10-27 20:02:08 +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
16 lines
481 B
Plaintext
16 lines
481 B
Plaintext
plugins {
|
|
// The Kotlin DSL plugin provides a convenient way to develop convention plugins.
|
|
// Convention plugins are located in `src/main/kotlin`, with the file extension `.gradle.kts`,
|
|
// and are applied in the project's `build.gradle.kts` files as required.
|
|
`kotlin-dsl`
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(21)
|
|
}
|
|
|
|
dependencies {
|
|
// Add a dependency on the Kotlin Gradle plugin, so that convention plugins can apply it.
|
|
implementation(libs.kotlinGradlePlugin)
|
|
}
|