-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
52 lines (40 loc) · 1.02 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
apply from: 'idea.gradle'
allprojects {
def BUILD_NUMBER = project.hasProperty('BUILD_NUMBER') ? "$BUILD_NUMBER" : 'undef'
apply plugin: 'maven'
apply plugin: 'java'
apply plugin: 'idea'
repositories {
mavenLocal()
mavenCentral()
maven {
name "anodot-maven-repo-release"
url 'https://bitbucket.org/anodotengineering/anodot-maven-repo-release/raw/master'
}
}
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
group = 'com.kenshoo'
version = "0.1.$BUILD_NUMBER"
apply from: "${rootProject.projectDir}/dependencies.gradle"
compileJava {
options.compilerArgs << '-Werror'
}
compileTestJava {
options.compilerArgs << '-Werror'
}
project.test {
beforeTest { descriptor ->
logger.lifecycle('running ' + descriptor)
}
}
}
wrapper {
gradleVersion = '5.4.1'
}