forked from objectbox/objectbox-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
33 lines (26 loc) · 865 Bytes
/
Copy pathbuild.gradle
File metadata and controls
33 lines (26 loc) · 865 Bytes
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
apply plugin: 'java'
uploadArchives.enabled = false
targetCompatibility = '1.7'
sourceCompatibility = '1.7'
dependencies {
compile project(':objectbox-java')
compile 'org.greenrobot:essentials:3.0.0-RC1'
if(isLinux64) {
compile "io.objectbox:objectbox-linux:${rootProject.version}"
} else if(isMac64) {
compile "io.objectbox:objectbox-macos:${rootProject.version}"
}
// Right now, test sources are in src/main not src/test
compile 'junit:junit:4.12'
}
test {
// This is pretty useless now because it floods console with warnings about internal Java classes
// However we might check from time to time, also with Java 9.
// jvmArgs '-Xcheck:jni'
testLogging {
showStandardStreams = true
exceptionFormat = 'full'
displayGranularity=2
events 'started', 'passed'
}
}