Skip to content
This repository was archived by the owner on Jan 29, 2024. It is now read-only.

Commit bf0b2ee

Browse files
committed
fix: added sourceCompatibility and targetCompatibility
1 parent 42b6552 commit bf0b2ee

File tree

5 files changed

+30
-0
lines changed

5 files changed

+30
-0
lines changed

requestly-android-core-noop/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ android {
1111
'-module-name', "io.requestly.android.core",
1212
"-Xexplicit-api=strict"
1313
]
14+
sourceCompatibility JavaVersion.VERSION_1_8
15+
targetCompatibility JavaVersion.VERSION_1_8
16+
}
17+
18+
kotlinOptions {
19+
jvmTarget = '1.8'
1420
}
1521

1622
buildFeatures {

requestly-android-noop/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ android {
1010
minSdk rootProject.minSdkVersion
1111
targetSdk rootProject.targetSdkVersion
1212
}
13+
14+
compileOptions {
15+
sourceCompatibility JavaVersion.VERSION_1_8
16+
targetCompatibility JavaVersion.VERSION_1_8
17+
}
18+
kotlinOptions {
19+
jvmTarget = '1.8'
20+
}
1321
}
1422

1523
dependencies {

requestly-android-okhttp-noop/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ android {
99
'-module-name', "io.requestly.android.okhttp",
1010
"-Xexplicit-api=strict"
1111
]
12+
sourceCompatibility JavaVersion.VERSION_1_8
13+
targetCompatibility JavaVersion.VERSION_1_8
14+
}
15+
16+
kotlinOptions {
17+
jvmTarget = "1.8"
1218
}
1319

1420
buildFeatures {

requestly-android-okhttp/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ android {
1111
'-module-name', "io.requestly.android.okhttp",
1212
"-Xexplicit-api=strict"
1313
]
14+
sourceCompatibility JavaVersion.VERSION_1_8
15+
targetCompatibility JavaVersion.VERSION_1_8
1416
}
1517

1618
defaultConfig {

requestly-android/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ android {
1010
minSdk rootProject.minSdkVersion
1111
targetSdk rootProject.targetSdkVersion
1212
}
13+
14+
compileOptions {
15+
sourceCompatibility JavaVersion.VERSION_1_8
16+
targetCompatibility JavaVersion.VERSION_1_8
17+
}
18+
kotlinOptions {
19+
jvmTarget = '1.8'
20+
}
1321
}
1422

1523
dependencies {

0 commit comments

Comments
 (0)