forked from calimero-project/introduction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (33 loc) · 903 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
// this gradle buildscript only builds the examples for calimero version >= 2.4
version = '2.4'
allprojects {
repositories {
mavenLocal()
jcenter()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
apply plugin:'java'
apply plugin: 'eclipse'
apply plugin: 'application'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
compileJava.options*.compilerArgs = [
'-Xlint:all',
'-Xlint:-options',
'-Werror'
]
dependencies {
compile "com.github.calimero:calimero-core:${version}"
runtime 'org.slf4j:slf4j-simple:1.8.0-beta4'
}
}
subprojects {
}
// specify an example you want to run
mainClassName = "DiscoverKnxServers"
sourceCompatibility = 8
targetCompatibility = 8
dependencies {
compile "com.github.calimero:calimero-device:${version}"
runtime "com.github.calimero:calimero-rxtx:${version}"
}