Upgrade more dependencies for Android 13
Now is a good time as we need to thoroughly test everything again anyway.
This commit is contained in:
parent
46e19516cd
commit
6ea33632cd
15 changed files with 24 additions and 18 deletions
|
@ -1,6 +1,6 @@
|
|||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Instrumentation tests: app" type="AndroidTestRunConfigurationType" factoryName="Android Instrumented Tests" singleton="true">
|
||||
<module name="seedvault.app" />
|
||||
<module name="seedvault.app.androidTest" />
|
||||
<option name="TESTING_TYPE" value="0" />
|
||||
<option name="METHOD_NAME" value="" />
|
||||
<option name="CLASS_NAME" value="" />
|
||||
|
@ -8,10 +8,12 @@
|
|||
<option name="INSTRUMENTATION_RUNNER_CLASS" value="" />
|
||||
<option name="EXTRA_OPTIONS" value="-e notAnnotation androidx.test.filters.LargeTest" />
|
||||
<option name="INCLUDE_GRADLE_EXTRA_OPTIONS" value="true" />
|
||||
<option name="RETENTION_ENABLED" value="No" />
|
||||
<option name="RETENTION_MAX_SNAPSHOTS" value="2" />
|
||||
<option name="RETENTION_COMPRESS_SNAPSHOTS" value="false" />
|
||||
<option name="CLEAR_LOGCAT" value="false" />
|
||||
<option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
|
||||
<option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
|
||||
<option name="FORCE_STOP_RUNNING_APP" value="true" />
|
||||
<option name="INSPECTION_WITHOUT_ACTIVITY_RESTART" value="false" />
|
||||
<option name="TARGET_SELECTION_MODE" value="DEVICE_AND_SNAPSHOT_COMBO_BOX" />
|
||||
<option name="DEBUGGER_TYPE" value="Auto" />
|
||||
<Auto>
|
||||
|
@ -40,7 +42,7 @@
|
|||
<option name="ADVANCED_PROFILING_ENABLED" value="false" />
|
||||
<option name="STARTUP_PROFILING_ENABLED" value="false" />
|
||||
<option name="STARTUP_CPU_PROFILING_ENABLED" value="false" />
|
||||
<option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Sample Java Methods" />
|
||||
<option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Callstack Sample" />
|
||||
<option name="STARTUP_NATIVE_MEMORY_PROFILING_ENABLED" value="false" />
|
||||
<option name="NATIVE_MEMORY_SAMPLE_RATE_BYTES" value="2048" />
|
||||
</Profilers>
|
||||
|
|
|
@ -122,13 +122,13 @@ dependencies {
|
|||
* You can copy these libraries from ~/.gradle/caches/modules-2/files-2.1
|
||||
*/
|
||||
// later versions than 2.1.1 require newer kotlin version
|
||||
// implementation "io.insert-koin:koin-core-jvm:3.1.2"
|
||||
// implementation "io.insert-koin:koin-android:3.1.2"
|
||||
// implementation "io.insert-koin:koin-core-jvm:3.2.0"
|
||||
// implementation "io.insert-koin:koin-android:3.2.0"
|
||||
implementation fileTree(include: ['*.jar'], dir: "${rootProject.rootDir}/libs/koin-android")
|
||||
implementation fileTree(include: ['*.aar'], dir: "${rootProject.rootDir}/libs/koin-android")
|
||||
|
||||
// implementation "cash.z.ecc.android:kotlin-bip39:1.0.2"
|
||||
implementation fileTree(include: ['kotlin-bip39-1.0.2.jar'], dir: "${rootProject.rootDir}/libs")
|
||||
// implementation "cash.z.ecc.android:kotlin-bip39:1.0.4"
|
||||
implementation fileTree(include: ['kotlin-bip39-jvm-1.0.4.jar'], dir: "${rootProject.rootDir}/libs")
|
||||
|
||||
/**
|
||||
* Test Dependencies (do not concern the AOSP build)
|
||||
|
|
|
@ -3,9 +3,11 @@ ext {
|
|||
ext.room_version = "2.4.0-alpha05"
|
||||
// https://android.googlesource.com/platform/external/protobuf/+/refs/tags/android-13.0.0_r3/java/pom.xml#7
|
||||
ext.protobuf_version = "3.9.1"
|
||||
|
||||
// test dependencies below - these do not care about AOSP and can be freely updated
|
||||
junit4_version = "4.13.2"
|
||||
junit5_version = "5.5.2" // careful, upgrading this can change a Cipher's IV size in tests!?
|
||||
mockk_version = "1.12.0"
|
||||
junit5_version = "5.7.2" // careful, upgrading this can change a Cipher's IV size in tests!?
|
||||
mockk_version = "1.12.3"
|
||||
espresso_version = "3.4.0"
|
||||
}
|
||||
|
||||
|
@ -93,7 +95,7 @@ ext.std_libs = [
|
|||
]
|
||||
|
||||
ext.lint_libs = [
|
||||
exceptions: 'com.github.thirdegg:lint-rules:0.0.6-beta'
|
||||
exceptions: 'com.github.thirdegg:lint-rules:0.1.0'
|
||||
]
|
||||
|
||||
ext.storage_libs = [
|
||||
|
@ -103,7 +105,9 @@ ext.storage_libs = [
|
|||
com_google_protobuf_javalite: dependencies.create('com.google.protobuf:protobuf-javalite') {
|
||||
version { strictly "$protobuf_version" }
|
||||
},
|
||||
// https://github.com/google/tink/releases
|
||||
com_google_crypto_tink_android: dependencies.create('com.google.crypto.tink:tink-android') {
|
||||
version { strictly '1.6.1' }
|
||||
// careful with upgrading tink, so old backups continue to be decryptable
|
||||
version { strictly '1.7.0' }
|
||||
},
|
||||
]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
java_import {
|
||||
name: "seedvault-lib-kotlin-bip39",
|
||||
jars: ["kotlin-bip39-1.0.2.jar"],
|
||||
jars: ["kotlin-bip39-jvm-1.0.4.jar"],
|
||||
sdk_version: "current",
|
||||
}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
android_library_import {
|
||||
name: "seedvault-lib-koin-android",
|
||||
aars: ["koin-android-3.1.2.aar"],
|
||||
aars: ["koin-android-3.2.0.aar"],
|
||||
sdk_version: "current",
|
||||
}
|
||||
|
||||
java_import {
|
||||
name: "seedvault-lib-koin-core-jvm",
|
||||
jars: ["koin-core-jvm-3.1.2.jar"],
|
||||
jars: ["koin-core-jvm-3.2.0.jar"],
|
||||
sdk_version: "current",
|
||||
}
|
||||
|
|
Binary file not shown.
BIN
libs/koin-android/koin-android-3.2.0.aar
Normal file
BIN
libs/koin-android/koin-android-3.2.0.aar
Normal file
Binary file not shown.
Binary file not shown.
BIN
libs/koin-android/koin-core-jvm-3.2.0.jar
Normal file
BIN
libs/koin-android/koin-core-jvm-3.2.0.jar
Normal file
Binary file not shown.
Binary file not shown.
BIN
libs/kotlin-bip39-jvm-1.0.4.jar
Normal file
BIN
libs/kotlin-bip39-jvm-1.0.4.jar
Normal file
Binary file not shown.
|
@ -39,6 +39,6 @@ android_library {
|
|||
|
||||
java_import {
|
||||
name: "seedvault-lib-tink-android",
|
||||
jars: ["libs/tink-android-1.6.1.jar"],
|
||||
jars: ["libs/tink-android-1.7.0.jar"],
|
||||
sdk_version: "current",
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ plugins {
|
|||
id 'kotlin-android'
|
||||
id 'kotlin-kapt'
|
||||
id "org.jlleitschuh.gradle.ktlint" version "10.2.0"
|
||||
id 'org.jetbrains.dokka' version '1.4.30'
|
||||
id 'org.jetbrains.dokka' version "$kotlin_version"
|
||||
}
|
||||
|
||||
android {
|
||||
|
|
Binary file not shown.
BIN
storage/lib/libs/tink-android-1.7.0.jar
Normal file
BIN
storage/lib/libs/tink-android-1.7.0.jar
Normal file
Binary file not shown.
Loading…
Reference in a new issue