Skip to content

Commit 0e7c2eb

Browse files
committed
Fix gradle build file
1 parent 9298eee commit 0e7c2eb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,10 @@ if(hasProperty('target') && target == 'android') {
8383
apply plugin: 'java'
8484
apply plugin: 'maven-publish'
8585

86-
sourceCompatibility = JavaVersion.VERSION_1_8
87-
targetCompatibility = JavaVersion.VERSION_1_8
86+
java {
87+
sourceCompatibility = JavaVersion.VERSION_1_8
88+
targetCompatibility = JavaVersion.VERSION_1_8
89+
}
8890

8991
publishing {
9092
publications {

0 commit comments

Comments
 (0)