Skip to content

Commit 38e8214

Browse files
Gradle: Drop FunctionalTestSuite, instead add main source set to tests.
1 parent 1546199 commit 38e8214

File tree

2 files changed

+10
-43
lines changed

2 files changed

+10
-43
lines changed

tests/objectbox-java-test/build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ uploadArchives.enabled = false
55
targetCompatibility = '1.7'
66
sourceCompatibility = '1.7'
77

8+
// we have tests in the main source set
9+
// to make Gradle pick them up, add the dir to the test source set
10+
sourceSets {
11+
test {
12+
java {
13+
srcDirs += ['src/main/java']
14+
}
15+
}
16+
}
17+
818
dependencies {
919
compile project(':objectbox-java')
1020
compile 'org.greenrobot:essentials:3.0.0-RC1'

tests/objectbox-java-test/src/test/java/io/objectbox/annotation/FunctionalTestSuite.java

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)