Skip to content

Commit f6b788e

Browse files
authored
Use the javaversion constant instead of string. (#1673)
This is compatible with the way it's done in all other projects. https://github.com/firebase/firebase-android-sdk/search?p=1&q=targetCompatibility&unscoped_q=targetCompatibility
1 parent d4776b3 commit f6b788e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

transport/transport-runtime/transport-runtime.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ android {
4242
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
4343
}
4444
compileOptions {
45-
sourceCompatibility = '1.8'
46-
targetCompatibility = '1.8'
45+
sourceCompatibility JavaVersion.VERSION_1_8
46+
targetCompatibility JavaVersion.VERSION_1_8
4747
}
4848
sourceSets {
4949
androidTest {

0 commit comments

Comments
 (0)