forked from crate/crate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
39 lines (34 loc) · 963 Bytes
/
build.gradle
File metadata and controls
39 lines (34 loc) · 963 Bytes
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
allprojects {
apply plugin: 'idea'
apply plugin: 'findbugs'
apply plugin: 'jacoco'
jacoco {
toolVersion = "0.7.1.201405082137"
}
group = 'io.crate'
repositories {
mavenCentral()
}
findbugs {
ignoreFailures = true
}
}
idea {
project {
languageLevel = 'JDK_1_7'
ipr {
withXml { provider ->
def node = provider.asNode()
def copyrightManager = node.component.find { it.'@name' == 'CopyrightManager' }
copyrightManager.@default = "CrateASL2"
def aslCopyright = copyrightManager.copyright.find { it.option.find { it.@name == "myName" }?.@value == "CrateASL2" }
if (aslCopyright == null) {
copyrightManager.append(new XmlParser().parse(file("copyright.xml")))
}
}
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = '1.12'
}