diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index ca16847d..fa9cd1e9 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -37,6 +37,9 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
+ - uses: actions/setup-java@v1
+ with:
+ java-version: 11
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
@@ -76,6 +79,9 @@ jobs:
target: [default]
steps:
- uses: actions/checkout@v2
+ - uses: actions/setup-java@v1
+ with:
+ java-version: 11
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
diff --git a/android/build.gradle b/android/build.gradle
index dcdade26..ce76d32d 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -2,14 +2,14 @@ group 'be.tramckrijte.workmanager'
version '1.0-SNAPSHOT'
buildscript {
- ext.kotlin_version = '1.5.31'
+ ext.kotlin_version = '1.6.21'
repositories {
google()
mavenCentral()
}
dependencies {
- classpath 'com.android.tools.build:gradle:4.2.2'
+ classpath 'com.android.tools.build:gradle:7.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
diff --git a/example/android/build.gradle b/example/android/build.gradle
index a6b3d652..63e5cf95 100644
--- a/example/android/build.gradle
+++ b/example/android/build.gradle
@@ -1,12 +1,12 @@
buildscript {
- ext.kotlin_version = '1.5.31'
+ ext.kotlin_version = '1.6.21'
repositories {
google()
mavenCentral()
}
dependencies {
- classpath 'com.android.tools.build:gradle:4.2.2'
+ classpath 'com.android.tools.build:gradle:7.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
diff --git a/example/android/gradle/wrapper/gradle-wrapper.properties b/example/android/gradle/wrapper/gradle-wrapper.properties
index 5600d0a3..16a648c2 100644
--- a/example/android/gradle/wrapper/gradle-wrapper.properties
+++ b/example/android/gradle/wrapper/gradle-wrapper.properties
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
\ No newline at end of file
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
\ No newline at end of file
diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock
index 62172666..21a94882 100644
--- a/example/ios/Podfile.lock
+++ b/example/ios/Podfile.lock
@@ -31,10 +31,10 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
integration_test: a1e7d09bd98eca2fc37aefd79d4f41ad37bdbbe5
- path_provider_ios: 7d7ce634493af4477d156294792024ec3485acd5
- shared_preferences_ios: aef470a42dc4675a1cdd50e3158b42e3d1232b32
+ path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02
+ shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68ad
workmanager: 0afdcf5628bbde6924c21af7836fed07b42e30e6
PODFILE CHECKSUM: 4784286582a31f30520c9182366f5a57f403a29a
-COCOAPODS: 1.11.2
+COCOAPODS: 1.11.3
diff --git a/example/ios/Runner/Info.plist b/example/ios/Runner/Info.plist
index 7e0c6ccf..718d8540 100644
--- a/example/ios/Runner/Info.plist
+++ b/example/ios/Runner/Info.plist
@@ -56,5 +56,7 @@
UIViewControllerBasedStatusBarAppearance
+ CADisableMinimumFrameDurationOnPhone
+
diff --git a/ios/Classes/SwiftWorkmanagerPlugin.swift b/ios/Classes/SwiftWorkmanagerPlugin.swift
index 6483e081..6233ff4b 100644
--- a/ios/Classes/SwiftWorkmanagerPlugin.swift
+++ b/ios/Classes/SwiftWorkmanagerPlugin.swift
@@ -185,7 +185,7 @@ extension SwiftWorkmanagerPlugin: FlutterPlugin {
result(WMPError.unhandledMethod(call.method).asFlutterError)
}
- case (ForegroundMethodChannel.Methods.CancelAllTasks.name, let .none):
+ case (ForegroundMethodChannel.Methods.CancelAllTasks.name, .none):
if #available(iOS 13.0, *) {
BGTaskScheduler.shared.cancelAllTaskRequests()
}
diff --git a/pubspec.yaml b/pubspec.yaml
index f5c1abfa..2e65f9e9 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -17,7 +17,7 @@ dev_dependencies:
build_runner: ^2.1.7
test: ^1.16.3
mockito: ^5.0.4
- get_it: ^6.1.1
+ get_it: ^7.2.0
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1