diff --git a/android/build.gradle b/android/build.gradle index 4591db5..548c19d 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:4.0.1' + classpath("com.android.tools.build:gradle:7.2.1") } } @@ -38,6 +38,6 @@ repositories { dependencies { implementation 'com.facebook.react:react-native:+' - implementation 'no.nordicsemi.android:dfu:2.0.1' + implementation 'no.nordicsemi.android:dfu:2.3.0' } diff --git a/android/gradle.properties b/android/gradle.properties new file mode 100644 index 0000000..921a0d8 --- /dev/null +++ b/android/gradle.properties @@ -0,0 +1,15 @@ +## For more details on how to configure your build environment visit +# http://www.gradle.org/docs/current/userguide/build_environment.html +# +# Specifies the JVM arguments used for the daemon process. +# The setting is particularly useful for tweaking memory settings. +# Default value: -Xmx1024m -XX:MaxPermSize=256m +# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 +# +# When configured, Gradle will run in incubating parallel mode. +# This option should only be used with decoupled projects. More details, visit +# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects +# org.gradle.parallel=true +#Sat Jan 21 13:51:07 EET 2023 +android.useAndroidX=true +android.enableJetifier=true diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 8647cd3..ec1aaec 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Tue Mar 29 14:16:16 EEST 2022 +#Sat Jan 21 14:00:10 EET 2023 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME diff --git a/react-native-nordic-dfu.podspec b/react-native-nordic-dfu.podspec index 1797e10..1dc8b96 100644 --- a/react-native-nordic-dfu.podspec +++ b/react-native-nordic-dfu.podspec @@ -16,5 +16,5 @@ Pod::Spec.new do |s| s.source_files = "ios/**/*.{h,m}" s.dependency 'React' - s.dependency 'iOSDFULibrary', '~> 4.11.1' + s.dependency 'iOSDFULibrary', '~> 4.12.0' end