forked from rsksmart/rskj
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
33 lines (25 loc) · 908 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
wrapper.gradleVersion = '3.5.0'
buildscript {
repositories { jcenter() }
dependencies { classpath 'com.netflix.nebula:gradle-lint-plugin:latest.release' }
}
allprojects {
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("$projectDir/src/main/resources/version.properties").toURI().toURL())
group = 'co.rsk'
version = config.modifier?.trim() ? config.versionNumber + "-" + config.modifier : config.versionNumber
compileJava.options.encoding = 'UTF-8'
compileJava.options.compilerArgs << '-XDignore.symbol.file'
compileTestJava.options.encoding = 'UTF-8'
repositories {
jcenter()
}
}