forked from ethereum/ethereumj
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
34 lines (25 loc) · 848 Bytes
/
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
wrapper.gradleVersion = '2.2.1'
allprojects {
apply plugin: 'eclipse'
if (JavaVersion.current().isJava8Compatible()) {
//Disable lint of javadoc until someone fixes all the html
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
subprojects {
apply plugin: 'java'
def config = new ConfigSlurper().parse(new File("ethereumj-core/src/main/resources/version.properties").toURI().toURL())
group = 'org.ethereum'
if (config.modifier?.trim())
version = config.versionNumber + "-" + config.modifier
else
version = config.versionNumber
compileJava.options.encoding = 'UTF-8'
compileJava.options.compilerArgs << '-XDignore.symbol.file'
compileTestJava.options.encoding = 'UTF-8'
repositories {
jcenter()
}
}