代码拉取完成,页面将自动刷新
pluginManagement {
repositories {
gradlePluginPortal()
maven { url 'https://repo.spring.io/release' }
maven { url 'https://repo.spring.io/milestone' }
}
}
plugins {
id "com.gradle.enterprise" version "3.10.2"
id "io.spring.ge.conventions" version "0.0.11"
}
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
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。