Skip to content

Commit c69b0cd

Browse files
authored
Set Kotlin JVM target to 1.8 (#862)
* set Kotlin JVM target to 1.8 * bump version to 1.10.4
1 parent 1e0994b commit c69b0cd

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.10.4
2+
3+
- Fix Android build failing because of JVM and Kotlin target source
4+
compatibility (#862)
5+
16
## 1.10.3
27

38
- Fix Android build failing when using Android Gradle Plugin v8 (#857)

android/build.gradle

+9-1
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,17 @@ rootProject.allprojects {
2828
}
2929

3030
android {
31+
namespace "vn.hunghd.flutterdownloader"
3132
compileSdk 32
3233

33-
namespace "vn.hunghd.flutterdownloader"
34+
compileOptions {
35+
sourceCompatibility JavaVersion.VERSION_1_8
36+
targetCompatibility JavaVersion.VERSION_1_8
37+
}
38+
39+
kotlinOptions {
40+
jvmTarget = "1.8"
41+
}
3442

3543
sourceSets {
3644
main.java.srcDirs += "src/main/kotlin"

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_downloader
22
description: Powerful plugin making it easy to download files.
3-
version: 1.10.3
3+
version: 1.10.4
44
repository: https://github.com/fluttercommunity/flutter_downloader
55
issue_tracker: https://github.com/fluttercommunity/flutter_downloader/issues
66
maintainer: Bartek Pacia (@bartekpacia)

0 commit comments

Comments
 (0)