-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
50 lines (41 loc) · 992 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
buildscript {
repositories {
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.14.0"
}
}
apply plugin: 'distribution'
allprojects {
group = 'com.sitewhere'
version = '3.0.0'
repositories {
maven { url "https://repo.maven.apache.org/maven2" }
}
}
subprojects {
apply plugin: 'eclipse'
apply plugin: "com.github.hierynomus.license"
license {
header rootProject.file('HEADER')
include "**/*.java"
}
// Choose Java settings.
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
options.addStringOption('charSet', 'UTF-8')
}
// Common dependencies used for all projects.
dependencies {
compile platform('io.quarkus:quarkus-bom:1.7.2.Final')
testCompile group: 'junit', name: 'junit'
}
test {
exclude '**/*'
}
}