0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00
Anki-Android/AnkiDroid/build.gradle

417 lines
20 KiB
Groovy
Raw Normal View History

2019-02-17 16:53:25 +01:00
plugins {
// Gradle plugin portal
Dependency updates 20230630 (#14058) * Bump com.squareup.leakcanary:leakcanary-android from 2.11 to 2.12 Bumps [com.squareup.leakcanary:leakcanary-android](https://github.com/square/leakcanary) from 2.11 to 2.12. - [Release notes](https://github.com/square/leakcanary/releases) - [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md) - [Commits](https://github.com/square/leakcanary/compare/v2.11...v2.12) --- updated-dependencies: - dependency-name: com.squareup.leakcanary:leakcanary-android dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump org.jetbrains.kotlinx:kotlinx-coroutines-test from 1.7.1 to 1.7.2 Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-test](https://github.com/Kotlin/kotlinx.coroutines) from 1.7.1 to 1.7.2. - [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases) - [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md) - [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.7.1...1.7.2) --- updated-dependencies: - dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump com.github.triplet.play from 3.8.3 to 3.8.4 Bumps com.github.triplet.play from 3.8.3 to 3.8.4. --- updated-dependencies: - dependency-name: com.github.triplet.play dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump com.android.tools.build:gradle from 7.4.2 to 8.0.2 (#13912) * Bump com.android.tools.build:gradle from 7.4.2 to 8.0.2 Bumps com.android.tools.build:gradle from 7.4.2 to 8.0.2. --- updated-dependencies: - dependency-name: com.android.tools.build:gradle dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): forward-port BuildConfig / aidl / default-component to gradle 8 * convert to non-transitive R.attr style - directly address the attributes via their specific names - remove an R-containing IntDef since R is no longer constant (the whole UndoAction class will disappear with new backend anyway) * Use attrs directly from `android` Practically, it is a non-functional change, but is is best and more natural to use attrs directly from android instead of using `com.google.android.material` as a intermediate --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Hardy <github@mikehardy.net> Co-authored-by: Brayan Oliveira <69634269+brayandso@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Brayan Oliveira <69634269+brayandso@users.noreply.github.com>
2023-07-01 17:09:10 +02:00
id 'com.github.triplet.play' version '3.8.4'
2019-02-17 16:53:25 +01:00
}
apply plugin: 'com.android.application'
apply plugin: 'app.brant.amazonappstorepublisher'
apply plugin: 'idea'
2021-05-26 21:24:24 +02:00
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-parcelize'
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
}
idea {
module {
downloadJavadoc = System.getenv("CI") != "true"
downloadSources = System.getenv("CI") != "true"
}
}
def homePath = System.properties['user.home']
android {
2023-04-30 08:43:32 +02:00
namespace "com.ichi2.anki"
2022-09-09 06:37:57 +02:00
compileSdkVersion 33 // change api compileSdkVersion at the same time
Dependency updates 20230630 (#14058) * Bump com.squareup.leakcanary:leakcanary-android from 2.11 to 2.12 Bumps [com.squareup.leakcanary:leakcanary-android](https://github.com/square/leakcanary) from 2.11 to 2.12. - [Release notes](https://github.com/square/leakcanary/releases) - [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md) - [Commits](https://github.com/square/leakcanary/compare/v2.11...v2.12) --- updated-dependencies: - dependency-name: com.squareup.leakcanary:leakcanary-android dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump org.jetbrains.kotlinx:kotlinx-coroutines-test from 1.7.1 to 1.7.2 Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-test](https://github.com/Kotlin/kotlinx.coroutines) from 1.7.1 to 1.7.2. - [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases) - [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md) - [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.7.1...1.7.2) --- updated-dependencies: - dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump com.github.triplet.play from 3.8.3 to 3.8.4 Bumps com.github.triplet.play from 3.8.3 to 3.8.4. --- updated-dependencies: - dependency-name: com.github.triplet.play dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump com.android.tools.build:gradle from 7.4.2 to 8.0.2 (#13912) * Bump com.android.tools.build:gradle from 7.4.2 to 8.0.2 Bumps com.android.tools.build:gradle from 7.4.2 to 8.0.2. --- updated-dependencies: - dependency-name: com.android.tools.build:gradle dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): forward-port BuildConfig / aidl / default-component to gradle 8 * convert to non-transitive R.attr style - directly address the attributes via their specific names - remove an R-containing IntDef since R is no longer constant (the whole UndoAction class will disappear with new backend anyway) * Use attrs directly from `android` Practically, it is a non-functional change, but is is best and more natural to use attrs directly from android instead of using `com.google.android.material` as a intermediate --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Hardy <github@mikehardy.net> Co-authored-by: Brayan Oliveira <69634269+brayandso@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Brayan Oliveira <69634269+brayandso@users.noreply.github.com>
2023-07-01 17:09:10 +02:00
buildFeatures {
buildConfig = true
aidl = true
}
defaultConfig {
applicationId "com.ichi2.anki"
buildConfigField "Boolean", "CI", (System.getenv("CI") == "true").toString()
buildConfigField "Boolean", "LEGACY_SCHEMA", "true"
buildConfigField "String", "ACRA_URL", '"https://ankidroid.org/acra/report"'
buildConfigField "String", "BACKEND_VERSION", "\"$ankidroid_backend_version\""
buildConfigField "Boolean", "ENABLE_LEAK_CANARY", "false"
buildConfigField "Boolean", "ALLOW_UNSAFE_MIGRATION", "false"
resValue "string", "app_name", "AnkiDroid"
// The version number is of the form:
// <major>.<minor>.<maintenance>[dev|alpha<build>|beta<build>|]
// The <build> is only present for alpha and beta releases (e.g., 2.0.4alpha2 or 2.0.4beta4), developer builds do
// not have a build number (e.g., 2.0.4dev) and official releases only have three components (e.g., 2.0.4).
//
// The version code is derived from the version name as follows:
// AbbCCtDD
// A: 1-digit decimal number representing the major version
// bb: 2-digit decimal number representing the minor version
// CC: 2-digit decimal number representing the maintenance version
// t: 1-digit decimal number representing the type of the build
// 0: developer build
// 1: alpha release
// 2: beta release
// 3: public release
// DD: 2-digit decimal number representing the build
// 00 for internal builds and public releases
// alpha/beta build number for alpha/beta releases
//
// This ensures the correct ordering between the various types of releases (dev < alpha < beta < release) which is
// needed for upgrades to be offered correctly.
versionCode=21603300
versionName="2.16.3"
minSdkVersion 21
//noinspection OldTargetApi - also performed in api/build.fradle
2023-04-21 04:05:55 +02:00
targetSdkVersion 31 // change .tests_emulator.yml
2014-11-10 13:10:07 +01:00
testApplicationId "com.ichi2.anki.tests"
vectorDrawables.useSupportLibrary = true
testInstrumentationRunner 'com.ichi2.testutils.NewCollectionPathTestRunner'
}
signingConfigs {
release {
storeFile file("${homePath}/src/android-keystore")
keyAlias "nrkeystorealias"
storePassword System.getenv("KSTOREPWD")
keyPassword System.getenv("KEYPWD")
}
}
buildTypes {
2018-08-28 17:21:35 +02:00
debug {
versionNameSuffix "-debug"
2018-08-28 17:21:35 +02:00
debuggable true
ci: debug identifier -> 'com.ichi2.anki.debug' Since we're moving to scoped storage, uninstalling the app will very likely delete user data. In Debug/Dev, we want this to impact the dev's workflow as little as possible So we change the applicationId. This relays the expectation that a 'stable' anki should be using 'com.ichi2.anki' and an 'unstable/dev' AnkiDroid should be 'com.ichi2.anki.debug'. A developer should have two copies of the app, each with their own storage location. API: As previously, define the API permissions/authority using the applicationId: permission: 'com.ichi2.anki.debug.permission' authority: 'com.ichi2.anki.debug.flashcards' androidTest needs to access 'com.ichi2.anki.debug.flashcards' and have 'com.ichi2.anki.debug.permission'. To resolve this, if the API is built in debug mode, the constants are modified: (api/build.gradle) * AUTHORITY = "com.ichi2.anki.debug.flashcards" * READ_WRITE_PERMISSION = "com.ichi2.anki.debug.permission.READ_WRITE_DATABASE" Implementation: High level: * Define variables in build.gradle * Handle modifying them via parallel-package-name.sh Low level: * Use 'applicationIdSuffix' for this * Modifies '<provider android:authorities>' in AndroidManifest.xml * Required for installation on device * Use 'applicationId' * Modifies '<permission android:name' in AndroidManifest.xml * Not required - cleanup on parallel-package-name.sh * Modifies preferences_sync.xml * via resValue in build.gradle * Fixes crash Source for both: https://developer.android.com/studio/build/build-variants#build-types applicationIdSuffix: https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/dsl/ApplicationVariantDimension#applicationIdSuffix() @string/applicationId * syntax ref: https://stackoverflow.com/questions/27954215/changing-resvalue-in-variant manifestPlaceholders/${applicationId} https://developer.android.com/studio/build/manage-manifests Learning: > By default, the build tools also provide your app's application ID in the ${applicationId} placeholder. The value always matches the final application ID for the current build, including changes by build variants. This is useful when you want to use a unique namespace for identifiers such as an intent action, even between your build variants. https://developer.android.com/studio/build/manage-manifests
2023-01-10 01:01:02 +01:00
applicationIdSuffix ".debug"
splits.abi.universalApk = true // Build universal APK for debug always
2018-08-28 17:21:35 +02:00
// Check Crash Reports page on developer wiki for info on ACRA testing
// buildConfigField "String", "ACRA_URL", '"https://918f7f55-f238-436c-b34f-c8b5f1331fe5-bluemix.cloudant.com/acra-ankidroid/_design/acra-storage/_update/report"'
if (project.rootProject.file('local.properties').exists()) {
Properties localProperties = new Properties()
localProperties.load(project.rootProject.file('local.properties').newDataInputStream())
// #6009 Allow optional disabling of JaCoCo for general build (assembleDebug).
// jacocoDebug task was slow, hung, and wasn't required unless I wanted coverage
testCoverageEnabled localProperties['enable_coverage'] != "false"
// not profiled: optimization for build times
if (localProperties['enable_languages'] == "false") {
android.defaultConfig.resConfigs "en"
}
// allow overriding default schema version
if (localProperties["legacy_schema"] != null) {
buildConfigField "Boolean", "LEGACY_SCHEMA", localProperties["legacy_schema"]
}
// allows the scoped storage migration when the user is not logged in
if (localProperties["allow_unsafe_migration"] != null) {
buildConfigField "Boolean", "ALLOW_UNSAFE_MIGRATION", localProperties["allow_unsafe_migration"]
}
// allow disabling leak canary
if (localProperties["enable_leak_canary"] != null) {
buildConfigField "Boolean", "ENABLE_LEAK_CANARY", localProperties["enable_leak_canary"]
} else {
buildConfigField "Boolean", "ENABLE_LEAK_CANARY", "true"
}
} else {
testCoverageEnabled true
}
// make the icon red if in debug mode
resValue 'color', 'anki_foreground_icon_color_0', "#FFFF0000"
resValue 'color', 'anki_foreground_icon_color_1', "#FFFF0000"
ci: debug identifier -> 'com.ichi2.anki.debug' Since we're moving to scoped storage, uninstalling the app will very likely delete user data. In Debug/Dev, we want this to impact the dev's workflow as little as possible So we change the applicationId. This relays the expectation that a 'stable' anki should be using 'com.ichi2.anki' and an 'unstable/dev' AnkiDroid should be 'com.ichi2.anki.debug'. A developer should have two copies of the app, each with their own storage location. API: As previously, define the API permissions/authority using the applicationId: permission: 'com.ichi2.anki.debug.permission' authority: 'com.ichi2.anki.debug.flashcards' androidTest needs to access 'com.ichi2.anki.debug.flashcards' and have 'com.ichi2.anki.debug.permission'. To resolve this, if the API is built in debug mode, the constants are modified: (api/build.gradle) * AUTHORITY = "com.ichi2.anki.debug.flashcards" * READ_WRITE_PERMISSION = "com.ichi2.anki.debug.permission.READ_WRITE_DATABASE" Implementation: High level: * Define variables in build.gradle * Handle modifying them via parallel-package-name.sh Low level: * Use 'applicationIdSuffix' for this * Modifies '<provider android:authorities>' in AndroidManifest.xml * Required for installation on device * Use 'applicationId' * Modifies '<permission android:name' in AndroidManifest.xml * Not required - cleanup on parallel-package-name.sh * Modifies preferences_sync.xml * via resValue in build.gradle * Fixes crash Source for both: https://developer.android.com/studio/build/build-variants#build-types applicationIdSuffix: https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/dsl/ApplicationVariantDimension#applicationIdSuffix() @string/applicationId * syntax ref: https://stackoverflow.com/questions/27954215/changing-resvalue-in-variant manifestPlaceholders/${applicationId} https://developer.android.com/studio/build/manage-manifests Learning: > By default, the build tools also provide your app's application ID in the ${applicationId} placeholder. The value always matches the final application ID for the current build, including changes by build variants. This is useful when you want to use a unique namespace for identifiers such as an intent action, even between your build variants. https://developer.android.com/studio/build/manage-manifests
2023-01-10 01:01:02 +01:00
resValue "string", "applicationId", "${defaultConfig.applicationId}${applicationIdSuffix}"
2018-08-28 17:21:35 +02:00
}
release {
minifyEnabled true
splits.abi.universalApk = universalApkEnabled // Build universal APK for release with `-Duniversal-apk=true`
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
// syntax: assembleRelease -PcustomSuffix="suffix" -PcustomName="New name"
if (project.hasProperty("customSuffix")) {
// the suffix needs a '.' at the start
applicationIdSuffix project.property("customSuffix").replaceFirst(/^\.*/, ".")
2023-03-05 01:48:43 +01:00
resValue "string", "applicationId", "${defaultConfig.applicationId}${applicationIdSuffix}"
} else {
resValue "string", "applicationId", defaultConfig.applicationId
}
if (project.hasProperty("customName")) {
resValue "string", "app_name", project.property("customName")
}
resValue 'color', 'anki_foreground_icon_color_0', "#FF29B6F6"
resValue 'color', 'anki_foreground_icon_color_1', "#FF0288D1"
}
}
2016-03-11 23:45:45 +01:00
/**
* Product Flavors are used for Amazon App Store and Google Play Store.
* This is because we cannot use Camera Permissions in Amazon App Store (for FireTv etc...)
* Therefore, different AndroidManifest for Camera Permissions is used in Amazon flavor.
*/
flavorDimensions "appStore"
productFlavors {
play {
dimension "appStore"
}
amazon {
dimension "appStore"
}
// A 'full' build has no restrictions on storage/camera. Distributed on GitHub/F-Droid
full {
dimension "appStore"
}
}
/**
* Set this to true to create five separate APKs instead of one:
* - 2 APKs that only work on ARM/ARM64 devices
* - 2 APKs that only works on x86/x86_64 devices
* - a universal APK that works on all devices
* The advantage is the size of most APKs is reduced by about 2.5MB.
* Upload all the APKs to the Play Store and people will download
* the correct one based on the CPU architecture of their device.
*/
def enableSeparateBuildPerCPUArchitecture = true
splits {
abi {
reset()
enable enableSeparateBuildPerCPUArchitecture
//universalApk enableUniversalApk // set in debug + release config blocks above
include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
}
}
// applicationVariants are e.g. debug, release
applicationVariants.all { variant ->
// We want the same version stream for all ABIs in debug but for release we can split them
if (variant.buildType.name == 'release') {
variant.outputs.all { output ->
// For each separate APK per architecture, set a unique version code as described here:
// https://developer.android.com/studio/build/configure-apk-splits.html
def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
def outputFile = output.outputFile
if (outputFile != null && outputFile.name.endsWith('.apk')) {
def abi = output.getFilter("ABI")
if (abi != null) { // null for the universal-debug, universal-release variants
// From: https://developer.android.com/studio/publish/versioning#appversioning
// "Warning: The greatest value Google Play allows for versionCode is 2100000000"
// AnkiDroid versionCodes have a budget 8 digits (through AnkiDroid 9)
// This style does ABI version code ranges with the 9th digit as 0-4.
// This consumes ~20% of the version range space, w/50 years of versioning at our major-version pace
output.versionCodeOverride =
// ex: 321200106 = 3 * 100000000 + 21200106
versionCodes.get(abi) * 100000000 + defaultConfig.versionCode
}
}
}
}
}
testOptions {
animationsDisabled true
}
2018-08-28 17:21:35 +02:00
compileOptions {
Dependency updates 20230628 (#14046) * Bump org.jlleitschuh.gradle:ktlint-gradle from 11.4.1 to 11.4.2 Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.4.1 to 11.4.2. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle:ktlint-gradle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): require JDK17 for the build, use JDK17 in workflows 17+ is a requirement for new AndroidX library versions, fragment library lint rules in particular are already failing our lint workflow because they no longer operate on JDK11 * Bump lint_version from 30.4.2 to 31.0.2 Bumps `lint_version` from 30.4.2 to 31.0.2. Updates `com.android.tools.lint:lint-api` from 30.4.2 to 31.0.2 Updates `com.android.tools.lint:lint` from 30.4.2 to 31.0.2 Updates `com.android.tools.lint:lint-tests` from 30.4.2 to 31.0.2 --- updated-dependencies: - dependency-name: com.android.tools.lint:lint-api dependency-type: direct:production update-type: version-update:semver-major - dependency-name: com.android.tools.lint:lint dependency-type: direct:production update-type: version-update:semver-major - dependency-name: com.android.tools.lint:lint-tests dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * build: bump JDK source/target compat to JDK11 This is needed for new versions of deps, it passes jacocoAndroidTestReport target against an API21 emulator (current minSdkVersion) so seems to be compatible with all required things * Bump org.mockito.kotlin:mockito-kotlin from 4.1.0 to 5.0.0 Bumps [org.mockito.kotlin:mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 4.1.0 to 5.0.0. - [Release notes](https://github.com/mockito/mockito-kotlin/releases) - [Commits](https://github.com/mockito/mockito-kotlin/compare/4.1.0...5.0.0) --- updated-dependencies: - dependency-name: org.mockito.kotlin:mockito-kotlin dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): have gradle wrapper update PRs go into dependencies --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 18:06:44 +02:00
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
coreLibraryDesugaringEnabled true
2018-08-28 17:21:35 +02:00
}
Dependency updates 20220216 (#13280) * Bump kotlin_version from 1.7.22 to 1.8.10 (#13196) * Bump kotlin_version from 1.7.22 to 1.8.10 Bumps `kotlin_version` from 1.7.22 to 1.8.10. Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test-junit5 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test-junit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Enable OptIn(ExperimentalCoroutinesApi) for project This will eliminate all warnings related to experimental coroutines api usages in the project, with the exception of the "api" module which was ignored. The reason for this is that the module doesn't currently use coroutines so the library( and the annotation) isn't available which results in a warning(and a crash as all warnings are fatal) when building. See: https://youtrack.jetbrains.com/issue/KT-28777/Using-experimental-coroutines-api-causes-unresolved-dependency --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> * Bump androidx.exifinterface:exifinterface from 1.3.5 to 1.3.6 Bumps androidx.exifinterface:exifinterface from 1.3.5 to 1.3.6. --- updated-dependencies: - dependency-name: androidx.exifinterface:exifinterface dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump androidx.browser:browser from 1.4.0 to 1.5.0 Bumps androidx.browser:browser from 1.4.0 to 1.5.0. --- updated-dependencies: - dependency-name: androidx.browser:browser dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump sqlite-framework from 2.2.0 to 2.3.0 (#13104) Bumps sqlite-framework from 2.2.0 to 2.3.0. --- updated-dependencies: - dependency-name: androidx.sqlite:sqlite-framework dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update database related code to match the new release parameter types Changes in this PR: - DatabaseChangeDecorator: update of the methods signatures according to the library types changes, safe because we went from non nullable parameter types to more permisive nullable types - DB: went from nullable query/bindArgs parameters to non null types. Reviewed all usages of the changed methods and verified that the changes are ok. One of the methods was changed to remove the bindArgs param(which was set to null) because they weren't used and they were breaking the type system. - Anki2Importer: remove the null bindArgs parameter as it wasn't used and it was breaking the type system. - Finder: replaced bindArgs parameter value with an emptyArray() if it is null to conform to the new type system(I assumed that a null value represented no bindARgs parameters). This SHOULD be ok but is difficult to say for sure as the code building the query is complex. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> * Bump androidx.appcompat:appcompat from 1.6.0-rc01 to 1.7.0-alpha02 Bumps androidx.appcompat:appcompat from 1.6.0-rc01 to 1.7.0-alpha02. --- updated-dependencies: - dependency-name: androidx.appcompat:appcompat dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix kotlin/java compile target harmony issues ``` * What went wrong: Execution failed for task ':lint-rules:compileTestKotlin'. 'compileTestJava' task (current target is 11) and 'compileTestKotlin' task (current target is 18) jvm target compatibility should be set to the same Java version. Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain ``` https://issuetracker.google.com/issues/260059413 https://kotlinlang.org/docs/gradle-configure-project.html#gradle-java-toolchains-support --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com>
2023-02-17 13:34:53 +01:00
kotlinOptions {
Dependency updates 20230628 (#14046) * Bump org.jlleitschuh.gradle:ktlint-gradle from 11.4.1 to 11.4.2 Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.4.1 to 11.4.2. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle:ktlint-gradle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): require JDK17 for the build, use JDK17 in workflows 17+ is a requirement for new AndroidX library versions, fragment library lint rules in particular are already failing our lint workflow because they no longer operate on JDK11 * Bump lint_version from 30.4.2 to 31.0.2 Bumps `lint_version` from 30.4.2 to 31.0.2. Updates `com.android.tools.lint:lint-api` from 30.4.2 to 31.0.2 Updates `com.android.tools.lint:lint` from 30.4.2 to 31.0.2 Updates `com.android.tools.lint:lint-tests` from 30.4.2 to 31.0.2 --- updated-dependencies: - dependency-name: com.android.tools.lint:lint-api dependency-type: direct:production update-type: version-update:semver-major - dependency-name: com.android.tools.lint:lint dependency-type: direct:production update-type: version-update:semver-major - dependency-name: com.android.tools.lint:lint-tests dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * build: bump JDK source/target compat to JDK11 This is needed for new versions of deps, it passes jacocoAndroidTestReport target against an API21 emulator (current minSdkVersion) so seems to be compatible with all required things * Bump org.mockito.kotlin:mockito-kotlin from 4.1.0 to 5.0.0 Bumps [org.mockito.kotlin:mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 4.1.0 to 5.0.0. - [Release notes](https://github.com/mockito/mockito-kotlin/releases) - [Commits](https://github.com/mockito/mockito-kotlin/compare/4.1.0...5.0.0) --- updated-dependencies: - dependency-name: org.mockito.kotlin:mockito-kotlin dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): have gradle wrapper update PRs go into dependencies --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 18:06:44 +02:00
jvmTarget = JavaVersion.VERSION_11
Dependency updates 20220216 (#13280) * Bump kotlin_version from 1.7.22 to 1.8.10 (#13196) * Bump kotlin_version from 1.7.22 to 1.8.10 Bumps `kotlin_version` from 1.7.22 to 1.8.10. Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test-junit5 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test-junit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Enable OptIn(ExperimentalCoroutinesApi) for project This will eliminate all warnings related to experimental coroutines api usages in the project, with the exception of the "api" module which was ignored. The reason for this is that the module doesn't currently use coroutines so the library( and the annotation) isn't available which results in a warning(and a crash as all warnings are fatal) when building. See: https://youtrack.jetbrains.com/issue/KT-28777/Using-experimental-coroutines-api-causes-unresolved-dependency --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> * Bump androidx.exifinterface:exifinterface from 1.3.5 to 1.3.6 Bumps androidx.exifinterface:exifinterface from 1.3.5 to 1.3.6. --- updated-dependencies: - dependency-name: androidx.exifinterface:exifinterface dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump androidx.browser:browser from 1.4.0 to 1.5.0 Bumps androidx.browser:browser from 1.4.0 to 1.5.0. --- updated-dependencies: - dependency-name: androidx.browser:browser dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump sqlite-framework from 2.2.0 to 2.3.0 (#13104) Bumps sqlite-framework from 2.2.0 to 2.3.0. --- updated-dependencies: - dependency-name: androidx.sqlite:sqlite-framework dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update database related code to match the new release parameter types Changes in this PR: - DatabaseChangeDecorator: update of the methods signatures according to the library types changes, safe because we went from non nullable parameter types to more permisive nullable types - DB: went from nullable query/bindArgs parameters to non null types. Reviewed all usages of the changed methods and verified that the changes are ok. One of the methods was changed to remove the bindArgs param(which was set to null) because they weren't used and they were breaking the type system. - Anki2Importer: remove the null bindArgs parameter as it wasn't used and it was breaking the type system. - Finder: replaced bindArgs parameter value with an emptyArray() if it is null to conform to the new type system(I assumed that a null value represented no bindARgs parameters). This SHOULD be ok but is difficult to say for sure as the code building the query is complex. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> * Bump androidx.appcompat:appcompat from 1.6.0-rc01 to 1.7.0-alpha02 Bumps androidx.appcompat:appcompat from 1.6.0-rc01 to 1.7.0-alpha02. --- updated-dependencies: - dependency-name: androidx.appcompat:appcompat dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix kotlin/java compile target harmony issues ``` * What went wrong: Execution failed for task ':lint-rules:compileTestKotlin'. 'compileTestJava' task (current target is 11) and 'compileTestKotlin' task (current target is 18) jvm target compatibility should be set to the same Java version. Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain ``` https://issuetracker.google.com/issues/260059413 https://kotlinlang.org/docs/gradle-configure-project.html#gradle-java-toolchains-support --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com>
2023-02-17 13:34:53 +01:00
}
2021-01-18 23:20:24 +01:00
ndkVersion "22.0.7026061"
}
play {
serviceAccountCredentials.set(file("${homePath}/src/AnkiDroid-GCP-Publish-Credentials.json"))
track.set('alpha')
}
amazon {
securityProfile = file("${homePath}/src/AnkiDroid-Amazon-Publish-Security-Profile.json")
applicationId = "amzn1.devportal.mobileapp.524a424d314931494c55383833305539"
pathToApks = [ file("./build/outputs/apk/amazon/release/AnkiDroid-amazon-universal-release.apk") ]
replaceEdit = true
}
2021-05-31 15:50:12 +02:00
// Install Git pre-commit hook for Ktlint
task installGitHook(type: Copy) {
from new File(rootProject.rootDir, 'pre-commit')
into { new File(rootProject.rootDir, '.git/hooks') }
fileMode 0755
}
tasks.getByPath(':AnkiDroid:preBuild').dependsOn installGitHook
// Issue 11078 - some emulators run, but run zero tests, and still report success
task assertNonzeroAndroidTests() {
doLast {
// androidTest currently creates one .xml file per emulator with aggregate results in this dir
File folder = file("./build/outputs/androidTest-results/connected/flavors/play")
File[] listOfFiles = folder.listFiles({ d, f -> f ==~ /.*.xml/ } as FilenameFilter)
for (File file : listOfFiles) {
// The aggregate results file currently contains a line with this pattern holding test count
String[] matches = file.readLines().findAll { it.contains('<testsuite') }
if (matches.length != 1) {
throw new GradleScriptException("Unable to determine count of tests executed for " + file.name + ". Regex pattern out of date?", null)
}
if (!(matches[0] ==~ /.* tests="\d+" .*/) || matches[0].contains('tests="0"')) {
throw new GradleScriptException("androidTest executed 0 tests for " + file.name + " - Probably a bug with the emulator. Try another image.", null)
}
}
}
}
afterEvaluate {
tasks.getByPath(':AnkiDroid:connectedPlayDebugAndroidTest').finalizedBy(assertNonzeroAndroidTests)
}
apply from: "./robolectricDownloader.gradle"
apply from: "./jacoco.gradle"
apply from: "../lint.gradle"
dependencies {
configurations.all {
resolutionStrategy {
Dependency updates 20230323 (#13487) * Bump org.jetbrains:annotations from 24.0.0 to 24.0.1 Bumps [org.jetbrains:annotations](https://github.com/JetBrains/java-annotations) from 24.0.0 to 24.0.1. - [Release notes](https://github.com/JetBrains/java-annotations/releases) - [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md) - [Commits](https://github.com/JetBrains/java-annotations/commits) --- updated-dependencies: - dependency-name: org.jetbrains:annotations dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump org.jlleitschuh.gradle:ktlint-gradle from 11.2.0 to 11.3.1 Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.2.0 to 11.3.1. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle:ktlint-gradle dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.google.protobuf:protobuf-kotlin Bumps com.google.protobuf:protobuf-kotlin from 3.21.12 to 3.22.2. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.recyclerview:recyclerview from 1.2.1 to 1.3.0 Bumps androidx.recyclerview:recyclerview from 1.2.1 to 1.3.0. --- updated-dependencies: - dependency-name: androidx.recyclerview:recyclerview dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.sqlite:sqlite-framework from 2.3.0 to 2.3.1 Bumps androidx.sqlite:sqlite-framework from 2.3.0 to 2.3.1. --- updated-dependencies: - dependency-name: androidx.sqlite:sqlite-framework dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.activity:activity-ktx from 1.6.1 to 1.7.0 Bumps androidx.activity:activity-ktx from 1.6.1 to 1.7.0. --- updated-dependencies: - dependency-name: androidx.activity:activity-ktx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.webkit:webkit from 1.6.0 to 1.6.1 Bumps androidx.webkit:webkit from 1.6.0 to 1.6.1. --- updated-dependencies: - dependency-name: androidx.webkit:webkit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.mockito:mockito-inline from 5.1.1 to 5.2.0 Bumps [org.mockito:mockito-inline](https://github.com/mockito/mockito) from 5.1.1 to 5.2.0. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.1.1...v5.2.0) --- updated-dependencies: - dependency-name: org.mockito:mockito-inline dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump fragments_version from 1.5.5 to 1.5.6 Bumps `fragments_version` from 1.5.5 to 1.5.6. Updates `androidx.fragment:fragment-ktx` from 1.5.5 to 1.5.6 Updates `androidx.fragment:fragment-testing` from 1.5.5 to 1.5.6 --- updated-dependencies: - dependency-name: androidx.fragment:fragment-ktx dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.fragment:fragment-testing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-23 16:11:40 +01:00
force 'org.jetbrains:annotations:24.0.1'
}
}
lintChecks project(":lint-rules")
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'
Dependency updates 20230323 (#13487) * Bump org.jetbrains:annotations from 24.0.0 to 24.0.1 Bumps [org.jetbrains:annotations](https://github.com/JetBrains/java-annotations) from 24.0.0 to 24.0.1. - [Release notes](https://github.com/JetBrains/java-annotations/releases) - [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md) - [Commits](https://github.com/JetBrains/java-annotations/commits) --- updated-dependencies: - dependency-name: org.jetbrains:annotations dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump org.jlleitschuh.gradle:ktlint-gradle from 11.2.0 to 11.3.1 Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.2.0 to 11.3.1. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle:ktlint-gradle dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.google.protobuf:protobuf-kotlin Bumps com.google.protobuf:protobuf-kotlin from 3.21.12 to 3.22.2. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.recyclerview:recyclerview from 1.2.1 to 1.3.0 Bumps androidx.recyclerview:recyclerview from 1.2.1 to 1.3.0. --- updated-dependencies: - dependency-name: androidx.recyclerview:recyclerview dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.sqlite:sqlite-framework from 2.3.0 to 2.3.1 Bumps androidx.sqlite:sqlite-framework from 2.3.0 to 2.3.1. --- updated-dependencies: - dependency-name: androidx.sqlite:sqlite-framework dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.activity:activity-ktx from 1.6.1 to 1.7.0 Bumps androidx.activity:activity-ktx from 1.6.1 to 1.7.0. --- updated-dependencies: - dependency-name: androidx.activity:activity-ktx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.webkit:webkit from 1.6.0 to 1.6.1 Bumps androidx.webkit:webkit from 1.6.0 to 1.6.1. --- updated-dependencies: - dependency-name: androidx.webkit:webkit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.mockito:mockito-inline from 5.1.1 to 5.2.0 Bumps [org.mockito:mockito-inline](https://github.com/mockito/mockito) from 5.1.1 to 5.2.0. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.1.1...v5.2.0) --- updated-dependencies: - dependency-name: org.mockito:mockito-inline dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump fragments_version from 1.5.5 to 1.5.6 Bumps `fragments_version` from 1.5.5 to 1.5.6. Updates `androidx.fragment:fragment-ktx` from 1.5.5 to 1.5.6 Updates `androidx.fragment:fragment-testing` from 1.5.5 to 1.5.6 --- updated-dependencies: - dependency-name: androidx.fragment:fragment-ktx dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.fragment:fragment-testing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-23 16:11:40 +01:00
compileOnly 'org.jetbrains:annotations:24.0.1'
Dependency updates 20230622 (#14020) * Bump androidx.activity:activity-ktx from 1.7.1 to 1.7.2 Bumps androidx.activity:activity-ktx from 1.7.1 to 1.7.2. --- updated-dependencies: - dependency-name: androidx.activity:activity-ktx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump acra_version from 5.9.7 to 5.10.1 Bumps `acra_version` from 5.9.7 to 5.10.1. Updates `ch.acra:acra-http` from 5.9.7 to 5.10.1 - [Release notes](https://github.com/ACRA/acra/releases) - [Commits](https://github.com/ACRA/acra/compare/acra-5.9.7...acra-5.10.1) Updates `ch.acra:acra-dialog` from 5.9.7 to 5.10.1 - [Release notes](https://github.com/ACRA/acra/releases) - [Commits](https://github.com/ACRA/acra/compare/acra-5.9.7...acra-5.10.1) Updates `ch.acra:acra-toast` from 5.9.7 to 5.10.1 - [Release notes](https://github.com/ACRA/acra/releases) - [Commits](https://github.com/ACRA/acra/compare/acra-5.9.7...acra-5.10.1) Updates `ch.acra:acra-limiter` from 5.9.7 to 5.10.1 - [Release notes](https://github.com/ACRA/acra/releases) - [Commits](https://github.com/ACRA/acra/compare/acra-5.9.7...acra-5.10.1) --- updated-dependencies: - dependency-name: ch.acra:acra-http dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: ch.acra:acra-dialog dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: ch.acra:acra-toast dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: ch.acra:acra-limiter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump org.jlleitschuh.gradle:ktlint-gradle from 11.3.2 to 11.4.1 Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.3.2 to 11.4.1. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle:ktlint-gradle dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump com.google.auto.service:auto-service-annotations Bumps [com.google.auto.service:auto-service-annotations](https://github.com/google/auto) from 1.0.1 to 1.1.1. - [Release notes](https://github.com/google/auto/releases) - [Commits](https://github.com/google/auto/compare/auto-common-1.0.1...auto-service-1.1.1) --- updated-dependencies: - dependency-name: com.google.auto.service:auto-service-annotations dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump kotlin_version from 1.8.21 to 1.8.22 Bumps `kotlin_version` from 1.8.21 to 1.8.22. Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) Updates `org.jetbrains.kotlin:kotlin-test` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump com.google.auto.service:auto-service from 1.0.1 to 1.1.1 Bumps [com.google.auto.service:auto-service](https://github.com/google/auto) from 1.0.1 to 1.1.1. - [Release notes](https://github.com/google/auto/releases) - [Commits](https://github.com/google/auto/compare/auto-common-1.0.1...auto-service-1.1.1) --- updated-dependencies: - dependency-name: com.google.auto.service:auto-service dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump androidx.webkit:webkit from 1.6.1 to 1.7.0 Bumps androidx.webkit:webkit from 1.6.1 to 1.7.0. --- updated-dependencies: - dependency-name: androidx.webkit:webkit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 16:48:24 +02:00
compileOnly "com.google.auto.service:auto-service-annotations:1.1.1"
annotationProcessor "com.google.auto.service:auto-service:1.1.1"
2018-10-09 06:25:08 +02:00
Dependency updates 20230622 (#14020) * Bump androidx.activity:activity-ktx from 1.7.1 to 1.7.2 Bumps androidx.activity:activity-ktx from 1.7.1 to 1.7.2. --- updated-dependencies: - dependency-name: androidx.activity:activity-ktx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump acra_version from 5.9.7 to 5.10.1 Bumps `acra_version` from 5.9.7 to 5.10.1. Updates `ch.acra:acra-http` from 5.9.7 to 5.10.1 - [Release notes](https://github.com/ACRA/acra/releases) - [Commits](https://github.com/ACRA/acra/compare/acra-5.9.7...acra-5.10.1) Updates `ch.acra:acra-dialog` from 5.9.7 to 5.10.1 - [Release notes](https://github.com/ACRA/acra/releases) - [Commits](https://github.com/ACRA/acra/compare/acra-5.9.7...acra-5.10.1) Updates `ch.acra:acra-toast` from 5.9.7 to 5.10.1 - [Release notes](https://github.com/ACRA/acra/releases) - [Commits](https://github.com/ACRA/acra/compare/acra-5.9.7...acra-5.10.1) Updates `ch.acra:acra-limiter` from 5.9.7 to 5.10.1 - [Release notes](https://github.com/ACRA/acra/releases) - [Commits](https://github.com/ACRA/acra/compare/acra-5.9.7...acra-5.10.1) --- updated-dependencies: - dependency-name: ch.acra:acra-http dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: ch.acra:acra-dialog dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: ch.acra:acra-toast dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: ch.acra:acra-limiter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump org.jlleitschuh.gradle:ktlint-gradle from 11.3.2 to 11.4.1 Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.3.2 to 11.4.1. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle:ktlint-gradle dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump com.google.auto.service:auto-service-annotations Bumps [com.google.auto.service:auto-service-annotations](https://github.com/google/auto) from 1.0.1 to 1.1.1. - [Release notes](https://github.com/google/auto/releases) - [Commits](https://github.com/google/auto/compare/auto-common-1.0.1...auto-service-1.1.1) --- updated-dependencies: - dependency-name: com.google.auto.service:auto-service-annotations dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump kotlin_version from 1.8.21 to 1.8.22 Bumps `kotlin_version` from 1.8.21 to 1.8.22. Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) Updates `org.jetbrains.kotlin:kotlin-test` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump com.google.auto.service:auto-service from 1.0.1 to 1.1.1 Bumps [com.google.auto.service:auto-service](https://github.com/google/auto) from 1.0.1 to 1.1.1. - [Release notes](https://github.com/google/auto/releases) - [Commits](https://github.com/google/auto/compare/auto-common-1.0.1...auto-service-1.1.1) --- updated-dependencies: - dependency-name: com.google.auto.service:auto-service dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump androidx.webkit:webkit from 1.6.1 to 1.7.0 Bumps androidx.webkit:webkit from 1.6.1 to 1.7.0. --- updated-dependencies: - dependency-name: androidx.webkit:webkit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 16:48:24 +02:00
implementation 'androidx.activity:activity-ktx:1.7.2'
Dependency updates 20220228 (#13364) * Bump com.github.triplet.play from 3.7.0 to 3.8.1 Bumps com.github.triplet.play from 3.7.0 to 3.8.1. --- updated-dependencies: - dependency-name: com.github.triplet.play dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump org.jsoup:jsoup from 1.15.3 to 1.15.4 Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup) from 1.15.3 to 1.15.4. - [Release notes](https://github.com/jhy/jsoup/releases) - [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES) - [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.15.3...jsoup-1.15.4) --- updated-dependencies: - dependency-name: org.jsoup:jsoup dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump androidx.annotation:annotation from 1.5.0 to 1.6.0 Bumps androidx.annotation:annotation from 1.5.0 to 1.6.0. --- updated-dependencies: - dependency-name: androidx.annotation:annotation dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump lint_version from 30.4.1 to 30.4.2 Bumps `lint_version` from 30.4.1 to 30.4.2. Updates `com.android.tools.lint:lint-api` from 30.4.1 to 30.4.2 Updates `com.android.tools.lint:lint` from 30.4.1 to 30.4.2 Updates `com.android.tools.lint:lint-tests` from 30.4.1 to 30.4.2 --- updated-dependencies: - dependency-name: com.android.tools.lint:lint-api dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: com.android.tools.lint:lint dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: com.android.tools.lint:lint-tests dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump com.android.tools.build:gradle from 7.4.1 to 7.4.2 Bumps com.android.tools.build:gradle from 7.4.1 to 7.4.2. --- updated-dependencies: - dependency-name: com.android.tools.build:gradle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 15:25:18 +01:00
implementation 'androidx.annotation:annotation:1.6.0'
Dependency updates 20220216 (#13280) * Bump kotlin_version from 1.7.22 to 1.8.10 (#13196) * Bump kotlin_version from 1.7.22 to 1.8.10 Bumps `kotlin_version` from 1.7.22 to 1.8.10. Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test-junit5 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test-junit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Enable OptIn(ExperimentalCoroutinesApi) for project This will eliminate all warnings related to experimental coroutines api usages in the project, with the exception of the "api" module which was ignored. The reason for this is that the module doesn't currently use coroutines so the library( and the annotation) isn't available which results in a warning(and a crash as all warnings are fatal) when building. See: https://youtrack.jetbrains.com/issue/KT-28777/Using-experimental-coroutines-api-causes-unresolved-dependency --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> * Bump androidx.exifinterface:exifinterface from 1.3.5 to 1.3.6 Bumps androidx.exifinterface:exifinterface from 1.3.5 to 1.3.6. --- updated-dependencies: - dependency-name: androidx.exifinterface:exifinterface dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump androidx.browser:browser from 1.4.0 to 1.5.0 Bumps androidx.browser:browser from 1.4.0 to 1.5.0. --- updated-dependencies: - dependency-name: androidx.browser:browser dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump sqlite-framework from 2.2.0 to 2.3.0 (#13104) Bumps sqlite-framework from 2.2.0 to 2.3.0. --- updated-dependencies: - dependency-name: androidx.sqlite:sqlite-framework dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update database related code to match the new release parameter types Changes in this PR: - DatabaseChangeDecorator: update of the methods signatures according to the library types changes, safe because we went from non nullable parameter types to more permisive nullable types - DB: went from nullable query/bindArgs parameters to non null types. Reviewed all usages of the changed methods and verified that the changes are ok. One of the methods was changed to remove the bindArgs param(which was set to null) because they weren't used and they were breaking the type system. - Anki2Importer: remove the null bindArgs parameter as it wasn't used and it was breaking the type system. - Finder: replaced bindArgs parameter value with an emptyArray() if it is null to conform to the new type system(I assumed that a null value represented no bindARgs parameters). This SHOULD be ok but is difficult to say for sure as the code building the query is complex. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> * Bump androidx.appcompat:appcompat from 1.6.0-rc01 to 1.7.0-alpha02 Bumps androidx.appcompat:appcompat from 1.6.0-rc01 to 1.7.0-alpha02. --- updated-dependencies: - dependency-name: androidx.appcompat:appcompat dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix kotlin/java compile target harmony issues ``` * What went wrong: Execution failed for task ':lint-rules:compileTestKotlin'. 'compileTestJava' task (current target is 11) and 'compileTestKotlin' task (current target is 18) jvm target compatibility should be set to the same Java version. Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain ``` https://issuetracker.google.com/issues/260059413 https://kotlinlang.org/docs/gradle-configure-project.html#gradle-java-toolchains-support --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com>
2023-02-17 13:34:53 +01:00
implementation 'androidx.appcompat:appcompat:1.7.0-alpha02'
implementation 'androidx.browser:browser:1.5.0'
Dependency updates 20231305 (#13846) * build(deps): bump com.fasterxml.jackson.core:jackson-databind Bumps [com.fasterxml.jackson.core:jackson-databind](https://github.com/FasterXML/jackson) from 2.12.0 to 2.15.0. - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) --- updated-dependencies: - dependency-name: com.fasterxml.jackson.core:jackson-databind dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.robolectric:robolectric from 4.10.1 to 4.10.2 Bumps [org.robolectric:robolectric](https://github.com/robolectric/robolectric) from 4.10.1 to 4.10.2. - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.10.1...robolectric-4.10.2) --- updated-dependencies: - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.google.protobuf:protobuf-kotlin Bumps com.google.protobuf:protobuf-kotlin from 3.22.3 to 3.22.4. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.google.protobuf:protobuf-kotlin Bumps com.google.protobuf:protobuf-kotlin from 3.22.4 to 3.23.0. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.github.triplet.play from 3.8.2 to 3.8.3 Bumps com.github.triplet.play from 3.8.2 to 3.8.3. --- updated-dependencies: - dependency-name: com.github.triplet.play dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.core:core-ktx from 1.10.0 to 1.10.1 Bumps androidx.core:core-ktx from 1.10.0 to 1.10.1. --- updated-dependencies: - dependency-name: androidx.core:core-ktx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-13 20:45:08 +02:00
implementation "androidx.core:core-ktx:1.10.1"
Dependency updates 20220216 (#13280) * Bump kotlin_version from 1.7.22 to 1.8.10 (#13196) * Bump kotlin_version from 1.7.22 to 1.8.10 Bumps `kotlin_version` from 1.7.22 to 1.8.10. Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test-junit5 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test-junit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Enable OptIn(ExperimentalCoroutinesApi) for project This will eliminate all warnings related to experimental coroutines api usages in the project, with the exception of the "api" module which was ignored. The reason for this is that the module doesn't currently use coroutines so the library( and the annotation) isn't available which results in a warning(and a crash as all warnings are fatal) when building. See: https://youtrack.jetbrains.com/issue/KT-28777/Using-experimental-coroutines-api-causes-unresolved-dependency --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> * Bump androidx.exifinterface:exifinterface from 1.3.5 to 1.3.6 Bumps androidx.exifinterface:exifinterface from 1.3.5 to 1.3.6. --- updated-dependencies: - dependency-name: androidx.exifinterface:exifinterface dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump androidx.browser:browser from 1.4.0 to 1.5.0 Bumps androidx.browser:browser from 1.4.0 to 1.5.0. --- updated-dependencies: - dependency-name: androidx.browser:browser dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump sqlite-framework from 2.2.0 to 2.3.0 (#13104) Bumps sqlite-framework from 2.2.0 to 2.3.0. --- updated-dependencies: - dependency-name: androidx.sqlite:sqlite-framework dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update database related code to match the new release parameter types Changes in this PR: - DatabaseChangeDecorator: update of the methods signatures according to the library types changes, safe because we went from non nullable parameter types to more permisive nullable types - DB: went from nullable query/bindArgs parameters to non null types. Reviewed all usages of the changed methods and verified that the changes are ok. One of the methods was changed to remove the bindArgs param(which was set to null) because they weren't used and they were breaking the type system. - Anki2Importer: remove the null bindArgs parameter as it wasn't used and it was breaking the type system. - Finder: replaced bindArgs parameter value with an emptyArray() if it is null to conform to the new type system(I assumed that a null value represented no bindARgs parameters). This SHOULD be ok but is difficult to say for sure as the code building the query is complex. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> * Bump androidx.appcompat:appcompat from 1.6.0-rc01 to 1.7.0-alpha02 Bumps androidx.appcompat:appcompat from 1.6.0-rc01 to 1.7.0-alpha02. --- updated-dependencies: - dependency-name: androidx.appcompat:appcompat dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix kotlin/java compile target harmony issues ``` * What went wrong: Execution failed for task ':lint-rules:compileTestKotlin'. 'compileTestJava' task (current target is 11) and 'compileTestKotlin' task (current target is 18) jvm target compatibility should be set to the same Java version. Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain ``` https://issuetracker.google.com/issues/260059413 https://kotlinlang.org/docs/gradle-configure-project.html#gradle-java-toolchains-support --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com>
2023-02-17 13:34:53 +01:00
implementation 'androidx.exifinterface:exifinterface:1.3.6'
implementation "androidx.fragment:fragment-ktx:$fragments_version"
debugImplementation("androidx.fragment:fragment-testing-manifest:$fragments_version")
Dependency updates 20220201 (#10296) * Bump mockito-inline from 4.3.0 to 4.3.1 Bumps [mockito-inline](https://github.com/mockito/mockito) from 4.3.0 to 4.3.1. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v4.3.0...v4.3.1) --- updated-dependencies: - dependency-name: org.mockito:mockito-inline dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * test(lint): only run default TestModes for prefer is empty check if the extra whitespace mode runs, it perturbs the diff and the check fails * Bump lint_version from 30.0.4 to 30.1.0 Bumps `lint_version` from 30.0.4 to 30.1.0. Updates `lint-api` from 30.0.4 to 30.1.0 Updates `lint` from 30.0.4 to 30.1.0 Updates `lint-tests` from 30.0.4 to 30.1.0 --- updated-dependencies: - dependency-name: com.android.tools.lint:lint-api dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.android.tools.lint:lint dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.android.tools.lint:lint-tests dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump fragment-testing from 1.4.0 to 1.4.1 Bumps fragment-testing from 1.4.0 to 1.4.1. --- updated-dependencies: - dependency-name: androidx.fragment:fragment-testing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump preference-ktx from 1.1.1 to 1.2.0 Bumps preference-ktx from 1.1.1 to 1.2.0. --- updated-dependencies: - dependency-name: androidx.preference:preference-ktx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * test(layout): do not attempt to inflate preference_category_material * Bump fragment-ktx from 1.4.0 to 1.4.1 Bumps fragment-ktx from 1.4.0 to 1.4.1. --- updated-dependencies: - dependency-name: androidx.fragment:fragment-ktx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump protobuf-java from 3.19.3 to 3.19.4 Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.19.3 to 3.19.4. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/master/generate_changelog.py) - [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.19.3...v3.19.4) --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-java dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-01 14:43:44 +01:00
implementation "androidx.preference:preference-ktx:1.2.0"
Dependency updates 20230323 (#13487) * Bump org.jetbrains:annotations from 24.0.0 to 24.0.1 Bumps [org.jetbrains:annotations](https://github.com/JetBrains/java-annotations) from 24.0.0 to 24.0.1. - [Release notes](https://github.com/JetBrains/java-annotations/releases) - [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md) - [Commits](https://github.com/JetBrains/java-annotations/commits) --- updated-dependencies: - dependency-name: org.jetbrains:annotations dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump org.jlleitschuh.gradle:ktlint-gradle from 11.2.0 to 11.3.1 Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.2.0 to 11.3.1. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle:ktlint-gradle dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.google.protobuf:protobuf-kotlin Bumps com.google.protobuf:protobuf-kotlin from 3.21.12 to 3.22.2. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.recyclerview:recyclerview from 1.2.1 to 1.3.0 Bumps androidx.recyclerview:recyclerview from 1.2.1 to 1.3.0. --- updated-dependencies: - dependency-name: androidx.recyclerview:recyclerview dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.sqlite:sqlite-framework from 2.3.0 to 2.3.1 Bumps androidx.sqlite:sqlite-framework from 2.3.0 to 2.3.1. --- updated-dependencies: - dependency-name: androidx.sqlite:sqlite-framework dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.activity:activity-ktx from 1.6.1 to 1.7.0 Bumps androidx.activity:activity-ktx from 1.6.1 to 1.7.0. --- updated-dependencies: - dependency-name: androidx.activity:activity-ktx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.webkit:webkit from 1.6.0 to 1.6.1 Bumps androidx.webkit:webkit from 1.6.0 to 1.6.1. --- updated-dependencies: - dependency-name: androidx.webkit:webkit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.mockito:mockito-inline from 5.1.1 to 5.2.0 Bumps [org.mockito:mockito-inline](https://github.com/mockito/mockito) from 5.1.1 to 5.2.0. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.1.1...v5.2.0) --- updated-dependencies: - dependency-name: org.mockito:mockito-inline dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump fragments_version from 1.5.5 to 1.5.6 Bumps `fragments_version` from 1.5.5 to 1.5.6. Updates `androidx.fragment:fragment-ktx` from 1.5.5 to 1.5.6 Updates `androidx.fragment:fragment-testing` from 1.5.5 to 1.5.6 --- updated-dependencies: - dependency-name: androidx.fragment:fragment-ktx dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.fragment:fragment-testing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-23 16:11:40 +01:00
implementation 'androidx.recyclerview:recyclerview:1.3.0'
implementation 'androidx.sqlite:sqlite-framework:2.3.1'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation 'androidx.viewpager2:viewpager2:1.0.0'
2022-05-30 16:43:35 +02:00
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
Dependency updates 20230622 (#14020) * Bump androidx.activity:activity-ktx from 1.7.1 to 1.7.2 Bumps androidx.activity:activity-ktx from 1.7.1 to 1.7.2. --- updated-dependencies: - dependency-name: androidx.activity:activity-ktx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump acra_version from 5.9.7 to 5.10.1 Bumps `acra_version` from 5.9.7 to 5.10.1. Updates `ch.acra:acra-http` from 5.9.7 to 5.10.1 - [Release notes](https://github.com/ACRA/acra/releases) - [Commits](https://github.com/ACRA/acra/compare/acra-5.9.7...acra-5.10.1) Updates `ch.acra:acra-dialog` from 5.9.7 to 5.10.1 - [Release notes](https://github.com/ACRA/acra/releases) - [Commits](https://github.com/ACRA/acra/compare/acra-5.9.7...acra-5.10.1) Updates `ch.acra:acra-toast` from 5.9.7 to 5.10.1 - [Release notes](https://github.com/ACRA/acra/releases) - [Commits](https://github.com/ACRA/acra/compare/acra-5.9.7...acra-5.10.1) Updates `ch.acra:acra-limiter` from 5.9.7 to 5.10.1 - [Release notes](https://github.com/ACRA/acra/releases) - [Commits](https://github.com/ACRA/acra/compare/acra-5.9.7...acra-5.10.1) --- updated-dependencies: - dependency-name: ch.acra:acra-http dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: ch.acra:acra-dialog dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: ch.acra:acra-toast dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: ch.acra:acra-limiter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump org.jlleitschuh.gradle:ktlint-gradle from 11.3.2 to 11.4.1 Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.3.2 to 11.4.1. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle:ktlint-gradle dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump com.google.auto.service:auto-service-annotations Bumps [com.google.auto.service:auto-service-annotations](https://github.com/google/auto) from 1.0.1 to 1.1.1. - [Release notes](https://github.com/google/auto/releases) - [Commits](https://github.com/google/auto/compare/auto-common-1.0.1...auto-service-1.1.1) --- updated-dependencies: - dependency-name: com.google.auto.service:auto-service-annotations dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump kotlin_version from 1.8.21 to 1.8.22 Bumps `kotlin_version` from 1.8.21 to 1.8.22. Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) Updates `org.jetbrains.kotlin:kotlin-test` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.8.21 to 1.8.22 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.22/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.21...v1.8.22) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump com.google.auto.service:auto-service from 1.0.1 to 1.1.1 Bumps [com.google.auto.service:auto-service](https://github.com/google/auto) from 1.0.1 to 1.1.1. - [Release notes](https://github.com/google/auto/releases) - [Commits](https://github.com/google/auto/compare/auto-common-1.0.1...auto-service-1.1.1) --- updated-dependencies: - dependency-name: com.google.auto.service:auto-service dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump androidx.webkit:webkit from 1.6.1 to 1.7.0 Bumps androidx.webkit:webkit from 1.6.1 to 1.7.0. --- updated-dependencies: - dependency-name: androidx.webkit:webkit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 16:48:24 +02:00
implementation 'androidx.webkit:webkit:1.7.0'
// Note: the design support library can be quite buggy, so test everything thoroughly before updating it
2023-05-10 15:16:30 +02:00
// Changing the version from 1.8.0 to 1.7.0 because the item in navigation drawer is getting bold unnecessarily
implementation 'com.google.android.material:material:1.7.0'
// noinspection GradleDependency jackson-databind 2.13 requires SDK 24+: https://github.com/FasterXML/jackson-databind#compatibility
Dependency updates 20230621 (#14009) * fix API < 24 build by using compatible jackson-databind version this effectively reverts a dependabot PR that I approved, not realizing I was breaking API<24 * build(deps): configure dependeabot to ignore jackson-databind for now used stategy similar to that used for org.apache.commons:commons-compress so we stay informed of new updates but are not tempted to slide out of compatible range yet * build(deps): bump org.jetbrains.kotlinx:kotlinx-coroutines-test from 1.6.4 to 1.7.1 (#13847) * build(deps): bump org.jetbrains.kotlinx:kotlinx-coroutines-test Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-test](https://github.com/Kotlin/kotlinx.coroutines) from 1.6.4 to 1.7.1. - [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases) - [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md) - [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.4...1.7.1) --- updated-dependencies: - dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix deprecation for coroutines library version 1.7.1 The new version introduces an API change: - runTest now takes a duration instead of Long(fixed with the extension Long.milliseconds) - the previous parameter "dispatchTimeout" which handled the timeout for a coroutine inside runTest is now "timeout" which represents the total amount of time allowed for runTest. Kept it as it is now, we might want to increase it if tests start to timeout. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> * Bump com.google.protobuf:protobuf-kotlin from 3.23.0 to 3.23.3 Bumps com.google.protobuf:protobuf-kotlin from 3.23.0 to 3.23.3. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.squareup.leakcanary:leakcanary-android Bumps [com.squareup.leakcanary:leakcanary-android](https://github.com/square/leakcanary) from 2.10 to 2.11. - [Release notes](https://github.com/square/leakcanary/releases) - [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md) - [Commits](https://github.com/square/leakcanary/compare/v2.10...v2.11) --- updated-dependencies: - dependency-name: com.squareup.leakcanary:leakcanary-android dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.robolectric:robolectric from 4.10.2 to 4.10.3 Bumps [org.robolectric:robolectric](https://github.com/robolectric/robolectric) from 4.10.2 to 4.10.3. - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.10.2...robolectric-4.10.3) --- updated-dependencies: - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump commons-io:commons-io from 2.11.0 to 2.13.0 Bumps commons-io:commons-io from 2.11.0 to 2.13.0. --- updated-dependencies: - dependency-name: commons-io:commons-io dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com>
2023-06-21 20:50:38 +02:00
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.5'
implementation 'com.vanniktech:android-image-cropper:4.5.0'
implementation 'org.nanohttpd:nanohttpd:2.3.1'
// Backend libraries
Dependency updates 20230621 (#14009) * fix API < 24 build by using compatible jackson-databind version this effectively reverts a dependabot PR that I approved, not realizing I was breaking API<24 * build(deps): configure dependeabot to ignore jackson-databind for now used stategy similar to that used for org.apache.commons:commons-compress so we stay informed of new updates but are not tempted to slide out of compatible range yet * build(deps): bump org.jetbrains.kotlinx:kotlinx-coroutines-test from 1.6.4 to 1.7.1 (#13847) * build(deps): bump org.jetbrains.kotlinx:kotlinx-coroutines-test Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-test](https://github.com/Kotlin/kotlinx.coroutines) from 1.6.4 to 1.7.1. - [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases) - [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md) - [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.4...1.7.1) --- updated-dependencies: - dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix deprecation for coroutines library version 1.7.1 The new version introduces an API change: - runTest now takes a duration instead of Long(fixed with the extension Long.milliseconds) - the previous parameter "dispatchTimeout" which handled the timeout for a coroutine inside runTest is now "timeout" which represents the total amount of time allowed for runTest. Kept it as it is now, we might want to increase it if tests start to timeout. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> * Bump com.google.protobuf:protobuf-kotlin from 3.23.0 to 3.23.3 Bumps com.google.protobuf:protobuf-kotlin from 3.23.0 to 3.23.3. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.squareup.leakcanary:leakcanary-android Bumps [com.squareup.leakcanary:leakcanary-android](https://github.com/square/leakcanary) from 2.10 to 2.11. - [Release notes](https://github.com/square/leakcanary/releases) - [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md) - [Commits](https://github.com/square/leakcanary/compare/v2.10...v2.11) --- updated-dependencies: - dependency-name: com.squareup.leakcanary:leakcanary-android dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.robolectric:robolectric from 4.10.2 to 4.10.3 Bumps [org.robolectric:robolectric](https://github.com/robolectric/robolectric) from 4.10.2 to 4.10.3. - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.10.2...robolectric-4.10.3) --- updated-dependencies: - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump commons-io:commons-io from 2.11.0 to 2.13.0 Bumps commons-io:commons-io from 2.11.0 to 2.13.0. --- updated-dependencies: - dependency-name: commons-io:commons-io dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com>
2023-06-21 20:50:38 +02:00
implementation 'com.google.protobuf:protobuf-kotlin:3.23.3' // This is required when loading from a file
Properties localProperties = new Properties()
if (project.rootProject.file('local.properties').exists()) {
localProperties.load(project.rootProject.file('local.properties').newDataInputStream())
}
if (localProperties['local_backend'] == "true") {
implementation files("../../Anki-Android-Backend/rsdroid/build/outputs/aar/rsdroid-release.aar")
testImplementation files("../../Anki-Android-Backend/rsdroid-testing/build/libs/rsdroid-testing-${ankidroid_backend_version}.jar")
// On Windows, you can use something like
// implementation files("C:\\GitHub\\Rust-Test\\rsdroid\\build\\outputs\\aar\\rsdroid-release.aar")
} else {
implementation "io.github.david-allison-1:anki-android-backend:$ankidroid_backend_version"
testImplementation "io.github.david-allison-1:anki-android-backend-testing:$ankidroid_backend_version"
}
// A path for a testing library which provide Parameterized Test
testImplementation "org.junit.jupiter:junit-jupiter:$junit_version"
testImplementation "org.junit.jupiter:junit-jupiter-params:$junit_version"
2018-10-05 19:41:05 +02:00
// May need a resolution strategy for support libs to our versions
implementation "ch.acra:acra-http:$acra_version"
implementation "ch.acra:acra-dialog:$acra_version"
implementation "ch.acra:acra-toast:$acra_version"
implementation "ch.acra:acra-limiter:$acra_version"
2018-10-05 19:41:05 +02:00
2022-06-16 21:54:47 +02:00
implementation 'com.afollestad.material-dialogs:core:3.3.0'
implementation 'com.afollestad.material-dialogs:input:3.3.0'
// io.github.java-diff-utils:java-diff-utils is the natural successor here, but requires API24, #7091
implementation 'org.bitbucket.cowwoc:diff-match-patch:1.2'
// noinspection GradleDependency - commons-compress 1.12 - later versions use `File.toPath`; API26 can remove?
implementation 'org.apache.commons:commons-compress:1.12' // #6419 - handle >2GB apkg files
implementation 'org.apache.commons:commons-collections4:4.4' // SetUniqueList
Dependency updates 20230621 (#14009) * fix API < 24 build by using compatible jackson-databind version this effectively reverts a dependabot PR that I approved, not realizing I was breaking API<24 * build(deps): configure dependeabot to ignore jackson-databind for now used stategy similar to that used for org.apache.commons:commons-compress so we stay informed of new updates but are not tempted to slide out of compatible range yet * build(deps): bump org.jetbrains.kotlinx:kotlinx-coroutines-test from 1.6.4 to 1.7.1 (#13847) * build(deps): bump org.jetbrains.kotlinx:kotlinx-coroutines-test Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-test](https://github.com/Kotlin/kotlinx.coroutines) from 1.6.4 to 1.7.1. - [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases) - [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md) - [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.4...1.7.1) --- updated-dependencies: - dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix deprecation for coroutines library version 1.7.1 The new version introduces an API change: - runTest now takes a duration instead of Long(fixed with the extension Long.milliseconds) - the previous parameter "dispatchTimeout" which handled the timeout for a coroutine inside runTest is now "timeout" which represents the total amount of time allowed for runTest. Kept it as it is now, we might want to increase it if tests start to timeout. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> * Bump com.google.protobuf:protobuf-kotlin from 3.23.0 to 3.23.3 Bumps com.google.protobuf:protobuf-kotlin from 3.23.0 to 3.23.3. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.squareup.leakcanary:leakcanary-android Bumps [com.squareup.leakcanary:leakcanary-android](https://github.com/square/leakcanary) from 2.10 to 2.11. - [Release notes](https://github.com/square/leakcanary/releases) - [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md) - [Commits](https://github.com/square/leakcanary/compare/v2.10...v2.11) --- updated-dependencies: - dependency-name: com.squareup.leakcanary:leakcanary-android dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.robolectric:robolectric from 4.10.2 to 4.10.3 Bumps [org.robolectric:robolectric](https://github.com/robolectric/robolectric) from 4.10.2 to 4.10.3. - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.10.2...robolectric-4.10.3) --- updated-dependencies: - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump commons-io:commons-io from 2.11.0 to 2.13.0 Bumps commons-io:commons-io from 2.11.0 to 2.13.0. --- updated-dependencies: - dependency-name: commons-io:commons-io dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com>
2023-06-21 20:50:38 +02:00
implementation 'commons-io:commons-io:2.13.0' // FileUtils.contentEquals
implementation 'net.mikehardy:google-analytics-java7:2.0.13'
Dependency updates 20230425 (#13721) * build(deps): bump kotlin_version from 1.8.20 to 1.8.21 Bumps `kotlin_version` from 1.8.20 to 1.8.21. Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.8.20 to 1.8.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.21/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.20...v1.8.21) Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.8.20 to 1.8.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.21/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.20...v1.8.21) Updates `org.jetbrains.kotlin:kotlin-test` from 1.8.20 to 1.8.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.21/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.20...v1.8.21) Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.8.20 to 1.8.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.21/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.20...v1.8.21) Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.8.20 to 1.8.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.21/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.20...v1.8.21) Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.8.20 to 1.8.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.21/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.20...v1.8.21) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.squareup.okhttp3:okhttp from 4.10.0 to 4.11.0 Bumps [com.squareup.okhttp3:okhttp](https://github.com/square/okhttp) from 4.10.0 to 4.11.0. - [Release notes](https://github.com/square/okhttp/releases) - [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md) - [Commits](https://github.com/square/okhttp/compare/parent-4.10.0...parent-4.11.0) --- updated-dependencies: - dependency-name: com.squareup.okhttp3:okhttp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.fasterxml.jackson.core:jackson-databind Bumps [com.fasterxml.jackson.core:jackson-databind](https://github.com/FasterXML/jackson) from 2.14.2 to 2.15.0. - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) --- updated-dependencies: - dependency-name: com.fasterxml.jackson.core:jackson-databind dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-26 04:22:07 +02:00
implementation 'com.squareup.okhttp3:okhttp:4.11.0'
Dependency updates (SLF4J-Timber, Powermock, Appcompat) (#5108) * Bump powermock-module-junit4 from 2.0.0-RC.1 to 2.0.0-RC.3 Bumps [powermock-module-junit4](https://github.com/powermock/powermock) from 2.0.0-RC.1 to 2.0.0-RC.3. - [Release notes](https://github.com/powermock/powermock/releases) - [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt) - [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.0-RC.1...powermock-2.0.0-RC.3) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump powermock-api-mockito2 from 2.0.0-RC.1 to 2.0.0-RC.3 Bumps [powermock-api-mockito2](https://github.com/powermock/powermock) from 2.0.0-RC.1 to 2.0.0-RC.3. - [Release notes](https://github.com/powermock/powermock/releases) - [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt) - [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.0-RC.1...powermock-2.0.0-RC.3) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump powermock-core from 2.0.0-RC.1 to 2.0.0-RC.3 Bumps [powermock-core](https://github.com/powermock/powermock) from 2.0.0-RC.1 to 2.0.0-RC.3. - [Release notes](https://github.com/powermock/powermock/releases) - [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt) - [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.0-RC.1...powermock-2.0.0-RC.3) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump appcompat from 1.0.1 to 1.0.2 Bumps appcompat from 1.0.1 to 1.0.2. Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump slf4j-timber from 3.0 to 3.1 Bumps [slf4j-timber](https://github.com/arcao/slf4j-timber) from 3.0 to 3.1. - [Release notes](https://github.com/arcao/slf4j-timber/releases) - [Changelog](https://github.com/arcao/slf4j-timber/blob/master/CHANGELOG.md) - [Commits](https://github.com/arcao/slf4j-timber/compare/3.0...3.1) Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-08 14:53:48 +01:00
implementation 'com.arcao:slf4j-timber:3.1'
Dependency updates 20210819 (#9429) * Update Gradle Wrapper from 7.0.2 to 7.2. Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> * build(deps): bump timber from 5.0.0 to 5.0.1 Bumps [timber](https://github.com/JakeWharton/timber) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/JakeWharton/timber/releases) - [Changelog](https://github.com/JakeWharton/timber/blob/trunk/CHANGELOG.md) - [Commits](https://github.com/JakeWharton/timber/compare/5.0.0...5.0.1) --- updated-dependencies: - dependency-name: com.jakewharton.timber:timber dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump material-tap-target-prompt from 3.2.0 to 3.3.0 Bumps [material-tap-target-prompt](https://github.com/sjwall/MaterialTapTargetPrompt) from 3.2.0 to 3.3.0. - [Release notes](https://github.com/sjwall/MaterialTapTargetPrompt/releases) - [Changelog](https://github.com/sjwall/MaterialTapTargetPrompt/blob/master/CHANGELOG.md) - [Commits](https://github.com/sjwall/MaterialTapTargetPrompt/compare/v3.2.0...v3.3.0) --- updated-dependencies: - dependency-name: uk.co.samuelwall:material-tap-target-prompt dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump gradle from 7.0.0 to 7.0.1 Bumps gradle from 7.0.0 to 7.0.1. --- updated-dependencies: - dependency-name: com.android.tools.build:gradle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump lint_version from 30.0.0 to 30.0.1 Bumps `lint_version` from 30.0.0 to 30.0.1. Updates `lint-api` from 30.0.0 to 30.0.1 Updates `lint` from 30.0.0 to 30.0.1 Updates `lint-tests` from 30.0.0 to 30.0.1 --- updated-dependencies: - dependency-name: com.android.tools.lint:lint-api dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: com.android.tools.lint:lint dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: com.android.tools.lint:lint-tests dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump jsoup from 1.14.1 to 1.14.2 Bumps [jsoup](https://github.com/jhy/jsoup) from 1.14.1 to 1.14.2. - [Release notes](https://github.com/jhy/jsoup/releases) - [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES) - [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.14.1...jsoup-1.14.2) --- updated-dependencies: - dependency-name: org.jsoup:jsoup dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-19 20:33:03 +02:00
implementation 'com.jakewharton.timber:timber:5.0.1'
Dependency updates 20230503 (#13790) * build(deps): bump junit_version from 5.9.2 to 5.9.3 Bumps `junit_version` from 5.9.2 to 5.9.3. Updates `org.junit.jupiter:junit-jupiter` from 5.9.2 to 5.9.3 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.9.2...r5.9.3) Updates `org.junit.vintage:junit-vintage-engine` from 5.9.2 to 5.9.3 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.9.2...r5.9.3) Updates `org.junit.jupiter:junit-jupiter-params` from 5.9.2 to 5.9.3 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.9.2...r5.9.3) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.junit.vintage:junit-vintage-engine dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.junit.jupiter:junit-jupiter-params dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jlleitschuh.gradle:ktlint-gradle Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.3.1 to 11.3.2. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle:ktlint-gradle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.github.triplet.play from 3.8.1 to 3.8.2 Bumps com.github.triplet.play from 3.8.1 to 3.8.2. --- updated-dependencies: - dependency-name: com.github.triplet.play dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jsoup:jsoup from 1.15.4 to 1.16.1 Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup) from 1.15.4 to 1.16.1. - [Release notes](https://github.com/jhy/jsoup/releases) - [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES) - [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.15.4...jsoup-1.16.1) --- updated-dependencies: - dependency-name: org.jsoup:jsoup dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump lint_version from 31.0.0 to 31.0.1 Bumps `lint_version` from 31.0.0 to 31.0.1. Updates `com.android.tools.lint:lint-api` from 31.0.0 to 31.0.1 Updates `com.android.tools.lint:lint` from 31.0.0 to 31.0.1 Updates `com.android.tools.lint:lint-tests` from 31.0.0 to 31.0.1 --- updated-dependencies: - dependency-name: com.android.tools.lint:lint-api dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: com.android.tools.lint:lint dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: com.android.tools.lint:lint-tests dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.robolectric:robolectric from 4.9.2 to 4.10.1 Bumps [org.robolectric:robolectric](https://github.com/robolectric/robolectric) from 4.9.2 to 4.10.1. - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.9.2...robolectric-4.10.1) --- updated-dependencies: - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-03 17:04:48 +02:00
implementation 'org.jsoup:jsoup:1.16.1'
implementation "com.github.zafarkhaja:java-semver:0.9.0" // For AnkiDroid JS API Versioning
implementation 'com.drakeet.drawer:drawer:1.0.3'
Dependency updates 20211118 (#9932) * build(deps): bump material-tap-target-prompt from 3.3.0 to 3.3.1 Bumps [material-tap-target-prompt](https://github.com/sjwall/MaterialTapTargetPrompt) from 3.3.0 to 3.3.1. - [Release notes](https://github.com/sjwall/MaterialTapTargetPrompt/releases) - [Changelog](https://github.com/sjwall/MaterialTapTargetPrompt/blob/master/CHANGELOG.md) - [Commits](https://github.com/sjwall/MaterialTapTargetPrompt/compare/v3.3.0...v3.3.1) --- updated-dependencies: - dependency-name: uk.co.samuelwall:material-tap-target-prompt dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump material-tap-target-prompt from 3.3.1 to 3.3.2 Bumps [material-tap-target-prompt](https://github.com/sjwall/MaterialTapTargetPrompt) from 3.3.1 to 3.3.2. - [Release notes](https://github.com/sjwall/MaterialTapTargetPrompt/releases) - [Changelog](https://github.com/sjwall/MaterialTapTargetPrompt/blob/master/CHANGELOG.md) - [Commits](https://github.com/sjwall/MaterialTapTargetPrompt/compare/v3.3.1...v3.3.2) --- updated-dependencies: - dependency-name: uk.co.samuelwall:material-tap-target-prompt dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump annotations from 22.0.0 to 23.0.0 (#9869) * Bump annotations from 22.0.0 to 23.0.0 Bumps [annotations](https://github.com/JetBrains/java-annotations) from 22.0.0 to 23.0.0. - [Release notes](https://github.com/JetBrains/java-annotations/releases) - [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md) - [Commits](https://github.com/JetBrains/java-annotations/compare/22.0.0...23.0.0) --- updated-dependencies: - dependency-name: org.jetbrains:annotations dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Bump robolectric from 4.6.1 to 4.7 Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.6.1 to 4.7. - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.6.1...robolectric-4.7) --- updated-dependencies: - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix(test): Kotlin 1.6 requires exhaustive `when`, fix TagsDialogTest * Bump kotlin_version from 1.5.31 to 1.6.0 Bumps `kotlin_version` from 1.5.31 to 1.6.0. Updates `kotlin-gradle-plugin` from 1.5.31 to 1.6.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) Updates `kotlin-stdlib` from 1.5.31 to 1.6.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) Updates `kotlin-stdlib-jdk7` from 1.5.31 to 1.6.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) Updates `kotlin-reflect` from 1.5.31 to 1.6.0 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/commits) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-stdlib-jdk7 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump robolectric from 4.7 to 4.7.1 Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.7 to 4.7.1. - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.7...robolectric-4.7.1) --- updated-dependencies: - dependency-name: org.robolectric:robolectric dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump appcompat from 1.3.1 to 1.4.0 fix: androidx.appcompat.resources.R.layout no longer exists Bumps appcompat from 1.3.1 to 1.4.0. --- updated-dependencies: - dependency-name: androidx.appcompat:appcompat dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix(lint): add copyright * Bump fragment-ktx from 1.3.6 to 1.4.0 Bumps fragment-ktx from 1.3.6 to 1.4.0. Note: https://issuetracker.google.com/issues/206855622 requires ignoring ObsoleteLintCustomCheck for now --- updated-dependencies: - dependency-name: androidx.fragment:fragment-ktx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump fragment-testing from 1.3.6 to 1.4.0 Bumps fragment-testing from 1.3.6 to 1.4.0. --- updated-dependencies: - dependency-name: androidx.fragment:fragment-testing dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Allison <62114487+david-allison-1@users.noreply.github.com>
2021-11-19 01:33:55 +01:00
implementation 'uk.co.samuelwall:material-tap-target-prompt:3.3.2'
implementation 'com.github.mrudultora:Colorpicker:1.2.0'
Dependency updates 20220730 (#11943) * Bump kotlin_version from 1.7.0 to 1.7.10 Bumps `kotlin_version` from 1.7.0 to 1.7.10. Updates `kotlin-reflect` from 1.7.0 to 1.7.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.0...v1.7.10) Updates `kotlin-test` from 1.7.0 to 1.7.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.0...v1.7.10) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump junit_version from 5.8.2 to 5.9.0 Bumps `junit_version` from 5.8.2 to 5.9.0. Updates `junit-jupiter` from 5.8.2 to 5.9.0 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.8.2...r5.9.0) Updates `junit-vintage-engine` from 5.8.2 to 5.9.0 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.8.2...r5.9.0) Updates `junit-jupiter-params` from 5.8.2 to 5.9.0 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.8.2...r5.9.0) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.junit.vintage:junit-vintage-engine dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.junit.jupiter:junit-jupiter-params dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump fragments_version from 1.5.0 to 1.5.1 Bumps `fragments_version` from 1.5.0 to 1.5.1. Updates `fragment-ktx` from 1.5.0 to 1.5.1 Updates `fragment-testing` from 1.5.0 to 1.5.1 --- updated-dependencies: - dependency-name: androidx.fragment:fragment-ktx dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.fragment:fragment-testing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump activity-ktx from 1.5.0 to 1.5.1 Bumps activity-ktx from 1.5.0 to 1.5.1. --- updated-dependencies: - dependency-name: androidx.activity:activity-ktx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump mockk from 1.12.4 to 1.12.5 Bumps [mockk](https://github.com/mockk/mockk) from 1.12.4 to 1.12.5. - [Release notes](https://github.com/mockk/mockk/releases) - [Commits](https://github.com/mockk/mockk/compare/1.12.4...1.12.5) --- updated-dependencies: - dependency-name: io.mockk:mockk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump protobuf-kotlin from 3.21.3 to 3.21.4 Bumps protobuf-kotlin from 3.21.3 to 3.21.4. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-30 20:31:24 +02:00
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
implementation 'com.github.ByteHamster:SearchPreference:v2.3.0'
Dependency updates 20220913 (#12393) * build(deps): bump jackson-databind from 2.13.3 to 2.13.4 Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.3 to 2.13.4. - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) --- updated-dependencies: - dependency-name: com.fasterxml.jackson.core:jackson-databind dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump AppIntro from 6.1.0 to 6.2.0 Bumps [AppIntro](https://github.com/AppIntro/AppIntro) from 6.1.0 to 6.2.0. - [Release notes](https://github.com/AppIntro/AppIntro/releases) - [Changelog](https://github.com/AppIntro/AppIntro/blob/main/CHANGELOG.md) - [Commits](https://github.com/AppIntro/AppIntro/compare/6.1.0...6.2.0) --- updated-dependencies: - dependency-name: com.github.AppIntro:AppIntro dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump appcompat from 1.4.2 to 1.5.1 Bumps appcompat from 1.4.2 to 1.5.1. --- updated-dependencies: - dependency-name: androidx.appcompat:appcompat dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump mockito-inline from 4.7.0 to 4.8.0 Bumps [mockito-inline](https://github.com/mockito/mockito) from 4.7.0 to 4.8.0. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v4.7.0...v4.8.0) --- updated-dependencies: - dependency-name: org.mockito:mockito-inline dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump Android-Image-Cropper from 4.3.1 to 4.3.2 Bumps [Android-Image-Cropper](https://github.com/CanHub/Android-Image-Cropper) from 4.3.1 to 4.3.2. - [Release notes](https://github.com/CanHub/Android-Image-Cropper/releases) - [Changelog](https://github.com/CanHub/Android-Image-Cropper/blob/main/CHANGELOG.md) - [Commits](https://github.com/CanHub/Android-Image-Cropper/compare/4.3.1...4.3.2) --- updated-dependencies: - dependency-name: com.github.CanHub:Android-Image-Cropper dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump core-ktx from 1.8.0 to 1.9.0 Bumps core-ktx from 1.8.0 to 1.9.0. --- updated-dependencies: - dependency-name: androidx.core:core-ktx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-13 21:58:14 +02:00
implementation 'com.github.AppIntro:AppIntro:6.2.0'
2022-06-16 21:54:47 +02:00
// Cannot use debugImplementation since classes need to be imported in AnkiDroidApp
// and there's no no-op version for release build. Usage has been disabled for release
// build via AnkiDroidApp.
Dependency updates 20230630 (#14058) * Bump com.squareup.leakcanary:leakcanary-android from 2.11 to 2.12 Bumps [com.squareup.leakcanary:leakcanary-android](https://github.com/square/leakcanary) from 2.11 to 2.12. - [Release notes](https://github.com/square/leakcanary/releases) - [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md) - [Commits](https://github.com/square/leakcanary/compare/v2.11...v2.12) --- updated-dependencies: - dependency-name: com.squareup.leakcanary:leakcanary-android dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump org.jetbrains.kotlinx:kotlinx-coroutines-test from 1.7.1 to 1.7.2 Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-test](https://github.com/Kotlin/kotlinx.coroutines) from 1.7.1 to 1.7.2. - [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases) - [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md) - [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.7.1...1.7.2) --- updated-dependencies: - dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump com.github.triplet.play from 3.8.3 to 3.8.4 Bumps com.github.triplet.play from 3.8.3 to 3.8.4. --- updated-dependencies: - dependency-name: com.github.triplet.play dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump com.android.tools.build:gradle from 7.4.2 to 8.0.2 (#13912) * Bump com.android.tools.build:gradle from 7.4.2 to 8.0.2 Bumps com.android.tools.build:gradle from 7.4.2 to 8.0.2. --- updated-dependencies: - dependency-name: com.android.tools.build:gradle dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): forward-port BuildConfig / aidl / default-component to gradle 8 * convert to non-transitive R.attr style - directly address the attributes via their specific names - remove an R-containing IntDef since R is no longer constant (the whole UndoAction class will disappear with new backend anyway) * Use attrs directly from `android` Practically, it is a non-functional change, but is is best and more natural to use attrs directly from android instead of using `com.google.android.material` as a intermediate --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Hardy <github@mikehardy.net> Co-authored-by: Brayan Oliveira <69634269+brayandso@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Brayan Oliveira <69634269+brayandso@users.noreply.github.com>
2023-07-01 17:09:10 +02:00
implementation 'com.squareup.leakcanary:leakcanary-android:2.12'
api project(":api")
testImplementation "org.junit.vintage:junit-vintage-engine:$junit_version"
Dependency updates 20230323 (#13487) * Bump org.jetbrains:annotations from 24.0.0 to 24.0.1 Bumps [org.jetbrains:annotations](https://github.com/JetBrains/java-annotations) from 24.0.0 to 24.0.1. - [Release notes](https://github.com/JetBrains/java-annotations/releases) - [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md) - [Commits](https://github.com/JetBrains/java-annotations/commits) --- updated-dependencies: - dependency-name: org.jetbrains:annotations dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump org.jlleitschuh.gradle:ktlint-gradle from 11.2.0 to 11.3.1 Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.2.0 to 11.3.1. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle:ktlint-gradle dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.google.protobuf:protobuf-kotlin Bumps com.google.protobuf:protobuf-kotlin from 3.21.12 to 3.22.2. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.recyclerview:recyclerview from 1.2.1 to 1.3.0 Bumps androidx.recyclerview:recyclerview from 1.2.1 to 1.3.0. --- updated-dependencies: - dependency-name: androidx.recyclerview:recyclerview dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.sqlite:sqlite-framework from 2.3.0 to 2.3.1 Bumps androidx.sqlite:sqlite-framework from 2.3.0 to 2.3.1. --- updated-dependencies: - dependency-name: androidx.sqlite:sqlite-framework dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.activity:activity-ktx from 1.6.1 to 1.7.0 Bumps androidx.activity:activity-ktx from 1.6.1 to 1.7.0. --- updated-dependencies: - dependency-name: androidx.activity:activity-ktx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.webkit:webkit from 1.6.0 to 1.6.1 Bumps androidx.webkit:webkit from 1.6.0 to 1.6.1. --- updated-dependencies: - dependency-name: androidx.webkit:webkit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.mockito:mockito-inline from 5.1.1 to 5.2.0 Bumps [org.mockito:mockito-inline](https://github.com/mockito/mockito) from 5.1.1 to 5.2.0. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v5.1.1...v5.2.0) --- updated-dependencies: - dependency-name: org.mockito:mockito-inline dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump fragments_version from 1.5.5 to 1.5.6 Bumps `fragments_version` from 1.5.5 to 1.5.6. Updates `androidx.fragment:fragment-ktx` from 1.5.5 to 1.5.6 Updates `androidx.fragment:fragment-testing` from 1.5.5 to 1.5.6 --- updated-dependencies: - dependency-name: androidx.fragment:fragment-ktx dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.fragment:fragment-testing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-23 16:11:40 +01:00
testImplementation 'org.mockito:mockito-inline:5.2.0'
Dependency updates 20230628 (#14046) * Bump org.jlleitschuh.gradle:ktlint-gradle from 11.4.1 to 11.4.2 Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.4.1 to 11.4.2. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle:ktlint-gradle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): require JDK17 for the build, use JDK17 in workflows 17+ is a requirement for new AndroidX library versions, fragment library lint rules in particular are already failing our lint workflow because they no longer operate on JDK11 * Bump lint_version from 30.4.2 to 31.0.2 Bumps `lint_version` from 30.4.2 to 31.0.2. Updates `com.android.tools.lint:lint-api` from 30.4.2 to 31.0.2 Updates `com.android.tools.lint:lint` from 30.4.2 to 31.0.2 Updates `com.android.tools.lint:lint-tests` from 30.4.2 to 31.0.2 --- updated-dependencies: - dependency-name: com.android.tools.lint:lint-api dependency-type: direct:production update-type: version-update:semver-major - dependency-name: com.android.tools.lint:lint dependency-type: direct:production update-type: version-update:semver-major - dependency-name: com.android.tools.lint:lint-tests dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * build: bump JDK source/target compat to JDK11 This is needed for new versions of deps, it passes jacocoAndroidTestReport target against an API21 emulator (current minSdkVersion) so seems to be compatible with all required things * Bump org.mockito.kotlin:mockito-kotlin from 4.1.0 to 5.0.0 Bumps [org.mockito.kotlin:mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 4.1.0 to 5.0.0. - [Release notes](https://github.com/mockito/mockito-kotlin/releases) - [Commits](https://github.com/mockito/mockito-kotlin/compare/4.1.0...5.0.0) --- updated-dependencies: - dependency-name: org.mockito.kotlin:mockito-kotlin dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): have gradle wrapper update PRs go into dependencies --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 18:06:44 +02:00
testImplementation "org.mockito.kotlin:mockito-kotlin:5.0.0"
testImplementation "org.hamcrest:hamcrest:$hamcrest_version"
testImplementation 'net.lachlanmckee:timber-junit-rule:1.0.1'
// robolectricDownloader.gradle *may* need a new SDK jar entry if they release one or if we change targetSdk. Instructions in that gradle file.
testImplementation "org.robolectric:robolectric:$robolectric_version"
Dependency updates 20221111 (#12817) * Bump jackson-databind from 2.13.4.2 to 2.14.0 Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.4.2 to 2.14.0. - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) --- updated-dependencies: - dependency-name: com.fasterxml.jackson.core:jackson-databind dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump kotlin_version from 1.7.20 to 1.7.21 Bumps `kotlin_version` from 1.7.20 to 1.7.21. Updates `kotlin-gradle-plugin` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-stdlib` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-test` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-reflect` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-test-junit5` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-test-junit` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): parameterize androidx test/espresso/test-junit versions These need to move as a block, and they don't offer a bill of materials, this is the next best thing * test(deps): exclude androidx.test:core from fragment-testing transitive deps fragment-testing wants to pull in androidx.test:core at versions different than the ones we want to control, and it causes gradle dep resolution conflicts See https://github.com/android/android-test/issues/1587 * build(deps): bump androidx test/espresso/test-junit deps * Bump leakcanary-android from 2.9.1 to 2.10 Bumps [leakcanary-android](https://github.com/square/leakcanary) from 2.9.1 to 2.10. - [Release notes](https://github.com/square/leakcanary/releases) - [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md) - [Commits](https://github.com/square/leakcanary/compare/v2.9.1...v2.10) --- updated-dependencies: - dependency-name: com.squareup.leakcanary:leakcanary-android dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-11 16:56:00 +01:00
testImplementation "androidx.test:core:$androidx_test_version"
testImplementation "androidx.test.ext:junit:$androidx_test_junit_version"
testImplementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
testImplementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
testImplementation "org.jetbrains.kotlin:kotlin-test-junit5:$kotlin_version"
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version"
Dependency updates 20230421 (#13650) * build(deps): bump androidx.activity:activity-ktx from 1.7.0 to 1.7.1 Bumps androidx.activity:activity-ktx from 1.7.0 to 1.7.1. --- updated-dependencies: - dependency-name: androidx.activity:activity-ktx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump fragments_version from 1.5.6 to 1.5.7 Bumps `fragments_version` from 1.5.6 to 1.5.7. Updates `androidx.fragment:fragment-ktx` from 1.5.6 to 1.5.7 Updates `androidx.fragment:fragment-testing` from 1.5.6 to 1.5.7 --- updated-dependencies: - dependency-name: androidx.fragment:fragment-ktx dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.fragment:fragment-testing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.google.protobuf:protobuf-kotlin Bumps com.google.protobuf:protobuf-kotlin from 3.22.2 to 3.22.3. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump lint_version from 30.4.2 to 31.0.0 Bumps `lint_version` from 30.4.2 to 31.0.0. Updates `com.android.tools.lint:lint-api` from 30.4.2 to 31.0.0 Updates `com.android.tools.lint:lint` from 30.4.2 to 31.0.0 Updates `com.android.tools.lint:lint-tests` from 30.4.2 to 31.0.0 --- updated-dependencies: - dependency-name: com.android.tools.lint:lint-api dependency-type: direct:production update-type: version-update:semver-major - dependency-name: com.android.tools.lint:lint dependency-type: direct:production update-type: version-update:semver-major - dependency-name: com.android.tools.lint:lint-tests dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump io.mockk:mockk from 1.13.4 to 1.13.5 Bumps [io.mockk:mockk](https://github.com/mockk/mockk) from 1.13.4 to 1.13.5. - [Release notes](https://github.com/mockk/mockk/releases) - [Commits](https://github.com/mockk/mockk/commits) --- updated-dependencies: - dependency-name: io.mockk:mockk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-22 00:49:36 +02:00
testImplementation "io.mockk:mockk:1.13.5"
testImplementation 'org.apache.commons:commons-exec:1.3' // obtaining the OS
testImplementation("androidx.fragment:fragment-testing:$fragments_version")
2018-10-05 19:41:05 +02:00
// May need a resolution strategy for support libs to our versions
Dependency updates 20221111 (#12817) * Bump jackson-databind from 2.13.4.2 to 2.14.0 Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.4.2 to 2.14.0. - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) --- updated-dependencies: - dependency-name: com.fasterxml.jackson.core:jackson-databind dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump kotlin_version from 1.7.20 to 1.7.21 Bumps `kotlin_version` from 1.7.20 to 1.7.21. Updates `kotlin-gradle-plugin` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-stdlib` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-test` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-reflect` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-test-junit5` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-test-junit` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): parameterize androidx test/espresso/test-junit versions These need to move as a block, and they don't offer a bill of materials, this is the next best thing * test(deps): exclude androidx.test:core from fragment-testing transitive deps fragment-testing wants to pull in androidx.test:core at versions different than the ones we want to control, and it causes gradle dep resolution conflicts See https://github.com/android/android-test/issues/1587 * build(deps): bump androidx test/espresso/test-junit deps * Bump leakcanary-android from 2.9.1 to 2.10 Bumps [leakcanary-android](https://github.com/square/leakcanary) from 2.9.1 to 2.10. - [Release notes](https://github.com/square/leakcanary/releases) - [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md) - [Commits](https://github.com/square/leakcanary/compare/v2.9.1...v2.10) --- updated-dependencies: - dependency-name: com.squareup.leakcanary:leakcanary-android dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-11 16:56:00 +01:00
androidTestImplementation "androidx.test.espresso:espresso-core:$espresso_version"
androidTestImplementation("androidx.test.espresso:espresso-contrib:$espresso_version") {
Update to Anki 2.1.54 backend Squashes a few commits: Move the legacy schema toggle into BackendFactory Simplify backend handling; rework collection instantiation When the Rust code was initially introduced, it was not clear whether it would be usable on all devices, or whether it would need to be removed for some reason. This no doubt influenced the design of the existing API, which tries to make it easy to swap the Rust code out with something else. Unfortunately this approach has some downsides: - It makes it somewhat harder to follow, as method calls jump through multiple interfaces before they're actually sent to the backend. - It makes utilizing new methods considerably more cumbersome. For example, take the extract_av_tags() call. It follows the following path: collection method or method in related helper class: https://github.com/ankidroid/Anki-Android/blob/cea79e1b077bc30e7eed8f37529002aae416d34d/AnkiDroid/src/main/java/com/ichi2/libanki/TemplateManager.kt#L242 to generic interface: https://github.com/ankidroid/Anki-Android/blob/cea79e1b077bc30e7eed8f37529002aae416d34d/AnkiDroid/src/main/java/com/ichi2/libanki/backend/DroidBackend.kt#L83 to specific implementation: https://github.com/ankidroid/Anki-Android/blob/cea79e1b077bc30e7eed8f37529002aae416d34d/AnkiDroid/src/main/java/com/ichi2/libanki/backend/RustDroidV16Backend.kt#L57 and if it's unusable with the legacy schema (which I don't believe is actually true in this case), it also needs to be added to the other implementation: https://github.com/ankidroid/Anki-Android/blob/cea79e1b077bc30e7eed8f37529002aae416d34d/AnkiDroid/src/main/java/com/ichi2/libanki/backend/RustDroidBackend.kt#L87 and then finally, a method in the backend module is invoked. The backend module has code generation so that invoking a backend method is as simple as making a method call, but currently you have to weave the call through 3 or so levels of indirection before you can actually use it. With something like 170 available methods, that's a fair amount of extra work required. Rather than trying to insulate libanki from the backend code, this PR drops some of the indirection in favour of the approach the desktop takes: libanki is the insulation layer; it can call freely into the backend methods, but consumers (eg the GUI code) are expected to only call methods on the collection, and not access the backend directly. In addition to the above, collection initialization has been reworked to be more similar to the computer version. Instead of the collection being created from a database object, a backend is passed into the collection creation, and the collection takes care of creating a DB instance that wraps the backend. Remove always-on isUsingRustBackend Drop the legacy upgrade/initialization code Schema 11 was introduced in 2012, and decks that still are <11 are very rare. The desktop dropped support for schema 10 back in early 2020. This also removes the need to modify SCHEMA_VERSION when switching between TESTING_USE_V16_BACKEND. Remove DOWNGRADE_REQUIRED and slightly simplify startup error handling - The backend automatically downgrades when required, and possible. No backup is required, as the downgrade happens in a single transaction, and the downgrade code has proven itself over time. - Store the type of failure in getColSafe(), so it can be checked later. Update to work with desktop 2.1.53 code Depends on https://github.com/ankidroid/Anki-Android-Backend/pull/202 Due to the removal and change of a few backend methods, syncing, importing and the card templates screen will not work when the schema16 setting is active (actually schema18 now). To get them working again, those code paths will need to switch to the backend implementations. A few notes: - Downgrading happens automatically when loading the collection in schema11 mode, so the extra code dealing with downgrades & "can downgrade" reporting can be stripped. - Added the ability to run col.set_config("key", JSONObject.NULL), as unit tests were attempting to write the entire collection config, which is no longer supported. - All tests pass on both old and new backends, though the latter required disabling a few failed tests when running with the new schema (eg notetype updating). Integrates, and thus closes #11579 and closes #11581 Remove the time argument to Storage.collection() Collection does not currently take a time argument, and relies on the global object instead, so this change brings Storage in line with it. Reuse the backend when closing+reopening a collection Avoids having to re-initialize the translations, and reduces leaks (the import + export code leaks backends still)
2022-06-28 08:03:17 +02:00
exclude module: "protobuf-lite"
}
Dependency updates 20221111 (#12817) * Bump jackson-databind from 2.13.4.2 to 2.14.0 Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.4.2 to 2.14.0. - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) --- updated-dependencies: - dependency-name: com.fasterxml.jackson.core:jackson-databind dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump kotlin_version from 1.7.20 to 1.7.21 Bumps `kotlin_version` from 1.7.20 to 1.7.21. Updates `kotlin-gradle-plugin` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-stdlib` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-test` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-reflect` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-test-junit5` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-test-junit` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): parameterize androidx test/espresso/test-junit versions These need to move as a block, and they don't offer a bill of materials, this is the next best thing * test(deps): exclude androidx.test:core from fragment-testing transitive deps fragment-testing wants to pull in androidx.test:core at versions different than the ones we want to control, and it causes gradle dep resolution conflicts See https://github.com/android/android-test/issues/1587 * build(deps): bump androidx test/espresso/test-junit deps * Bump leakcanary-android from 2.9.1 to 2.10 Bumps [leakcanary-android](https://github.com/square/leakcanary) from 2.9.1 to 2.10. - [Release notes](https://github.com/square/leakcanary/releases) - [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md) - [Commits](https://github.com/square/leakcanary/compare/v2.9.1...v2.10) --- updated-dependencies: - dependency-name: com.squareup.leakcanary:leakcanary-android dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-11 16:56:00 +01:00
androidTestImplementation "androidx.test:core:$androidx_test_version"
androidTestImplementation "androidx.test.ext:junit:$androidx_test_junit_version"
androidTestImplementation "androidx.test:rules:$androidx_test_version"
androidTestImplementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
androidTestImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
androidTestImplementation("androidx.fragment:fragment-testing:$fragments_version")
}
android {
packagingOptions {
resources {
excludes += ['META-INF/DEPENDENCIES']
}
}
namespace 'com.ichi2.anki'
testOptions {
kotlinOptions {
freeCompilerArgs += [
'-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi',
]
}
}
}