-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
51 lines (40 loc) · 1.1 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
plugins {
id 'java'
id 'distribution'
id 'com.github.hierynomus.license' version '0.15.0'
id 'org.ajoberstar.grgit' version '2.2.1'
}
ext {
git = org.ajoberstar.grgit.Grgit.open(currentDir: file('.'))
}
ext['git.revision'] = ext.git.head().id
ext['git.revision.abbrev'] = ext.git.head().abbreviatedId
ext['sitewhere.k8s.api.version'] = '3.0.1'
ext['sitewhere.grpc.api.version'] = '3.0.0'
ext['jackson.version'] = '2.9.10'
apply plugin: 'distribution'
allprojects {
group = 'com.sitewhere'
version = '3.0.11'
repositories {
maven { url "https://repo.maven.apache.org/maven2" }
mavenLocal()
}
}
subprojects {
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
// Common dependencies used for all projects.
dependencies {
compile platform('io.quarkus:quarkus-bom:1.7.2.Final')
compile group: 'org.graalvm.nativeimage', name: 'svm', version: '20.2.0'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
}