-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
55 lines (48 loc) · 1.52 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
buildscript {
repositories {
maven { url "http://dl.bintray.com/spinnaker/gradle" }
jcenter()
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:1.2.8.RELEASE"
classpath('com.netflix.spinnaker.gradle:spinnaker-gradle-project:3.9.0') { transitive = false }
classpath 'org.yaml:snakeyaml:1.16'
classpath 'com.netflix.nebula:nebula-release-plugin:4.1.0'
classpath "com.netflix.nebula:gradle-ospackage-plugin:4.0.0"
}
}
ext {
gateVersion = "2.92.0"
}
allprojects { project ->
repositories {
if ([gateVersion].find { it.endsWith('-SNAPSHOT') }) {
mavenLocal()
}
maven { url 'http://dl.bintray.com/spinnaker/spinnaker/' }
maven { url 'https://repo.spring.io/libs-snapshot' }
jcenter()
}
apply plugin: 'spinnaker.ideaconfig'
apply plugin: 'spinnaker.dependency'
apply plugin: 'nebula.nebula-release'
apply plugin: 'groovy'
sourceCompatibility = 1.8
targetCompatibility = 1.8
configurations.all {
exclude group: 'javax.servlet', module: 'servlet-api'
exclude group: 'javax.servlet', module: 'javax.servlet-api'
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-data-rest'
resolutionStrategy {
eachDependency {
if (it.requested.group == 'org.springframework.boot') {
it.useVersion '1.2.8.RELEASE'
}
if (it.requested.group == 'org.springframework') {
it.useVersion '4.1.9.RELEASE'
}
}
}
}
group = "com.netflix.spinnaker.gate.internal"
}