File tree Expand file tree Collapse file tree 6 files changed +28
-9
lines changed
example/flutter/objectbox_demo_relations/android/app
sync_flutter_libs/android Expand file tree Collapse file tree 6 files changed +28
-9
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,9 @@ Update `flutter_libs` and `sync_flutter_libs` with **compatible library versions
15
15
- [ sync_flutter_libs Linux] ( ../sync_flutter_libs/linux/CMakeLists.txt )
16
16
- [ sync_flutter_libs Windows] ( ../sync_flutter_libs/windows/CMakeLists.txt )
17
17
- Android ([ view releases] ( https://github.com/objectbox/objectbox-java/releases ) )
18
- - Shortcut: search and replace ` -android:3.2.1 ` in ` build.gradle ` files.
19
- - In [ flutter_libs] ( ../flutter_libs/android/build.gradle )
20
- - In [ sync_flutter_libs] ( ../sync_flutter_libs/android/build.gradle )
21
- - Android in examples.
22
- - Shortcut: search and replace ` -android-objectbrowser:3.2.1 ` in ` build.gradle ` files.
23
- - In [ objectbox_demo_relations] ( ../objectbox/example/flutter/objectbox_demo_relations/android/app/build.gradle )
18
+ ```
19
+ ./tool/set-android-version.sh 3.2.0
20
+ ```
24
21
- Swift (iOS/macOS) ([ view releases] ( https://github.com/objectbox/objectbox-swift/releases ) )
25
22
- Shortcut: search and replace e.g. ` s.dependency 'ObjectBox', '1.7.0 ` in ` .podspec ` files.
26
23
- In [ flutter_libs for iOS] ( ../flutter_libs/ios/objectbox_flutter_libs.podspec )
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ repositories {
16
16
17
17
dependencies {
18
18
// https://search.maven.org/search?q=g:io.objectbox%20objectbox-android
19
- implementation " io.objectbox:objectbox-android:3.2.1 "
19
+ implementation " io.objectbox:objectbox-android:3.2.0 "
20
20
}
Original file line number Diff line number Diff line change 1
1
## latest
2
2
3
+ * Revert to [ objectbox-android 3.2.0] ( https://github.com/objectbox/objectbox-java/releases/tag/V3.2.0 )
4
+ to restore query functionality (#460 ). If you are using Admin, make sure to update your
5
+ ` objectbox-android-objectbrowser ` dependency.
3
6
* Generator messages should be more helpful, provide code location when possible and link to docs.
4
7
5
8
## 1.6.1 (2022-08-22)
Original file line number Diff line number Diff line change @@ -86,5 +86,5 @@ dependencies {
86
86
// Add objectbox-android-objectbrowser only for debug builds.
87
87
// Warning: when objectbox_flutter_libs updates check if version
88
88
// needs update, e.g. check https://github.com/objectbox/objectbox-dart/releases.
89
- debugImplementation(" io.objectbox:objectbox-android-objectbrowser:3.2.1 " )
89
+ debugImplementation(" io.objectbox:objectbox-android-objectbrowser:3.2.0 " )
90
90
}
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ repositories {
16
16
17
17
dependencies {
18
18
// https://search.maven.org/search?q=g:io.objectbox%20objectbox-sync-android
19
- implementation " io.objectbox:objectbox-sync-android:3.2.1 "
19
+ implementation " io.objectbox:objectbox-sync-android:3.2.0 "
20
20
}
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ . " $( dirname " $0 " ) " /common.sh
3
+
4
+ if [[ " $# " -ne " 1" ]]; then
5
+ echo " usage: $0 <version>"
6
+ echo " e.g. $0 3.0.0"
7
+ exit 1
8
+ fi
9
+
10
+ version=$1
11
+
12
+ echo " Setting objectbox-android, objectbox-sync-android and objectbox-android-objectbrowser version: $version "
13
+
14
+ versionExpr=" s/-android:[0-9]\+\.[0-9]\+\.[0-9]\+/-android:${version} /g"
15
+ update flutter_libs/android/build.gradle " ${versionExpr} "
16
+ update sync_flutter_libs/android/build.gradle " ${versionExpr} "
17
+
18
+ versionExpr=" s/objectbox-android-objectbrowser:[0-9]\+\.[0-9]\+\.[0-9]\+/objectbox-android-objectbrowser:${version} /g"
19
+ update objectbox/example/flutter/objectbox_demo_relations/android/app/build.gradle " ${versionExpr} "
You can’t perform that action at this time.
0 commit comments