-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
62 lines (48 loc) · 1.51 KB
/
build.gradle
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import java.nio.charset.Charset
import static cc.sofast.foundation.dependency.SofastDependencyPlugin.SBV
import static cc.sofast.foundation.dependency.SofastDependencyPlugin.SCV
subprojects { sp ->
apply plugin: 'maven-publish'
apply plugin: 'sofast.dependency.manager'
group 'cc.sofast.springcloud.kubernetes.microservices.toolkit'
sp.version = '0.0.1'
sourceCompatibility = '17'
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, "minutes"
}
ext {
compileJava.options.encoding = "UTF-8"
compileTestJava.options.encoding = "UTF-8"
}
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
clean {
delete 'out'
delete "$rootDir/build"
}
build {
clean
build
}
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://repo.spring.io/release' }
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
dependencies {
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
}
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:" + SBV
mavenBom "org.springframework.cloud:spring-cloud-dependencies:" + SCV
}
}
}