Skip to content

Commit c5d03ee

Browse files
authored
[many] Remove dependency on kotlin-bom (#7088)
~This dependency seems to no longer be necessary. I expected this would be because the the androidx upgrade that [landed recently](flutter/engine#53592) fixed the problem ([see theory](#7036 (comment))), but it seems that the packages even build on stable successfully. Perhaps there have been updates to the underlying `androidx` libraries themselves that fix the conflict, and we updated the versions in plugins far enough? I'm unsure.~ Updated for 3.24 release. In a sense, fixes flutter/flutter#125062
1 parent 2703d10 commit c5d03ee

File tree

32 files changed

+74
-64
lines changed

32 files changed

+74
-64
lines changed

packages/camera/camera_android_camerax/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.6.8+3
2+
3+
* Removes dependency on org.jetbrains.kotlin:kotlin-bom.
4+
* Updates minimum supported SDK version to Flutter 3.24/Dart 3.5.
5+
16
## 0.6.8+2
27

38
* Marks uses of `Camera2Interop` with `@OptIn` annotation.

packages/camera/camera_android_camerax/android/build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,4 @@ dependencies {
7171
testImplementation 'org.mockito:mockito-inline:5.0.0'
7272
testImplementation 'androidx.test:core:1.4.0'
7373
testImplementation 'org.robolectric:robolectric:4.10.3'
74-
75-
// org.jetbrains.kotlin:kotlin-bom artifact purpose is to align kotlin stdlib and related code versions.
76-
// See: https://youtrack.jetbrains.com/issue/KT-55297/kotlin-stdlib-should-declare-constraints-on-kotlin-stdlib-jdk8-and-kotlin-stdlib-jdk7
77-
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.10"))
7874
}

packages/camera/camera_android_camerax/example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ description: Demonstrates how to use the camera_android_camerax plugin.
33
publish_to: 'none'
44

55
environment:
6-
sdk: ^3.4.0
7-
flutter: ">=3.22.0"
6+
sdk: ^3.5.0
7+
flutter: ">=3.24.0"
88

99
dependencies:
1010
camera_android_camerax:

packages/camera/camera_android_camerax/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: camera_android_camerax
22
description: Android implementation of the camera plugin using the CameraX library.
33
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera_android_camerax
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
5-
version: 0.6.8+2
5+
version: 0.6.8+3
66

77
environment:
8-
sdk: ^3.4.0
9-
flutter: ">=3.22.0"
8+
sdk: ^3.5.0
9+
flutter: ">=3.24.0"
1010

1111
flutter:
1212
plugin:

packages/file_selector/file_selector_android/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.5.1+7
2+
3+
* Removes dependency on org.jetbrains.kotlin:kotlin-bom.
4+
* Updates minimum supported SDK version to Flutter 3.24/Dart 3.5.
5+
16
## 0.5.1+6
27

38
* Bumps androidx.annotation:annotation from 1.8.1 to 1.8.2.

packages/file_selector/file_selector_android/android/build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ android {
4343
testImplementation 'org.mockito:mockito-inline:5.1.0'
4444
testImplementation 'androidx.test:core:1.3.0'
4545
testImplementation "org.robolectric:robolectric:4.12.1"
46-
47-
// org.jetbrains.kotlin:kotlin-bom artifact purpose is to align kotlin stdlib and related code versions.
48-
// See: https://youtrack.jetbrains.com/issue/KT-55297/kotlin-stdlib-should-declare-constraints-on-kotlin-stdlib-jdk8-and-kotlin-stdlib-jdk7
49-
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.10"))
5046
}
5147

5248
lintOptions {

packages/file_selector/file_selector_android/example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:7.3.0'
9+
classpath 'com.android.tools.build:gradle:8.1.0'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111
}
1212
}

packages/file_selector/file_selector_android/example/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip

packages/file_selector/file_selector_android/example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ description: Demonstrates how to use the file_selector_android plugin.
33
publish_to: 'none'
44

55
environment:
6-
sdk: ^3.3.0
7-
flutter: ">=3.19.0"
6+
sdk: ^3.5.0
7+
flutter: ">=3.24.0"
88

99
dependencies:
1010
file_selector_android:

packages/file_selector/file_selector_android/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: file_selector_android
22
description: Android implementation of the file_selector package.
33
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector_android
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
5-
version: 0.5.1+6
5+
version: 0.5.1+7
66

77
environment:
8-
sdk: ^3.4.0
9-
flutter: ">=3.22.0"
8+
sdk: ^3.5.0
9+
flutter: ">=3.24.0"
1010

1111
flutter:
1212
plugin:

0 commit comments

Comments
 (0)