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

863 Commits

Author SHA1 Message Date
Mike Hardy
625e6c71cb
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 07:34:53 -05:00
David Allison
1b3cd33a6f AGP: Migrate packagingOptions DSL properties to sub-blocks
AGP 7.4.1 Automated Change

Description:

Directives to affect packaging have been split into those affecting libraries (.so files) and those affecting all other resources.
2023-02-16 10:37:06 -05:00
David Allison
60a823d9c2 AGP: Move package from Android manifest to build files
AGP 7.4.1

Automated step by Android Gradle Plugin

Declaration of a project's namespace using the package attribute of
the Android manifest is deprecated in favour of a namespace declaration
 in build files.

https://developer.android.com/studio/past-releases/past-agp-releases/agp-7-3-0-release-notes#package-deprecated
2023-02-16 10:37:06 -05:00
Mike Hardy
396d78ebc7 Bumped version to 2.16alpha93 2023-02-06 19:00:08 +00:00
Mike Hardy
34cef67279
Dependency updates 20230206 (#13208)
* Bump com.fasterxml.jackson.core:jackson-databind from 2.14.1 to 2.14.2

Bumps [com.fasterxml.jackson.core:jackson-databind](https://github.com/FasterXML/jackson) from 2.14.1 to 2.14.2.
- [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>

* Bump org.jlleitschuh.gradle:ktlint-gradle from 11.0.0 to 11.1.0

Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.0.0 to 11.1.0.

---
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 lint_version from 30.3.1 to 30.4.1 (#13199)

* Bump lint_version from 30.3.1 to 30.4.1

Bumps `lint_version` from 30.3.1 to 30.4.1.

Updates `com.android.tools.lint:lint-api` from 30.3.1 to 30.4.1

Updates `com.android.tools.lint:lint` from 30.3.1 to 30.4.1

Updates `com.android.tools.lint:lint-tests` from 30.3.1 to 30.4.1

---
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>

* Set kotlin jvm target to 11 for lint-rules module

---------

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>

---------

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-06 13:58:59 -05:00
Mike Hardy
81b8978900
Dependency updates 20220205 (#13198)
* Bump robolectric from 4.9.1 to 4.9.2

Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.9.1 to 4.9.2.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.9.1...robolectric-4.9.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>

* Bump mockito-inline from 4.10.0 to 4.11.0

Bumps [mockito-inline](https://github.com/mockito/mockito) from 4.10.0 to 4.11.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.10.0...v4.11.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>

* Bump junit from 1.1.4 to 1.1.5

Bumps junit from 1.1.4 to 1.1.5.

---
updated-dependencies:
- dependency-name: androidx.test.ext:junit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump espresso_version from 3.5.0 to 3.5.1

Bumps `espresso_version` from 3.5.0 to 3.5.1.

Updates `espresso-core` from 3.5.0 to 3.5.1

Updates `espresso-contrib` from 3.5.0 to 3.5.1

---
updated-dependencies:
- dependency-name: androidx.test.espresso:espresso-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: androidx.test.espresso:espresso-contrib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump webkit from 1.5.0 to 1.6.0

Bumps webkit from 1.5.0 to 1.6.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>

* Bump io.mockk:mockk from 1.13.3 to 1.13.4

Bumps [io.mockk:mockk](https://github.com/mockk/mockk) from 1.13.3 to 1.13.4.
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.13.3...v1.13.4)

---
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 org.mockito:mockito-inline from 4.11.0 to 5.1.1

Bumps [org.mockito:mockito-inline](https://github.com/mockito/mockito) from 4.11.0 to 5.1.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.11.0...v5.1.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-inline
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump material from 1.7.0 to 1.8.0

Bumps [material](https://github.com/material-components/material-components-android) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.7.0...1.8.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump annotations from 23.1.0 to 24.0.0

Bumps [annotations](https://github.com/JetBrains/java-annotations) from 23.1.0 to 24.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/23.1.0...24.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 junit_version from 5.9.1 to 5.9.2

Bumps `junit_version` from 5.9.1 to 5.9.2.

Updates `junit-jupiter` from 5.9.1 to 5.9.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.1...r5.9.2)

Updates `junit-vintage-engine` from 5.9.1 to 5.9.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.1...r5.9.2)

Updates `junit-jupiter-params` from 5.9.1 to 5.9.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.1...r5.9.2)

---
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>

* style(lint): ignore MonochromeLauncherIcon check temporarily

* Bump com.android.tools.build:gradle from 7.3.1 to 7.4.1

Bumps com.android.tools.build:gradle from 7.3.1 to 7.4.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump com.android.tools:desugar_jdk_libs from 1.2.2 to 2.0.2

Bumps [com.android.tools:desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 1.2.2 to 2.0.2.
- [Release notes](https://github.com/google/desugar_jdk_libs/releases)
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/desugar_jdk_libs/commits)

---
updated-dependencies:
- dependency-name: com.android.tools:desugar_jdk_libs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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-06 08:32:59 -05:00
Mike Hardy
32b3bf3534 build(deps): revert apache commons-compress to API21-compatible version
This was my fault previously on a dependency updates run, I let it slip
into a version range with a known incompatibility that I even left a comment for!
2023-02-06 04:31:11 +00:00
Brayan Oliveira
b6a4142434
Add a BuildConfig option to use legacy storage by default (#13136) 2023-01-22 13:21:49 +05:30
Brayan Oliveira
d04dfe6752
Replace the parallel build scripts with gradle configs (#13122)
* Move app_name constant to build.gradle

So it can be changed if necessary

* Add customSuffix and customName build args

In order to allow making parallel builds from a CLI command

* Make parallel with custom args instead of regex

Deprecate the old script and use gradle arguments instead
2023-01-15 11:57:04 +02:00
Ashish Yadav
bc38ab7d9b
added version code suffix (#13103)
* added version code suffix to version name

* added version code suffix
2023-01-14 13:16:48 +02:00
David Allison
ff72a861be 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-14 12:15:12 +02:00
Mike Hardy
95abe6b51b Bumped version to 2.16alpha92 2022-12-21 16:53:57 +00:00
Mike Hardy
71b1215332
Dependency updates 20221221 (#13020)
* Bump protobuf-kotlin from 3.21.10 to 3.21.11

Bumps protobuf-kotlin from 3.21.10 to 3.21.11.

---
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>

* Bump fragments_version from 1.5.4 to 1.5.5

Bumps `fragments_version` from 1.5.4 to 1.5.5.

Updates `fragment-ktx` from 1.5.4 to 1.5.5

Updates `fragment-testing` from 1.5.4 to 1.5.5

---
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 annotations from 23.0.0 to 23.1.0

Bumps [annotations](https://github.com/JetBrains/java-annotations) from 23.0.0 to 23.1.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/23.0.0...23.1.0)

---
updated-dependencies:
- dependency-name: org.jetbrains:annotations
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump protobuf-kotlin from 3.21.11 to 3.21.12

Bumps protobuf-kotlin from 3.21.11 to 3.21.12.

---
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>

* Bump mockito-inline from 4.9.0 to 4.10.0

Bumps [mockito-inline](https://github.com/mockito/mockito) from 4.9.0 to 4.10.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.9.0...v4.10.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>

* Bump robolectric from 4.9 to 4.9.1

Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.9 to 4.9.1.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.9...robolectric-4.9.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21 11:51:01 -05:00
Brayan Oliveira
57ac5aff85 Make possible to disable leak canary on local.properties 2022-12-21 09:59:48 -05:00
Mike Hardy
2fa5c1d62b Bumped version to 2.16alpha91 2022-12-03 14:17:03 +00:00
dependabot[bot]
17dc28fab8 Bump protobuf-kotlin from 3.21.9 to 3.21.10
Bumps protobuf-kotlin from 3.21.9 to 3.21.10.

---
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>
2022-12-03 05:39:45 -08:00
dependabot[bot]
62ff258813 Bump mockk from 1.13.2 to 1.13.3
Bumps [mockk](https://github.com/mockk/mockk) from 1.13.2 to 1.13.3.
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.13.2...1.13.3)

---
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>
2022-12-03 05:39:45 -08:00
dependabot[bot]
6d3822822b Bump mockito-kotlin from 4.0.0 to 4.1.0
Bumps [mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/mockito/mockito-kotlin/releases)
- [Commits](https://github.com/mockito/mockito-kotlin/compare/4.0.0...4.1.0)

---
updated-dependencies:
- dependency-name: org.mockito.kotlin:mockito-kotlin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-03 05:39:45 -08:00
dependabot[bot]
eaac5748f7 Bump jackson-databind from 2.14.0 to 2.14.1
Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.14.0 to 2.14.1.
- [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>
2022-12-03 05:39:45 -08:00
Mike Hardy
cd6815cd5a Bumped version to 2.16alpha90 2022-11-18 15:56:24 +00:00
Mike Hardy
e3ebea137c refactor(deps): extract robolectric version 2022-11-15 16:38:00 -05:00
dependabot[bot]
c03e3da6b4 Bump mockito-inline from 4.8.1 to 4.9.0
Bumps [mockito-inline](https://github.com/mockito/mockito) from 4.8.1 to 4.9.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.1...v4.9.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>
2022-11-15 16:38:00 -05:00
Mike Hardy
e24d6a1346
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 10:56:00 -05:00
Mike Hardy
ff4382712d
Dependency updates 20221105 (#12783)
* Bump commons-compress from 1.12 to 1.22

Bumps commons-compress from 1.12 to 1.22.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-compress
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): new coordinates for image cropper / bump to 4.5.0

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-05 11:49:19 -05:00
Mike Hardy
9af3b7568f Bumped version to 2.16alpha89 2022-10-31 01:36:44 +00:00
Mike Hardy
7b544b87db build(deps): desugar library to 1.2.2
trying this on a different branch as it *appears* there is cache
corruption somewhere
2022-10-30 12:51:21 -05:00
dependabot[bot]
a2d6241328 Bump material from 1.6.1 to 1.7.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.6.1...1.7.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-29 22:18:23 -05:00
dependabot[bot]
9d81564d8b Bump protobuf-kotlin from 3.21.8 to 3.21.9
Bumps protobuf-kotlin from 3.21.8 to 3.21.9.

---
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>
2022-10-29 22:18:23 -05:00
dependabot[bot]
04bac9a82c Bump exifinterface from 1.3.4 to 1.3.5
Bumps exifinterface from 1.3.4 to 1.3.5.

---
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>
2022-10-29 22:18:23 -05:00
dependabot[bot]
19ad7c6637 Bump activity-ktx from 1.6.0 to 1.6.1
Bumps activity-ktx from 1.6.0 to 1.6.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>
2022-10-29 22:18:23 -05:00
dependabot[bot]
0498b94ab1 Bump protobuf-kotlin from 3.21.7 to 3.21.8
Bumps protobuf-kotlin from 3.21.7 to 3.21.8.

---
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>
2022-10-29 22:18:23 -05:00
dependabot[bot]
bf0d42c350 Bump mockito-inline from 4.8.0 to 4.8.1
Bumps [mockito-inline](https://github.com/mockito/mockito) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.0...v4.8.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>
2022-10-29 22:18:23 -05:00
dependabot[bot]
32ba9cded3 Bump jackson-databind from 2.13.4 to 2.13.4.2
Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.4 to 2.13.4.2.
- [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>
2022-10-29 22:18:23 -05:00
Mike Hardy
d5966014b0 Bumped version to 2.16alpha88 2022-10-15 21:43:47 +00:00
Mike Hardy
c7d1e37aff Bumped version to 2.16alpha87 2022-10-15 21:03:14 +00:00
Mike Hardy
b8eccc1ab7 Bumped version to 2.16alpha86 2022-10-09 00:00:33 +00:00
Mike Hardy
b83c3830dd
Dependency updates 20221008 (#12604)
* Bump protobuf-kotlin from 3.21.6 to 3.21.7

Bumps protobuf-kotlin from 3.21.6 to 3.21.7.

---
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>

* Bump exifinterface from 1.3.3 to 1.3.4

Bumps exifinterface from 1.3.3 to 1.3.4.

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-08 18:48:27 -05:00
Mike Hardy
5f8c2f7938
Dependency updates 20220929 (#12533)
* Bump junit_version from 5.9.0 to 5.9.1

Bumps `junit_version` from 5.9.0 to 5.9.1.

Updates `junit-jupiter` from 5.9.0 to 5.9.1
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.0...r5.9.1)

Updates `junit-vintage-engine` from 5.9.0 to 5.9.1
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.0...r5.9.1)

Updates `junit-jupiter-params` from 5.9.0 to 5.9.1
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.0...r5.9.1)

---
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>

* Bump annotation from 1.4.0 to 1.5.0

Bumps annotation from 1.4.0 to 1.5.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 mockk from 1.12.8 to 1.13.1

Bumps [mockk](https://github.com/mockk/mockk) from 1.12.8 to 1.13.1.
- [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-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump activity-ktx from 1.5.1 to 1.6.0

Bumps activity-ktx from 1.5.1 to 1.6.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>

* Bump fragments_version from 1.5.2 to 1.5.3

Bumps `fragments_version` from 1.5.2 to 1.5.3.

Updates `fragment-ktx` from 1.5.2 to 1.5.3

Updates `fragment-testing` from 1.5.2 to 1.5.3

---
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 mockk from 1.13.1 to 1.13.2

Bumps [mockk](https://github.com/mockk/mockk) from 1.13.1 to 1.13.2.
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.13.1...1.13.2)

---
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 kotlin_version from 1.7.10 to 1.7.20

Bumps `kotlin_version` from 1.7.10 to 1.7.20.

Updates `kotlin-gradle-plugin` from 1.7.10 to 1.7.20
- [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.7.10 to 1.7.20
- [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-test` from 1.7.10 to 1.7.20
- [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.7.10 to 1.7.20
- [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-test-junit5` from 1.7.10 to 1.7.20
- [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-test-junit` from 1.7.10 to 1.7.20
- [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-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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-29 12:04:39 -05:00
Jalin Wang
c5e2dc1e51 Fix night mode by bumping appcompat to 1.6.0-rc01 2022-09-21 05:19:04 +01:00
Mike Hardy
5c302107a5 Bumped version to 2.16alpha85 2022-09-18 21:05:23 +00:00
Mike Hardy
46a4f564d6
Dependency updates 20220917 (#12427)
* build(deps): bump mockk from 1.12.7 to 1.12.8

Bumps [mockk](https://github.com/mockk/mockk) from 1.12.7 to 1.12.8.
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.12.7...v1.12.8)

---
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>

* build(deps): bump protobuf-kotlin from 3.21.5 to 3.21.6

Bumps protobuf-kotlin from 3.21.5 to 3.21.6.

---
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 gradle from 7.2.2 to 7.3.0

Bumps gradle from 7.2.2 to 7.3.0.

Note: api minSdkVersion bumped to 16, new gradle version uncovered this NewApi failure
This is another item queued up for API breaking change list

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump lint_version from 30.2.2 to 30.3.0

Bumps `lint_version` from 30.2.2 to 30.3.0.

Updates `lint-api` from 30.2.2 to 30.3.0

Updates `lint` from 30.2.2 to 30.3.0

Updates `lint-tests` from 30.2.2 to 30.3.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-17 12:54:23 -05:00
Mike Hardy
db59ccbca9 Bumped version to 2.16alpha84 2022-09-14 01:40:43 +00:00
Mike Hardy
5473fb471f
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 14:58:14 -05:00
Arthur Milchior
f0459c3c6b NF: depends of junit5
This ensures that the IDE don't complain about missing imports in classes such
as BackupManagerSimpleTest.kt
2022-09-13 11:25:26 +03:00
Arthur Milchior
3ca29fd20e Adding kotlin-test-junit to androidTestImplementation
Following https://stackoverflow.com/a/55218573/414269
It ensures the IDE don't show error on `import kotlin.test.junit.JUnitAsserter.assertNotNull`
2022-09-11 10:14:03 +03:00
Mike Hardy
2eeed6570e build: bump compileSdkVersion to 33 2022-09-09 21:03:19 -03:00
David Allison
29231d7422 chore: remove kotlinMigration.gradle
No longer necessary. Anki-Android has been converted to Kotlin
2022-09-05 00:34:28 +02:00
dependabot[bot]
1a2de330c7 build(deps): bump SearchPreference from v2.2.1 to 2.3.0
Bumps [SearchPreference](https://github.com/ByteHamster/SearchPreference) from v2.2.1 to 2.3.0.
- [Release notes](https://github.com/ByteHamster/SearchPreference/releases)
- [Commits](https://github.com/ByteHamster/SearchPreference/compare/v2.2.1...v2.3.0)

---
updated-dependencies:
- dependency-name: com.github.ByteHamster:SearchPreference
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-03 11:09:52 -03:00
Mike Hardy
8c1d639eb7 Bumped version to 2.16alpha83 2022-09-02 18:06:51 +00:00
Damien Elmes
e5a0ed2593 Use runTest() with an unconfined dispatcher instead of awaitJob()
This appears to allow us to avoid explicitly waiting for coroutines in
the common case. See the comment in RobolectricTest for why this and
not StandardTestDispatcher was used.

Also opted in to the coroutines API at the module level, so we don't
have to tag every unit test with @OptIn.
2022-08-30 16:23:03 +01:00
Mike Hardy
233b88fe6f Bumped version to 2.16alpha82 2022-08-27 05:59:53 +00:00
David Allison
b3a138035b feat: App Introduction System
A screen which appears on the first run of the application

Displaying:
* Get Started
* Sync from AnkiWeb

This aims to handle the use case of an existing user.
If they do not sync immediately, then they risk creating
two collections, which are incompatible and cause a sync conflict

Based on 9130 by Shridhar Goel
2022-08-26 23:39:35 -05:00
Mike Hardy
835cba9f20 Bumped version to 2.16alpha81 2022-08-25 16:07:32 +00:00
Mike Hardy
67533b62bc
Dependency updates 20220825 (#12170)
* build(deps): bump robolectric from 4.8.1 to 4.8.2

Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.8.1 to 4.8.2.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.8.1...robolectric-4.8.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 mockk from 1.12.5 to 1.12.7

Bumps [mockk](https://github.com/mockk/mockk) from 1.12.5 to 1.12.7.
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.12.5...1.12.7)

---
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>

* build(deps): bump ktlint-gradle from 10.3.0 to 11.0.0

Bumps ktlint-gradle from 10.3.0 to 11.0.0.

---
updated-dependencies:
- dependency-name: org.jlleitschuh.gradle:ktlint-gradle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump jsoup from 1.15.2 to 1.15.3

Bumps [jsoup](https://github.com/jhy/jsoup) from 1.15.2 to 1.15.3.
- [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.2...jsoup-1.15.3)

---
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>

* build(deps): bump webkit from 1.4.0 to 1.5.0

Bumps webkit from 1.4.0 to 1.5.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>
2022-08-25 11:06:33 -05:00
Brayan Oliveira
4b26a8ff63 Add Anki pages host activity and server
This introduces a dependency to NanoHTTPD, a java server library

Used https://github.com/krmanik/Anki-Android/pull/23 as base of this commit
2022-08-25 10:28:55 -05:00
Mike Hardy
f919d7af0a build: bump compileSdkVersion to 32 2022-08-25 09:17:37 -05:00
Mike Hardy
a8b95cde79 Bumped version to 2.16alpha80 2022-08-24 02:09:42 +00:00
Mike Hardy
7ef8cf00ad Bumped version to 2.16alpha79 2022-08-19 03:27:29 +00:00
David Allison
14cdd72f34 refactor: Convert NotificationChannelTest to Kotlin
com.ichi2.anki.tests.NotificationChannelTest

Required 'kotlin-test' for a correct 'assertNotNull'
2022-08-18 21:33:27 -05:00
Mike Hardy
5ad4ffc802 Bumped version to 2.16alpha78 2022-08-16 15:27:53 +00:00
Mike Hardy
20c618399d
Dependency updates 20220816 (#12036)
* Bump gradle from 7.2.1 to 7.2.2

Bumps gradle from 7.2.1 to 7.2.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>

* Bump lint_version from 30.2.1 to 30.2.2

Bumps `lint_version` from 30.2.1 to 30.2.2.

Updates `lint-api` from 30.2.1 to 30.2.2

Updates `lint` from 30.2.1 to 30.2.2

Updates `lint-tests` from 30.2.1 to 30.2.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 protobuf-kotlin from 3.21.4 to 3.21.5

Bumps protobuf-kotlin from 3.21.4 to 3.21.5.

---
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>

* Bump fragments_version from 1.5.1 to 1.5.2

Bumps `fragments_version` from 1.5.1 to 1.5.2.

Updates `fragment-ktx` from 1.5.1 to 1.5.2

Updates `fragment-testing` from 1.5.1 to 1.5.2

---
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 mockito-inline from 4.6.1 to 4.7.0

Bumps [mockito-inline](https://github.com/mockito/mockito) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.1...v4.7.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-16 10:23:02 -05:00
Brayan Oliveira
4ddc356a69 Add a search bar to the settings screen
It's necessary for all "PreferenceScreen" to have keys, so they are being added to the screens which hadn't a key

search:ignore is an attribute that allows to skip a preference indexing on a XML file. It is added to subscreens' preferences to avoid duplication of the results of the screens themselves and the preferences that open them

Added as well to "Day" and "Night" preferences to avoid duplication of their entries and "Theme" preference's entries
2022-08-15 14:54:36 +03:00
Mike Hardy
75293efc0c Bumped version to 2.16alpha77 2022-08-11 19:08:26 +00:00
Mike Hardy
d08235df36
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 13:31:24 -05:00
Mike Hardy
c221f11eb8 Bumped version to 2.16alpha76 2022-07-27 17:56:44 +00:00
Mike Hardy
b481023b7b Bumped version to 2.16alpha75 2022-07-25 14:39:10 +00:00
dependabot[bot]
cebd64cb82 Bump protobuf-kotlin from 3.21.2 to 3.21.3
Bumps protobuf-kotlin from 3.21.2 to 3.21.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>
2022-07-24 21:22:52 -05:00
dependabot[bot]
07fbaa7a07 build(deps): bump Android-Image-Cropper from 4.3.0 to 4.3.1
Bumps [Android-Image-Cropper](https://github.com/CanHub/Android-Image-Cropper) from 4.3.0 to 4.3.1.
- [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.0...4.3.1)

---
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>
2022-07-24 21:22:52 -05:00
Mike Hardy
03c1af7503 Bumped version to 2.16alpha74 2022-07-19 16:27:40 +00:00
Mike Hardy
1fb9cac4c7 Bumped version to 2.16alpha73 2022-07-09 09:57:49 +00:00
Mike Hardy
8aceb9a931 Bumped version to 2.16alpha72 2022-07-06 05:27:08 +00:00
Mike Hardy
1ed9496aee Bumped version to 2.16alpha71 2022-07-05 18:14:18 +00:00
Shridhar Goel
abd1f8bfc3 Update material dialog library 2022-07-05 11:37:16 -05:00
dependabot[bot]
cd06d73282 Bump jsoup from 1.15.1 to 1.15.2
Bumps [jsoup](https://github.com/jhy/jsoup) from 1.15.1 to 1.15.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.15.1...jsoup-1.15.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>
2022-07-04 22:34:37 -05:00
dependabot[bot]
ec7852a40c Bump activity-ktx from 1.4.0 to 1.5.0
Bumps activity-ktx from 1.4.0 to 1.5.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>
2022-07-04 22:34:37 -05:00
dependabot[bot]
6e20f18b28 Bump desugar_jdk_libs from 1.1.5 to 1.1.6
Bumps [desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 1.1.5 to 1.1.6.
- [Release notes](https://github.com/google/desugar_jdk_libs/releases)
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/desugar_jdk_libs/commits)

---
updated-dependencies:
- dependency-name: com.android.tools:desugar_jdk_libs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 22:34:37 -05:00
dependabot[bot]
02c444bade Bump annotation from 1.3.0 to 1.4.0
Bumps annotation from 1.3.0 to 1.4.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>
2022-07-04 22:34:37 -05:00
lukstbit
50a8417ffb Bump fragments library dependency to 1.5.0
In this PR:
- extract the library number version to a variable in the project's build file, to make it easier
to update the library and its testing artifact
- remove the deprecation related to menus in fragments by using the newer APIs MenuHost and MenuProvider
2022-07-04 12:11:58 -05:00
Mike Hardy
d6e9c0c33a Bumped version to 2.16alpha70 2022-06-30 12:15:42 +00:00
Damien Elmes
5d8298fadd Add some new flags to local.properties
legacy_schema=false:  use the new backend code by default
local_backend=true:   use a locally built copy of the backend
fatal_warnings=false: don't fail the build on Kotlin warning
2022-06-29 11:12:19 -05:00
Damien Elmes
1373897c73 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:
cea79e1b07/AnkiDroid/src/main/java/com/ichi2/libanki/TemplateManager.kt (L242)

to generic interface:
cea79e1b07/AnkiDroid/src/main/java/com/ichi2/libanki/backend/DroidBackend.kt (L83)

to specific implementation:
cea79e1b07/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:
cea79e1b07/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-29 11:12:19 -05:00
Mike Hardy
a480ac3f0b Bumped version to 2.16alpha69 2022-06-24 23:24:55 +00:00
Divyansh Kushwaha
0af2077fff migrated AnkiStatsTaskHandler.createReviewSummaryStatistics() to suspend function 2022-06-22 14:56:18 +05:30
Mike Hardy
ef6b9ce6a1 Bumped version to 2.16alpha68 2022-06-13 22:45:06 +00:00
Mike Hardy
6dc2ff02c5
Merge pull request #11617 from ankidroid/dependency-updates
Dependency updates 20220613
2022-06-13 14:06:12 -05:00
Damien Elmes
d1354d10af Clarify instructions in backend library requirements 2022-06-13 08:37:45 -05:00
Brayan
f868f04f3c NF: Remove getbase:floatingactionbutton dependency
Material's FAB replaced it a long time ago and the its style settings, so it doesn't have a use and should be removed
2022-06-05 15:30:07 -05:00
lukstbit
505d887711 Remove deprecated LocalBroadcastManager 2022-06-03 14:00:42 -05:00
Mike Hardy
4f00facc28 Bumped version to 2.16alpha67 2022-06-03 17:40:45 +00:00
Mike Hardy
32e9d34692 Bumped version to 2.16alpha66 2022-06-03 16:54:00 +00:00
lukstbit
b0a2bdcdc7 Update androidx.core:core-ktx dependency to 1.8.0 2022-06-03 09:04:51 -05:00
lukstbit
4d106ac7f1 Enable custom color selection for whiteboard 2022-06-01 15:14:33 -05:00
Mike Hardy
005ffeb56b
Dependency updates 20220529 2022-05-30 09:43:35 -05:00
lukstbit
1fabcffcad Update image cropper library dependency to 4.2.1
This update required a refactoring of the code around cropping an image as the newer version of the library relies on
the newer ActivityResultLauncher/Contract apis.
2022-05-29 22:09:46 -05:00
dependabot[bot]
df55e82d93 build(deps): bump mockk from 1.12.3 to 1.12.4
Bumps [mockk](https://github.com/mockk/mockk) from 1.12.3 to 1.12.4.
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.12.3...1.12.4)

---
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>
2022-05-17 13:15:55 -05:00
David Allison
fa15aeb759 fix: invalid sourceSets for Android Chipmunk
Due to https://issuetracker.google.com/issues/37001185 we were defining
`manifest.srcFile` for `debug` instead of for `test`. This is
because manifest merging previously occurred only with build variants

Was required for robolectric. Apparently fixed in AGP 0.13.0:
https://issuetracker.google.com/issues/37001185

It seems we can manifest merge based on 'test' and 'androidTest',
so remove the `debug` sourceSet.

This caused a bug on Android Chipmunk, as we included 'test' in the
'main' source set due to a change in how sourceSets were processed

Fixes 11291
Main comments: https://issuetracker.google.com/issues/232007221

https://issuetracker.google.com/issues/220326930

Originally added in ee463c2a3e
2022-05-12 11:36:03 -05:00
Mike Hardy
a145c032fd Bumped version to 2.16alpha65 2022-05-11 01:15:54 +00:00
Mike Hardy
ae95643f1f
build(deps): Dependency updates 20220510 2022-05-10 18:07:18 -05:00
Mike Hardy
1a546ad0be Bumped version to 2.16alpha64 2022-05-07 00:18:23 +00:00
lukstbit
66681aa71e Update the material library dependency to 1.6.0 2022-05-06 11:13:10 -05:00
Brayan Oliveira
8f9f8c2261 Use JUnit5 on tests
1. Extract JUnit version to a constant, so all 3 testImplementations uses the same version
2. Add JUnitPlatform use to `build.gradle`
3. Fix imports to `kotlin.test.junit5.JUnit5Asserter`
4. Fix `AbstractFlashcardViewerTest.getSignalFromUrlTest`
- It is currently the only parameterized test that uses jupiter-params. It wasn't being discovered before, so it haven't raised any exception.
- Now that it's discovered, it needed to be fixed
2022-05-01 19:13:49 -05:00
Mike Hardy
f50aef7ec1 Bumped version to 2.16alpha63 2022-04-30 19:26:59 +00:00
Mike Hardy
b1a0974c91 Bumped version to 2.16alpha62 2022-04-27 00:21:46 +00:00
Mike Hardy
88b60ef483 fix(build): assert that more than zero androidTests executed
Sometimes an emulator "runs" tests, but it actually discovered zero
tests, runs zero tests, and still reports success. Lookin' at you API21.

Fixes #11078
2022-04-25 22:25:52 -05:00
Mike Hardy
25473eeaff fix(build): lint-rules project should use common best build practices
extract our best-practices build settings to project-level file, apply
to all sub-projects

Fixes #11083
2022-04-25 22:25:52 -05:00
Mike Hardy
45e7c19f8b build(deps): lint-rules hamcrest use 2.2, extract hamcrest version
This is the recommended way to upgrade hamcrest from 1.x to 2.x when
using junit 4.x, see http://hamcrest.org/JavaHamcrest/distributables#gradle-upgrade-example
2022-04-25 22:25:52 -05:00
Mike Hardy
9de60878ba
build(deps): dependency updates 20220425
chore(deps): bump kotlin_version from 1.6.20 to 1.6.21  c275b35
chore(deps): bump mockito-inline from 4.4.0 to 4.5.0  0eee1e6
chore(deps): bump leakcanary-android from 2.7 to 2.9 (#10988)  72bede3
chore(deps): bump protobuf-java from 3.20.0 to 3.20.1  e79c835
chore(deps): bump leakcanary-android from 2.9 to 2.9.1  674c833
chore(deps): bump mockito-inline from 4.5.0 to 4.5.1  e790731
build(deps): kotlin stdlib deps are implicit now #10991
2022-04-25 11:07:21 -05:00
Yxx
d49ff89192 Kotlin Cleanup: AbstractFlashcardViewerTest.kt
Part of issue #10489

Update AbstractFlashcardViewerTest.kt

Fix a code style problem.

update`AbstractFlashcardViewerTest.kt`. Apply parameterized tests

update`AbstractFlashcardViewerTest.kt`. Clean the code style

Change the input parameter to tuple to improve the readability of the code

format the code style

fix code style
2022-04-24 15:18:57 -05:00
Mike Hardy
9447dac2d1 Bumped version to 2.16alpha61 2022-04-20 02:45:57 +00:00
Mike Hardy
8feb4560e4 Bumped version to 2.16alpha60 2022-04-18 00:29:06 +00:00
David Allison
22a59a72d0 CI: ignore flaky test on Windows [version16CollectionOpen]
This is causing a lot of test failures. Best to ignore for now.
2022-04-17 09:20:43 -05:00
Mike Hardy
8dcc460e94 Bumped version to 2.16alpha59 2022-04-17 00:16:12 +00:00
Mike Hardy
d20dadbc14 fix(build): manually bump version to match release state
2.16alpha58 was released but the version increment + tag push
failed because something else merged while release was happening
2022-04-16 18:47:25 -05:00
Mike Hardy
d5514a4531 Bumped version to 2.16alpha57 2022-04-13 01:32:04 +00:00
Mike Hardy
9a65a771e1 Bumped version to 2.16alpha56 2022-04-10 01:35:23 +00:00
Mike Hardy
0274a9ffb3
Dependency updates 20220405 (#10721)
* chore(deps): bump jackson-databind from 2.13.2 to 2.13.2.2

Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.2 to 2.13.2.2.
- [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>

* fix: fixes for Kotlin 1.6.20

* overridden param nullability
* Type mismatch: value of a nullable type Optional<V> is used where
 non-nullable type is expected
* https://youtrack.jetbrains.com/issue/KT-36770

* chore(deps): bump kotlin_version from 1.6.10 to 1.6.20

Bumps `kotlin_version` from 1.6.10 to 1.6.20.

Updates `kotlin-gradle-plugin` from 1.6.10 to 1.6.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.10...v1.6.20)

Updates `kotlin-stdlib` from 1.6.10 to 1.6.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.10...v1.6.20)

Updates `kotlin-stdlib-jdk7` from 1.6.10 to 1.6.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.10...v1.6.20)

Updates `kotlin-reflect` from 1.6.10 to 1.6.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.10...v1.6.20)

Updates `kotlin-test` from 1.6.10 to 1.6.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.20/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.10...v1.6.20)

---
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-stdlib-jdk7
  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
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump protobuf-java from 3.19.4 to 3.20.0

Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.19.4 to 3.20.0.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.19.4...v3.20.0)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  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@users.noreply.github.com>
2022-04-07 11:25:23 -05:00
Mike Hardy
6df8f95a60 Bumped version to 2.16alpha55 2022-04-03 18:42:48 +00:00
Mike Hardy
ef335314c1 Bumped version to 2.16alpha54 2022-03-31 21:20:32 +00:00
David Allison
f70a7383f0 feat(tests): Apple Silicon Support
anki-android-backend-testing contains pre-compiled Rust code so
Robolectric can load it and run natively.

We can't currently include an Apple Silicon (AS) dylib inside
anki-android-backend-testing (`cross` doesn't compile AS code yet)

But, we can compile an AS dylib on an AS Mac and reference it.

So we include the dylib in the releases folder of Anki-Android-Backend
and add functionality to specify an environment variable to load this
dylib from disk, instead of from the .jar

Instructions (for 0.1.10):

Download librsdroid-arm64.dylib from https://github.com/ankidroid/Anki-Android-Backend/releases/tag/0.1.10

And add the following environment variables:
one to the path and one for the version

```
export ANKIDROID_BACKEND_PATH="/Users/davidallison/StudioProjects/Anki-Android-Backend/rslib-bridge/target/aarch64-apple-darwin/release/librsdroid-arm64.dylib"
export ANKIDROID_BACKEND_VERSION="0.1.10"
```

Library generated from:
```
davidallison@Davids-MBP rslib-bridge % pwd
/Users/davidallison/StudioProjects/Anki-Android-Backend/rslib-bridge
rustup install 1.54.0
rustup default 1.54.0
cross build --release --features no-android --verbose --target aarch64-apple
```
on an AS MacBook

Fixes https://github.com/ankidroid/Anki-Android-Backend/issues/164
2022-03-25 11:21:46 -05:00
Mike Hardy
2147589640 chore(ktlint): bump ktlint to 0.45.1 / spacing changes w/new version
spacing changes were produced automatically using the new version on the
command line with `-F` argument to auto-fix spacing to conform with new
version of the tool
2022-03-23 16:14:53 -05:00
Mike Hardy
0f00054f07 test(acra): point debug crashes at main acralyzer install
the current dev one I set up does still accept reports successfully,
but the dashboard is non-responsive so it is no longer a valid test target
for most people

debug crashes are disabled by default so this should be safe, and an improved
developer experience for ACRA testing - wiki updated to match
2022-03-23 11:47:08 -05:00
Mike Hardy
0721bd5607 Bumped version to 2.16alpha53 2022-03-23 12:38:57 +00:00
Mike Hardy
2adf897f41 Bumped version to 2.16alpha52 2022-03-19 02:49:13 +00:00
David Allison
446b4cba5c feat(tests): Add Mockk dependency
This makes for much easier mocking of Kotlin Objects/statics

This dependency will be used when migrating CompatHelper

https://stackoverflow.com/questions/37977320/how-to-mock-a-kotlin-singleton-object
https://stackoverflow.com/questions/49762409/mock-static-java-methods-using-mockk
2022-03-18 17:02:14 -05:00
Mike Hardy
c8be7842e0 Bumped version to 2.16alpha51 2022-03-14 22:48:26 +00:00
Mike Hardy
a9ca2cfa85 Bumped version to 2.16alpha50 2022-03-11 23:39:06 +00:00
dependabot[bot]
d71e10a1ca chore(deps): bump mockito-inline from 4.3.1 to 4.4.0
Bumps [mockito-inline](https://github.com/mockito/mockito) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.1...v4.4.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>
2022-03-11 17:35:06 -05:00
Brayan Oliveira
803da9df20 Update hamcrest-all:1.3 to hamcrest:2.2
The package name was updated in 2.0.
Handled deprecations:
isOneOf -> oneOf
isEmptyString -> emptyString
isEmptyOrNullString -> emptyOrNullString
2022-03-10 14:09:16 -05:00
Mike Hardy
0aa58b7b56 Bumped version to 2.16alpha49 2022-03-09 11:31:14 +00:00
dependabot[bot]
0543e13470 chore(deps): bump jackson-databind from 2.13.1 to 2.13.2
Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.1 to 2.13.2.
- [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>
2022-03-08 14:39:43 -05:00
Mike Hardy
b1a42c781f Bumped version to 2.16alpha48 2022-03-05 15:28:01 +00:00
David Allison
e07b971099 feat(kotlin-test): assertNotNull
From: `org.jetbrains.kotlin:kotlin-test`

This internally uses `contract { }` blocks so we don't need a `!!` for
 the variable later

Differences:
* args are in (assert, message), rather than (message, assert)
* `JUnitAsserter` has args in the correct order, so use it
   * But misses `assertFalse`
   * `assertEquals(int, long)` fails at runtime

So we add `assertFalse` to `testutils`

* CardTemplateEditor has both - inverts False, and fixes equality

https://kotlinlang.org/api/latest/kotlin.test/
https://kotlinlang.org/api/latest/kotlin.test/kotlin.test.junit/-j-unit-asserter/

Issue 10427
2022-03-05 08:30:43 -05:00
Mike Hardy
6b043f9b0b Bumped version to 2.16alpha47 2022-03-03 13:01:22 +00:00
Mike Hardy
c84e67a71b Bumped version to 2.16alpha46 2022-03-01 13:17:14 +00:00
Akshay Vilas Jadhav
7fee523312
freeCompilerArgs in tasks.KotlinCompile for Kotlin/JVM interface method interop (#10275)
Kotlin allows concrete function implementations inside interfaces.

For those to work when Kotlin compilation targets the JVM backend, you have to enable the interoperability via 'freeCompilerArgs' in your gradle file, and you have to choose one of the appropriate '-Xjvm-default' modes.

https://kotlinlang.org/docs/java-to-kotlin-interop.html#default-methods-in-interfaces

We used "all" because we don't have downstream consumers
https://docs.gradle.org/current/userguide/task_configuration_avoidance.html

Co-authored-by: Mike Hardy <github@mikehardy.net>
2022-02-28 08:37:39 -05:00
Mike Hardy
85599ada20 Bumped version to 2.16alpha45 2022-02-21 12:49:27 +00:00
Mike Hardy
397df87e90 Bumped version to 2.16alpha44 2022-02-17 20:42:19 +00:00
David Allison
aece7503ad feat(scoped-storage): Add "DiskFile"
Strongly typed class: a file which existed at class instantiation
Helps to remove the assumption that a file may not exist

Obviously the file could be deleted, but we now consider it to be
an edge case rather than a reasonable possibility

For use in Scoped Storage migration
2022-02-16 23:51:32 +01:00
Mike Hardy
ba31cda71b Bumped version to 2.16alpha43 2022-02-14 20:01:09 +00:00
Mike Hardy
9c23396498 Bumped version to 2.16alpha42 2022-02-08 16:38:26 +00:00
codingtosh
52ef757ef3 [Gradle][Ktlint Worker Task] Bump workerMaxHeapSize to 2048m
Task: org.jlleitschuh.gradle.ktlint.worker.KtLintWorkAction

Fixes: https://github.com/ankidroid/Anki-Android/issues/10242
2022-02-01 11:54:18 -05:00
Mike Hardy
fd8e047002 Bumped version to 2.16alpha41 2022-02-01 16:38:20 +00:00
Mike Hardy
b430879e54
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 08:43:44 -05:00
Mike Hardy
6260cd6e25 build(deps): bump android gradle plugin to 7.1
- bcprov gradle.properties setting no longer needed, fix released in AGP7.1
- androidx.core resolution strategy no longer needed (actually was in fragment 1.4)
- opt in to api component publishing new regime to quiet warning
- disable certain lints that were not providing value or are already tracked
2022-01-26 15:01:40 -05:00
dependabot[bot]
c641a7243e Bump mockito-inline from 4.2.0 to 4.3.0
Bumps [mockito-inline](https://github.com/mockito/mockito) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.2.0...v4.3.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>
2022-01-26 15:01:40 -05:00
Mike Hardy
ae87b4dc58 Bumped version to 2.16alpha40 2022-01-21 19:27:42 +00:00
Mike Hardy
07e5206923 Bumped version to 2.16alpha39 2022-01-17 06:49:08 +00:00
Mike Hardy
75699cc2d5 Bumped version to 2.16alpha38 2022-01-16 19:05:50 +00:00
Mike Hardy
022dbdb778
build(deps): dependency updates 20220115 (#10230)
* Bump protobuf-java from 3.19.1 to 3.19.2

Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.19.1 to 3.19.2.
- [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.1...v3.19.2)

---
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>

* Bump protobuf-java from 3.19.2 to 3.19.3

Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.19.2 to 3.19.3.
- [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.2...v3.19.3)

---
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>

* Bump appcompat from 1.4.0 to 1.4.1

Bumps appcompat from 1.4.0 to 1.4.1.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump constraintlayout from 2.1.2 to 2.1.3

Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/androidx/constraintlayout/releases)
- [Commits](https://github.com/androidx/constraintlayout/commits)

---
updated-dependencies:
- dependency-name: androidx.constraintlayout:constraintlayout
  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-01-15 17:52:54 -05:00
Mike Hardy
8c2b14c627 Bumped version to 2.16alpha37 2022-01-09 21:29:35 +00:00
Mike Hardy
5e9c09cbfc Bumped version to 2.16alpha36 2022-01-09 17:16:38 +00:00
Mike Hardy
5fe60ed7d2
Dependency updates 20220102 (#10071)
* Bump ktlint-gradle from 10.2.0 to 10.2.1

Bumps ktlint-gradle from 10.2.0 to 10.2.1.

---
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>

* Bump jackson-databind from 2.13.0 to 2.13.1

Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.0 to 2.13.1.
- [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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-02 15:12:04 -05:00
Shridhar Goel
aedf30eb48
Add LeakCanary (#10032)
* Add LeakCanary
* Add filter in ActivityStartupMetaTest for LeakCanary classes
* Update implementation to handle debug and release version cases
* Disable LeakCanary auto-install and do manual install when required
* Add comment regarding AppWatcher manual install

* Update AnkiDroid/src/main/java/com/ichi2/anki/AnkiDroidApp.java

Co-authored-by: David Allison <62114487+david-allison-1@users.noreply.github.com>

* Move LeakCanary strings to separate file

Co-authored-by: David Allison <62114487+david-allison-1@users.noreply.github.com>
2022-01-02 13:42:20 -05:00
Mike Hardy
28a0d84ccd Bumped version to 2.16alpha35 2022-01-01 12:49:24 +00:00
Mike Hardy
417160f919
Dependency updates 20211217 (#9990)
* Bump mockito-inline from 4.0.0 to 4.1.0 (#9940)

Bumps [mockito-inline](https://github.com/mockito/mockito) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.0.0...v4.1.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump okhttp from 4.9.2 to 4.9.3

Bumps [okhttp](https://github.com/square/okhttp) from 4.9.2 to 4.9.3.
- [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.9.2...parent-4.9.3)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump constraintlayout from 2.1.1 to 2.1.2

Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/androidx/constraintlayout/releases)
- [Commits](https://github.com/androidx/constraintlayout/commits)

---
updated-dependencies:
- dependency-name: androidx.constraintlayout:constraintlayout
  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.6.0 to 3.7.0

Bumps com.github.triplet.play from 3.6.0 to 3.7.0.

---
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 lint_version from 30.0.3 to 30.0.4 (#9972)

Bumps `lint_version` from 30.0.3 to 30.0.4.

Updates `lint-api` from 30.0.3 to 30.0.4

Updates `lint` from 30.0.3 to 30.0.4

Updates `lint-tests` from 30.0.3 to 30.0.4

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump gradle from 7.0.3 to 7.0.4 (#9973)

Bumps gradle from 7.0.3 to 7.0.4.

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump kotlin_version from 1.6.0 to 1.6.10 (#9980)

Bumps `kotlin_version` from 1.6.0 to 1.6.10.

Updates `kotlin-gradle-plugin` from 1.6.0 to 1.6.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.10/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.0...v1.6.10)

Updates `kotlin-stdlib` from 1.6.0 to 1.6.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.10/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.0...v1.6.10)

Updates `kotlin-stdlib-jdk7` from 1.6.0 to 1.6.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.10/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.0...v1.6.10)

Updates `kotlin-reflect` from 1.6.0 to 1.6.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.10/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.0...v1.6.10)

---
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-stdlib-jdk7
  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
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump sqlite-framework from 2.1.0 to 2.2.0

Bumps sqlite-framework from 2.1.0 to 2.2.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>

* Bump mockito-inline from 4.1.0 to 4.2.0

Bumps [mockito-inline](https://github.com/mockito/mockito) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.1.0...v4.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>

* Bump junit-vintage-engine from 5.8.1 to 5.8.2

Bumps [junit-vintage-engine](https://github.com/junit-team/junit5) from 5.8.1 to 5.8.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.1...r5.8.2)

---
updated-dependencies:
- dependency-name: org.junit.vintage:junit-vintage-engine
  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>
2021-12-31 15:36:17 -05:00
dikshamalik2552
6ef6630b9c
build(deps): Bump robolectric from 4.7.1 to 4.7.3 (#9966)
* Bump robolectric from 4.7.1 to 4.7.3
* Update AnkiDroid/build.gradle

Co-authored-by: Mike Hardy <github@mikehardy.net>
2021-12-04 13:29:52 -05:00
Mike Hardy
1e9388f109 Bumped version to 2.16alpha34 2021-11-19 00:40:30 +00:00
Mike Hardy
3fcfcc9957
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-18 19:33:55 -05:00
Mike Hardy
e44ce12b26 Bumped version to 2.16alpha33 2021-11-15 02:12:56 +00:00
Mike Hardy
d3a423c508 Bumped version to 2.16alpha32 2021-11-13 19:11:49 +00:00
Mike Hardy
2c034d6cc6 Bumped version to 2.16alpha31 2021-11-11 03:34:11 +00:00
Mike Hardy
b09e2a7631 Bumped version to 2.16alpha30 2021-11-07 22:28:43 +00:00
Mike Hardy
34bd301594 build(deps): bump core/auto-service/activity/browser deps
- FieldEditText took a new deprecation, tracked in #9775
- SharedDecksActivity generated a new build warning that it was not overriding onCreateOptionsMenu,
  it was just a nullability difference, the superclass method is non-null Menu argument
2021-11-04 20:45:40 -05:00
dependabot[bot]
4246143fa6 build(deps): bump annotation from 1.2.0 to 1.3.0
Bumps annotation from 1.2.0 to 1.3.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>
2021-11-04 20:45:40 -05:00
dependabot[bot]
5950c008e6 build(deps): bump auto-service from 1.0 to 1.0.1
Bumps [auto-service](https://github.com/google/auto) from 1.0 to 1.0.1.
- [Release notes](https://github.com/google/auto/releases)
- [Commits](https://github.com/google/auto/compare/auto-value-1.0...auto-common-1.0.1)

---
updated-dependencies:
- dependency-name: com.google.auto.service:auto-service
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-04 20:45:40 -05:00
Mike Hardy
0e43472891 fix(android, api31): implement compileSdkVersion 31 compatibility
- added new CompatV31 object to compat infrastructure
- handled MediaRecorder() ctor deprecation by threading Context through, adding new Compat method
- handled Context.VIBRATOR_SERVICE deprecation with recommended new APIs in CompatV31 override
2021-11-04 17:03:01 -05:00
Mike Hardy
c6ef93c4fb Bumped version to 2.16alpha29 2021-10-31 19:58:35 +00:00
Anand
f97943bfe9
build(deps): move acra version to root build.gradle (#9745)
* Update build.gradle
2021-10-31 13:27:32 -05:00
dependabot[bot]
0bb524fea1 build(deps): bump protobuf-java from 3.19.0 to 3.19.1
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.19.0 to 3.19.1.
- [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.0...v3.19.1)

---
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>
2021-10-31 13:21:52 -05:00
David Allison
e55051d054 feat(instrumented tests): Use separate collection
* Define a new test runner
* Use new test runner in `build.gradle`
* Which uses a new application class
* Which sets `AnkiDroidApp.INSTRUMENTATION_TESTING`
* Which is used in `getCurrentAnkiDroidDirectory`

Note: This folder will be created at "/AnkiDroid/androidTest" and
will not be cleared

We also fix ACRATest to allow for subclasses

Fixes 9111
2021-10-28 16:06:21 -05:00
Mike Hardy
6d266545c8 Bumped version to 2.16alpha28 2021-10-26 20:58:23 +00:00
Mike Hardy
411dd9c1ba Bumped version to 2.16alpha27 2021-10-25 20:33:59 +00:00
Mike Hardy
d624b385c1
release: manually bump version to bring build.gradle + play store in sync
Action https://github.com/ankidroid/Anki-Android/runs/3992128709 failed to publish completely but not after uploading artifacts
2021-10-25 15:25:18 -05:00
Mike Hardy
a11896c20d Bumped version to 2.16alpha25
@branch-specific
2021-10-22 15:33:24 +00:00
David Allison
5971433718 perf(build): setting to strip resources
Default is no change.

Add

```
enable_languages=false
```

to a file named `local.properties` to activate

This may be a placebo in terms of build times. Functionality
is tested
2021-10-22 07:51:28 -05:00
Mike Hardy
44ddfbaa1a Bumped version to 2.16alpha24
@branch-specific
2021-10-21 20:13:37 +00:00
Mike Hardy
317d130659
Dependency updates 20211021 (#9685)
* build(deps): bump mockito-kotlin from 3.2.0 to 4.0.0

Bumps [mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 3.2.0 to 4.0.0.
- [Release notes](https://github.com/mockito/mockito-kotlin/releases)
- [Commits](https://github.com/mockito/mockito-kotlin/compare/3.2.0...4.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): bump protobuf-java from 3.18.1 to 3.19.0

Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.18.1 to 3.19.0.
- [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.18.1...v3.19.0)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  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>
2021-10-21 13:22:12 -05:00
David Allison
9d1d3bf86b deps: bump anki-android-backend to 0.1.10 2021-10-21 08:25:15 -05:00
Mike Hardy
0d9df62371 style(lint, Timber): lint issues with Timber solved in current release
remove lint rule ignore, remove comments, fix up entropic lint violations that crept
in while lint rules were disabled
2021-10-18 23:48:24 +01:00
Mike Hardy
271fff0a0e Bumped version to 2.16alpha23
@branch-specific
2021-10-17 21:29:47 +00:00
Mike Hardy
6610f3a8a1 Bumped version to 2.16alpha22
@branch-specific
2021-10-17 20:26:55 +00:00
Mike Hardy
a4d46631e9 Bumped version to 2.16alpha21
@branch-specific
2021-10-17 06:43:05 +00:00
Mike Hardy
508735ab42 Bumped version to 2.16alpha20
@branch-specific
2021-10-15 01:42:52 +00:00
Mike Hardy
8c1ff98d7a Bumped version to 2.16alpha19
@branch-specific
2021-10-12 17:28:24 +00:00
Siju S
042d898136 Fixes #9384 Kotlin: Compile warnings should break the build
- Add Kotlin option in gradle file to show compile warnings as errors
- Fix existing compiler warnings for build to pass
2021-10-09 09:49:59 -05:00
Mike Hardy
cfa8df1a0c Bumped version to 2.16alpha18
@branch-specific
2021-10-08 15:19:44 +00:00
dependabot[bot]
af33fbb12c build(deps): bump mockito-inline from 3.12.4 to 4.0.0
Bumps [mockito-inline](https://github.com/mockito/mockito) from 3.12.4 to 4.0.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.4...v4.0.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-inline
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 08:51:47 -05:00
dependabot[bot]
f897aaf5e6 build(deps): bump protobuf-java from 3.18.0 to 3.18.1
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.18.0 to 3.18.1.
- [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.18.0...v3.18.1)

---
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>
2021-10-08 08:51:47 -05:00
dependabot[bot]
49abe99934 build(deps): bump okhttp from 4.9.1 to 4.9.2
Bumps [okhttp](https://github.com/square/okhttp) from 4.9.1 to 4.9.2.
- [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.9.1...parent-4.9.2)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 08:51:47 -05:00
dependabot[bot]
360d2ab7a4 build(deps): bump jsoup from 1.14.2 to 1.14.3
Bumps [jsoup](https://github.com/jhy/jsoup) from 1.14.2 to 1.14.3.
- [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.2...jsoup-1.14.3)

---
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>
2021-10-08 08:51:47 -05:00
dependabot[bot]
bfd47a7ba1 build(deps): bump jackson-databind from 2.12.5 to 2.13.0
Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.12.5 to 2.13.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>
2021-10-08 08:51:47 -05:00
David Allison
16c89e79cc Move migration to plugin 2021-10-01 13:15:24 -05:00
Mike Hardy
6407976ce5 Bumped version to 2.16alpha17
@branch-specific
2021-09-28 19:08:01 +00:00
dependabot[bot]
0bb3bdaec9 build(deps): bump constraintlayout from 2.1.0 to 2.1.1
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/androidx/constraintlayout/releases)
- [Commits](https://github.com/androidx/constraintlayout/commits)

---
updated-dependencies:
- dependency-name: androidx.constraintlayout:constraintlayout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-28 12:32:36 -05:00
dependabot[bot]
217e92deca build(deps): bump junit-vintage-engine from 5.8.0 to 5.8.1
Bumps [junit-vintage-engine](https://github.com/junit-team/junit5) from 5.8.0 to 5.8.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.0...r5.8.1)

---
updated-dependencies:
- dependency-name: org.junit.vintage:junit-vintage-engine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-28 12:32:36 -05:00
Mike Hardy
1822a21f7c Bumped version to 2.16alpha16
@branch-specific
2021-09-24 18:20:25 +00:00
Mike Hardy
c5126a7193 Bumped version to 2.16alpha15
@branch-specific
2021-09-22 03:58:56 +00:00
Mike Hardy
e8cb5562d7
Dependency updates 20210921 (#9534)
* build(deps): bump mockito-inline from 3.11.2 to 3.12.0

Bumps [mockito-inline](https://github.com/mockito/mockito) from 3.11.2 to 3.12.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.2...v3.12.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 mockito-inline from 3.12.0 to 3.12.1

Bumps [mockito-inline](https://github.com/mockito/mockito) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.0...v3.12.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>

* build(deps): bump kotlin_version from 1.5.21 to 1.5.30

Bumps `kotlin_version` from 1.5.21 to 1.5.30.

Updates `kotlin-gradle-plugin` from 1.5.21 to 1.5.30
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.5.30/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.21...v1.5.30)

Updates `kotlin-stdlib` from 1.5.21 to 1.5.30
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.5.30/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.21...v1.5.30)

Updates `kotlin-stdlib-jdk7` from 1.5.21 to 1.5.30
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.5.30/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.21...v1.5.30)

Updates `kotlin-reflect` from 1.5.21 to 1.5.30
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.5.30/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.21...v1.5.30)

---
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-stdlib-jdk7
  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
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump mockito-inline from 3.12.1 to 3.12.3

Bumps [mockito-inline](https://github.com/mockito/mockito) from 3.12.1 to 3.12.3.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.1...v3.12.3)

---
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>

* build(deps): bump mockito-inline from 3.12.3 to 3.12.4

Bumps [mockito-inline](https://github.com/mockito/mockito) from 3.12.3 to 3.12.4.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.3...v3.12.4)

---
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>

* build(deps): bump jackson-databind from 2.12.4 to 2.12.5

Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.12.4 to 2.12.5.
- [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 gradle from 7.0.1 to 7.0.2

Bumps gradle from 7.0.1 to 7.0.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>

* build(deps): bump lint_version from 30.0.1 to 30.0.2

Bumps `lint_version` from 30.0.1 to 30.0.2.

Updates `lint-api` from 30.0.1 to 30.0.2

Updates `lint` from 30.0.1 to 30.0.2

Updates `lint-tests` from 30.0.1 to 30.0.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>

* build(deps): bump junit-vintage-engine from 5.7.2 to 5.8.0

Bumps [junit-vintage-engine](https://github.com/junit-team/junit5) from 5.7.2 to 5.8.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.2...r5.8.0)

---
updated-dependencies:
- dependency-name: org.junit.vintage:junit-vintage-engine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump protobuf-java from 3.17.3 to 3.18.0

Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.17.3 to 3.18.0.
- [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.17.3...v3.18.0)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump kotlin_version from 1.5.30 to 1.5.31

Bumps `kotlin_version` from 1.5.30 to 1.5.31.

Updates `kotlin-gradle-plugin` from 1.5.30 to 1.5.31
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.5.31/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.30...v1.5.31)

Updates `kotlin-stdlib` from 1.5.30 to 1.5.31
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.5.31/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.30...v1.5.31)

Updates `kotlin-stdlib-jdk7` from 1.5.30 to 1.5.31
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.5.31/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.30...v1.5.31)

Updates `kotlin-reflect` from 1.5.30 to 1.5.31
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.5.31/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.30...v1.5.31)

---
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-stdlib-jdk7
  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
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 22:19:41 -05:00
Mike Hardy
214e33cc45 Bumped version to 2.16alpha14
@branch-specific
2021-09-04 16:51:03 +00:00
Mike Hardy
888c13a7bf Bumped version to 2.16alpha13
@branch-specific
2021-08-31 19:12:43 +00:00