1 Star 0 Fork 2

王海龙/spring-authorization-server

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
settings.gradle 1.38 KB
一键复制 编辑 原始数据 按行查看 历史
Steve Riesenberg 提交于 2022-03-30 14:39 . Upgrade build to Gradle 7
pluginManagement {
repositories {
gradlePluginPortal()
maven { url 'https://repo.spring.io/release' }
}
}
plugins {
id "com.gradle.enterprise" version "3.9"
id "io.spring.ge.conventions" version "0.0.9"
}
dependencyResolutionManagement {
repositories {
mavenCentral()
}
}
rootProject.name = "spring-authorization-server"
def buildFiles = fileTree(rootDir) {
def excludes = gradle.startParameter.projectProperties.get("excludeProjects")?.split(",")
include "**/*.gradle", "**/*.gradle.kts"
exclude "build", "**/gradle", "settings.gradle", "buildSrc", "/build.gradle", ".*", "out"
if (excludes) {
exclude excludes
}
}
buildFiles.forEach { buildFile ->
def isDefaultName = buildFile.name == "build.gradle" || buildFile.name == "build.gradle.kts"
def isKotlin = buildFile.name.endsWith ".kts"
if (isDefaultName) {
def buildFilePath = buildFile.parentFile.absolutePath
def projectPath = buildFilePath.replace((String) rootDir.absolutePath, "").replace(File.separator, ":")
include projectPath
} else {
def projectName
if (isKotlin) {
projectName = buildFile.name.replace(".gradle.kts", "")
} else {
projectName = buildFile.name.replace(".gradle", "")
}
def projectPath = ":$projectName"
include projectPath
def project = findProject(projectPath)
project.name = projectName
project.projectDir = buildFile.parentFile
project.buildFileName = buildFile.name
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/whl-git/spring-authorization-server.git
[email protected]:whl-git/spring-authorization-server.git
whl-git
spring-authorization-server
spring-authorization-server
main

搜索帮助