/* * build-logic/build.gradle.kts * ------------------------------------------------------------ * 这里告诉 Gradle:本项目用来写"约定插件 (Convention Plugin)"。 * - 应用 kotlin-dsl 后,src/main/kotlin/*.gradle.kts 会被编译成插件 * - 子模块就能用 plugins { id("xxx-conventions") } 引用 */ plugins { `kotlin-dsl` } repositories { gradlePluginPortal() mavenCentral() } // 如果 Convention Plugin 里要使用某个第三方 Gradle 插件,需要在这里把它当依赖加上 // dependencies { // implementation("org.springframework.boot:spring-boot-gradle-plugin:3.2.0") // }