-
Notifications
You must be signed in to change notification settings - Fork 177
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
41 lines (35 loc) · 1.34 KB
/
settings.gradle.kts
File metadata and controls
41 lines (35 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
pluginManagement {
repositories {
// Prefer local mirrors for plugin resolution, then fall back to official sources
maven { url = uri("https://maven.aliyun.com/repository/gradle-plugin/") }
maven { url = uri("https://maven.aliyun.com/repository/public/") }
maven { url = uri("https://maven.aliyun.com/repository/spring/") }
gradlePluginPortal()
mavenCentral()
}
plugins {
id("org.graalvm.buildtools.native") version "0.10.6"
}
// Ensure Spring Boot plugin can be resolved even if the plugin marker isn't available on the portal
resolutionStrategy {
eachPlugin {
if (requested.id.id == "org.springframework.boot") {
useModule("org.springframework.boot:spring-boot-gradle-plugin:${requested.version}")
}
}
}
}
rootProject.name = "ArchSmith"
include("common:common-core")
include("common:common-error")
include("infrastructure")
include("dependencies")
include("server-admin")
include("domain:admin-user")
include("example:example-task")
// Configure build file names for subprojects
rootProject.children.forEach { project ->
// All subprojects now use build.gradle.kts
project.buildFileName = "build.gradle.kts"
require(project.projectDir.isDirectory) { "Project directory must exist: ${project.projectDir}" }
}