Skip to content

Commit a3f8298

Browse files
Require and use JDK 8 in all artifacts.
1 parent 9969a01 commit a3f8298

File tree

6 files changed

+12
-8
lines changed

6 files changed

+12
-8
lines changed

objectbox-java-api/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ apply plugin: 'java'
33
group = 'io.objectbox'
44
version= rootProject.version
55

6-
sourceCompatibility = 1.7
6+
sourceCompatibility = JavaVersion.VERSION_1_8
7+
targetCompatibility = JavaVersion.VERSION_1_8
78

89
task javadocJar(type: Jar, dependsOn: javadoc) {
910
classifier = 'javadoc'

objectbox-java/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ apply plugin: 'findbugs'
44
group = 'io.objectbox'
55
version= rootProject.version
66

7-
sourceCompatibility = '1.7'
7+
sourceCompatibility = JavaVersion.VERSION_1_8
8+
targetCompatibility = JavaVersion.VERSION_1_8
89

910
tasks.withType(FindBugs) {
1011
reports {

objectbox-kotlin/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ buildscript {
2020
apply plugin: 'kotlin'
2121
apply plugin: 'org.jetbrains.dokka'
2222

23-
sourceCompatibility = 1.7
23+
sourceCompatibility = JavaVersion.VERSION_1_8
24+
targetCompatibility = JavaVersion.VERSION_1_8
2425

2526
dokka {
2627
outputFormat = 'html'

objectbox-rxjava/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ apply plugin: 'java'
33
group = 'io.objectbox'
44
version= rootProject.version
55

6-
sourceCompatibility = 1.7
6+
sourceCompatibility = JavaVersion.VERSION_1_8
7+
targetCompatibility = JavaVersion.VERSION_1_8
78

89
dependencies {
910
compile project(':objectbox-java')

tests/objectbox-java-test/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apply plugin: 'java'
22

33
uploadArchives.enabled = false
44

5-
targetCompatibility = '1.8'
6-
sourceCompatibility = '1.8'
5+
sourceCompatibility = JavaVersion.VERSION_1_8
6+
targetCompatibility = JavaVersion.VERSION_1_8
77

88
repositories {
99
// Native lib might be deployed only in internal repo

tests/test-proguard/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apply plugin: 'java'
22

33
uploadArchives.enabled = false
44

5-
sourceCompatibility = 1.7
6-
targetCompatibility = 1.7
5+
sourceCompatibility = JavaVersion.VERSION_1_8
6+
targetCompatibility = JavaVersion.VERSION_1_8
77

88
repositories {
99
// Native lib might be deployed only in internal repo

0 commit comments

Comments
 (0)