File tree Expand file tree Collapse file tree 3 files changed +32
-20
lines changed Expand file tree Collapse file tree 3 files changed +32
-20
lines changed Original file line number Diff line number Diff line change @@ -18,24 +18,10 @@ gradle.properties
1818build.properties
1919local.properties
2020
21- # ## CMake build files
22- CMakeFiles /
23- CMakeCache.txt
24- Makefile
25- * .cmake
26- .externalNativeBuild
27- cmake-build-debug /
28- # used by build.sh script
29- cbuild /
30-
3121# Native libs
3222objectbox * .dll
3323libobjectbox * .so
3424
35- # ## Build script
36- /Release /
37- /Debug /
38-
3925# ## Test DB files
4026data.mdb
4127lock.mdb
@@ -44,7 +30,6 @@ jni-unit-test-db/
4430test-db64 /
4531perf-test-db /
4632perf-test-db64 /
47- tests /test-entity-annotations /objectbox /
4833
4934# # Backups
5035.gitignore~
@@ -53,8 +38,3 @@ default.json.bak
5338
5439# Java crash reports
5540hs_err_pid * .log
56-
57- # Misc
58- callgrind.out. *
59- /captures /
60- valgrind.log
Original file line number Diff line number Diff line change 1+ apply plugin : ' java'
2+
3+ uploadArchives. enabled = false
4+
5+ targetCompatibility = ' 1.7'
6+ sourceCompatibility = ' 1.7'
7+
8+ dependencies {
9+ compile project(' :objectbox-java' )
10+ compile ' org.greenrobot:essentials:3.0.0-RC1'
11+
12+ // Right now, test sources are in src/main not src/test
13+ compile ' junit:junit:4.12'
14+ }
15+
16+ test {
17+ // This is pretty useless now because it floods console with warnings about internal Java classes
18+ // However we might check from time to time, also with Java 9.
19+ // jvmArgs '-Xcheck:jni'
20+ }
Original file line number Diff line number Diff line change 1+ apply plugin : ' java'
2+
3+ uploadArchives. enabled = false
4+
5+ sourceCompatibility = 1.7
6+ targetCompatibility = 1.7
7+
8+ dependencies {
9+ compile project(' :objectbox-java' )
10+ compile project(' :objectbox-java-api' )
11+ testCompile ' junit:junit:4.12'
12+ }
You can’t perform that action at this time.
0 commit comments