-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
55 lines (42 loc) · 1.19 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 "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.github.rodm:gradle-teamcity-plugin:1.0"
}
}
ext.teamcityVersion = hasProperty('teamcity.version') ? property('teamcity.version') : '2021.1-SNAPSHOT'
ext.teamcityDir = hasProperty('teamcity.dir') ? property('teamcity.dir') : "$rootDir/teamcity/servers/TeamCity-${teamcityVersion}"
ext.teamcityDataDir = "$rootDir/teamcity/data/" + teamcityVersion
ext.teamcityJavaHome = System.properties['java.home']
ext.amazonUtilVersion = hasProperty('amazon.util.version') ? property('amazon.util.version') : teamcityVersion
apply plugin: 'idea'
idea {
project {
vcs = 'Git'
}
}
subprojects {
group = 'jetbrains.buildServer.codedeploy'
}
configure(subprojects) {
apply plugin: 'java'
sourceCompatibility = "1.6"
targetCompatibility = "1.6"
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
test {
useTestNG()
testLogging.showStandardStreams = true
}
repositories {
mavenCentral()
maven {
url = 'https://repository.jetbrains.com/all'
}
}
}