GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — add gradle files for tests · HomHomLin/objectbox-java@b76db3c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .gitignore
  • tests
    • objectbox-java-test
      • build.gradle
    • test-proguard
      • build.gradle
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.gitignore‎

Copy file name to clipboardExpand all lines: .gitignore
-20Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,10 @@ gradle.properties
1818
build.properties
1919
local.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
3222
objectbox*.dll
3323
libobjectbox*.so
3424

35-
### Build script
36-
/Release/
37-
/Debug/
38-
3925
### Test DB files
4026
data.mdb
4127
lock.mdb
@@ -44,7 +30,6 @@ jni-unit-test-db/
4430
test-db64/
4531
perf-test-db/
4632
perf-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
5540
hs_err_pid*.log
56-
57-
# Misc
58-
callgrind.out.*
59-
/captures/
60-
valgrind.log
Collapse file

‎tests/objectbox-java-test/build.gradle‎

Copy file name to clipboard
+20Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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+
}
Collapse file

‎tests/test-proguard/build.gradle‎

Copy file name to clipboard
+12Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.