0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00
Anki-Android/build.gradle

155 lines
7.7 KiB
Groovy
Raw Normal View History

import org.gradle.internal.jvm.Jvm
Dependency updates 20231130 (#14855) * build(deps): bump commons-io:commons-io from 2.15.0 to 2.15.1 Bumps commons-io:commons-io from 2.15.0 to 2.15.1. --- updated-dependencies: - dependency-name: commons-io:commons-io dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.webkit:webkit from 1.8.0 to 1.9.0 Bumps androidx.webkit:webkit from 1.8.0 to 1.9.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> * Update Gradle Wrapper from 8.4 to 8.5. Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> * build(deps): remove JDK18, support JDK21 (LTS) * build(deps): adopt jacoco 0.8.11 - supports JDK21 * style(lint): use new build variant configuration style documentation: https://developer.android.com/build/build-variants - defer configuration of build types / flavors with create/named, used in example - flavorDimensions is now a property so you += custom dimensions to it * style(lint): gradle .all --> .configureEach * style(lint): use imports vs fully qualified names * docs(gradle): update comment describing CI vCPU determination * style(lint): use deferred-configuration-compatible task registration/dependency * style(lint): deprecated kotlinOptions -> current compilerOptions * style(lint): project.buildDir -> project.layout.buildDirectory required a slightly different way of building the file tree for kotlin class location as input to the report, but despite being a little subtle it is not at all hard to understand --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-11-30 22:01:31 +01:00
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.jetbrains.kotlin.gradle.tasks.KotlinCompilerExecutionStrategy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
// The version for the Kotlin plugin and dependencies
Drop legacy schema, and update to 2.1.66 backend (#14171) * Update target API to 23 * Update to 2.1.66, and switch to new schema by default + Temporarily disable unused resource warnings * Drop legacy syncing code * Drop legacy import/export code * Drop legacy tag handling * Drop legacy config handling * Drop legacy database check * Stub out unused v1 scheduler code Can't be fully removed, as we still need to be able to open a v1 collection so the user can upgrade. moveVersions test has been removed, as backend code is used for moving outside of unit tests. * Drop legacy deck handling * Drop legacy search code * Drop legacy notetype code This breaks the card template editor, so I've temporarily disabled it in the GUI. Getting it working again will require switching to the new template rendering code in the new backend. Also breaks an "empty cards" action in CardContentProvider, as I was not sure what it was trying to accomplish. * Drop legacy media code This removes oakkitten's custom media checking code, as keeping it would require keeping a bunch of the duplicated Kotlin logic. His comment about cancellation is incorrect: the call can be cancelled with backend. setWantsAbort() on a background thread. And since the app enforces filenames are normalized when they're added anyway, I don't think avoiding automatic normalization is worth the duplicated code. * Drop legacy Collection/DB code * Drop most references to defaultLegacySchema * Remove legacy schema tests from CI CI won't work yet, because backend version needs updating * Fix import CSV call * Remove some unused symbols from anki module * Drop majority of old stats code * Remove unused symbols from libanki * Remove some broken Android tests, and fix one checkIfStudyOptionsIsDisplayedOnTablet() is also consistently failing, but was doing so before I started on these changes. * Move config methods into col.config * Simplify config API - Use kotlinx.serialization so that arbitrary typed objects can be (de)serialized - There is a single generic get(), that always returns an optional value, which will be null if the key is missing, is null, or is not the correct type. There will always be collections that have invalid data, so the calling code always needs to be prepared to substitute a reasonable default in such cases. - Expose the typed getBool() method from the backend. * Remove unused legacy importer * Drop jackson * Models -> Notetypes * Remove some more unused symbols * Remove generic type aliases * Rename Model -> Notetype I had to leave ModelTest.kt's filename alone, as changing it to Notetype.kt reorders the unit tests, and causes about 4 tests to start flaking. * Get card template editor preview working again * Enable undo on edits; fix test hang * Use backend for bulk suspend/undo By default, undoableOp() notifies all screens listening for opExecuted, so the refreshing happens automatically, and the manual refresh code at the end of the old routine is no longer required. It is possible to bypass this when you want to manually update the UI, but this is probably not worth attempting until the card browser is either switched over to a recycler view, or reimplemented as a web component. The LongArrays have been switched to simple lists, as Google's protobuf code expects Iterable<Long> * Use backend for marking/undo, and change deck/undo * Migrate reviewer actions/undo to backend * Migrate remainder of undo code to backend, apart from v2 undo Couple of notes: - The legacy v2 undo no longer returns the undone card, and instead rebuilds the queue. In some circumstances (eg a learning card has become due), this can result in a different card being shown after undoing. This is not ideal, but v2 does not have long to live at this point. - The reset/reposition tests were reusing the old card cache values, which have to be reloaded after an operation. - A test in AbstractSched had to be moved to ReviewerTest so it can have access to an activity. - UndoTest has been removed, as it mainly focused on removed code. * GetCard() -> getNextCardAndRedraw() * render_output -> renderOutput() * Drop AsyncTask Probably the hardest part of AnkiDroid's code base to follow; very glad to see the end of it. Closes #7108 * Make note addition undoable * Make bulk tag update undoable * Remove remaining explicit transaction handling The backend automatically wraps backend actions in a transaction, and removing the explicit calls will allow us to drop the redundant mutex that rsdroid acquires. * Remove remaining unused classes/methods/properties * Remove FunctionalInterfaces * Switch to backend answer comparison * Remove unused locking code + legacy storage code * Switch ContentProviderTest to new schema, and fix bug * Remove legacy Deck Options settings * fix: remove minSdkVersion < 23 code * Use short time in snackbars People complained about snackbars interrupting their reviews before * fix: don't duplicate undo label It were showing a message like `Undo Undo Add Note` * Remove "Advanced statistics" * Remove legacy_schema local property * Leave zip validation up to the backend The backend takes care of validating the zip file and ensuring files aren't written outside of the media folder. I've expanded the mime match to include the zip mime, on the assumption that's what the mime type is being changed to on some devices. If that proves to be insufficient, a much simpler approach would be to look for 50 4B 03 04 at the start of the file to determine if it's a zip file or not. This leaves only Mani's add-on code using commons-compression, so you could potentially switch to a simpler tgz-specific library in the future if that is easier. * Disable two flaky tests They started to flaky reliably after the legacy deck options test was removed. * Improve logging of HTTP requests * Remove ModelBrowser Replaced by ManageNotetypes * Remove legacy CardInfo replaced by com.ichi2.anki.pages.CardInfo * Change comments at AdvancedSettingsFragment * test: check if prefs analytics list don't have extra elements * ContextCompat.getColor -> getColor that compat method is for implementations in API < 23 * Remove more unused files * refactor: move SECONDS_PER_DAY to a separate util file in order to be able to remove Stats.kt later * refactor: remove Stats and OverviewStatsBuilder * Access sched.card directly in tests The helper was adding a 500ms sleep on every fetch, which slowed the scheduler tests down considerably. * Make v3 scheduler the default; drop support for v2 The v3 scheduler was originally released in 2021, and we've been waiting for a stable AnkiDroid release to support it before we could switch users over to it. Now that 2.16 is out, we can finally push v3 out across the ecosystem. While we could theoretically make v3 the default without removing v2, here are the reasons why I think we're better off switching to v3 only: - AnkiWeb's review interface will likely switch over to v3-only in the coming weeks, and AnkiMobile will likely drop v2 around the same time 2.17 comes out. - v2 and v3 differ in a few ways that makes maintaining the two separate paths more complicated: things like the different undo paths, counts not including the current card, and the way the v3 scheduler supports custom scheduler js. 2.17 is a chance to clean up a lot of old cruft in the code base, and the old scheduling code is part of that. - v2 and v3 are compatible with each other, and don't require a full sync to change, so it doesn't break syncing with old clients (though depending on settings, due counts may differ, which needs explanation) I had to disable a couple of tests for this that we'll probably want to restore in some form: - corruptVersion16CollectionShowsDatabaseError() needs an update, and it may be time to rip out the old CollectionHelper colIsOpen(), getColSafe() and so on, migrating code that uses it over to withCol() instead. The 'collection inaccessible' dialog also needs a rethink - perhaps the various exceptions could be handled in launchCatchingTask instead. - testUndoResetsCardCountsToCorrectValue() is failing because initLayout() creates a gesture listener, which fails with an error about the looper not being initialized. I am not sure what's going on there - one option would be to move the test to androidTest. * Drop v2 sched file; rename files * Drop AbstractSched and legacy undo code/queue code * Migrate BaseSched into Scheduler * More unused symbol removal * Remove DeckTreeNode * Remove unused processChildren() * Remove shouldDisplayCounts(), as counts always available * Remove manual hashCode()/compareTo() implementations * Drop AbstractDeckTreeNode * Turn DeckNode into a wrapper for DeckTreeNode * Drop TreeNode and simplify filtering * Remove `New card position` global preference Overridden by per-deck configuration Closes #12319 * fix: remove chess.css from card_template_html * Store current queue state in reviewer Prerequisite for solving #12620 Also dropped answerButtons(), as it's always 4 * Use local HTTP server for serving flashcard content Prerequisite for solving #12620 * Implement support for custom JS scheduling Enables FSRS and closes #12620 * Remove more unused code * Remove separate Deck(Config)V16 objects and more unused code * Move some NotetypeJson methods into its file * Finish tidying Decks.kt * Drop redundant col property on Collection * Remove some usages of CollectionGetter * Rename col->getColUnsafe to encourage migration * Remove Reviewer.sched * Handle deck tree not initialized in empty collection * refactor: move syncStatus() to Collection to avoid direct calls to the backend * fix: do not show error when updating the menu if there is no internet Reproduction steps: 1. have the collection synced 2. disable the device internet connection 3. Restart the app * Remove unused resources and re-enable lint * Restore sync cancel strings * Defer loading webpage until server has initialized * Ignore translations without a base entry https://github.com/ankidroid/Anki-Android/pull/14171#issuecomment-1660286342 * Remove the SortOrder deprecation * Remove the apparently-unused Backup.kt * Remove last remaining use of Collection's context field * Stop passing Context to backend The library loading is now AnkiDroid's responsibility, so the backend does not require access to an Android context. Also remove the unused context field from Collection. * Use backend for rendering next time labels * Use backend for rendering finished message The custom study & unbury descriptions are slightly different, but should suffice until AnkiDroid can start using the Svelte finished screen. * Run SchedulerTest without Robolectric Halves the run time. To do this, I implemented a new JvmTest class and copied some of the helpers in RobolectricTest into it. * Remove unused Kotlin implementation of template parsing * Move Util code dealing with resources out of libanki * Migrate remaining libanki tests to raw JVM + Remove some commented-out tests Total savings are a drop from about 3m40s to 2m40s, with the scheduler test class dropping its runtime by about half. * Lazy-initialize col in tests * Restore 'experimental' string * Add comments to update-localizations.py * Restore AcraAnalyticsInteraction.kt --------- Co-authored-by: Brayan Oliveira <69634269+brayandso@users.noreply.github.com>
2023-08-30 23:44:03 +02:00
// If changing this, make sure to update org.jetbrains.kotlin.plugin.serialization version too
Dependency updates 20240111 (#15204) * build(deps): bump androidx.test.uiautomator:uiautomator Bumps androidx.test.uiautomator:uiautomator from 2.3.0-alpha05 to 2.3.0-beta01. --- updated-dependencies: - dependency-name: androidx.test.uiautomator:uiautomator 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.9.21 to 1.9.22 Bumps `kotlin_version` from 1.9.21 to 1.9.22. Updates `org.jetbrains.kotlin.jvm` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin.android` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin.plugin.parcelize` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin.plugin.serialization` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin:kotlin-test` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin.jvm dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin.android dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin.plugin.parcelize dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin.plugin.serialization 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 - 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> * chore(deps): bump com.github.ByteHamster:SearchPreference Bumps com.github.ByteHamster:SearchPreference from 2.4.0 to 2.5.0. --- updated-dependencies: - dependency-name: com.github.ByteHamster:SearchPreference dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump org.jsoup:jsoup from 1.17.1 to 1.17.2 Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup) from 1.17.1 to 1.17.2. - [Release notes](https://github.com/jhy/jsoup/releases) - [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES.md) - [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.17.1...jsoup-1.17.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> * chore(deps): bump com.squareup.leakcanary:leakcanary-android Bumps [com.squareup.leakcanary:leakcanary-android](https://github.com/square/leakcanary) from 2.12 to 2.13. - [Release notes](https://github.com/square/leakcanary/releases) - [Changelog](https://github.com/square/leakcanary/blob/v2.13/docs/changelog.md) - [Commits](https://github.com/square/leakcanary/compare/v2.12...v2.13) --- 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> * chore(deps): bump io.mockk:mockk from 1.13.8 to 1.13.9 Bumps [io.mockk:mockk](https://github.com/mockk/mockk) from 1.13.8 to 1.13.9. - [Release notes](https://github.com/mockk/mockk/releases) - [Commits](https://github.com/mockk/mockk/compare/1.13.8...1.13.9) --- 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> * chore(deps): bump org.apache.commons:commons-exec from 1.3 to 1.4.0 Bumps org.apache.commons:commons-exec from 1.3 to 1.4.0. --- updated-dependencies: - dependency-name: org.apache.commons:commons-exec dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump com.google.protobuf:protobuf-kotlin-lite Bumps com.google.protobuf:protobuf-kotlin-lite from 3.25.1 to 3.25.2. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin-lite dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): adopt android gradle plugin 8.2.1 note that the android gradle plugin 8.2-stable series has a defect that does not allow setting the jacoco version, and pins it at 0.8.8 that is fine in all cases except where you want to use JDK21, which requires jacoco 0.8.11+. this will be resolved in android gradle plugin 8.3-stable * chore(deps): bump com.github.zafarkhaja:java-semver from 0.9.0 to 0.10.0 (#15200) * chore(deps): bump com.github.zafarkhaja:java-semver from 0.9.0 to 0.10.0 Bumps [com.github.zafarkhaja:java-semver](https://github.com/zafarkhaja/jsemver) from 0.9.0 to 0.10.0. - [Release notes](https://github.com/zafarkhaja/jsemver/releases) - [Changelog](https://github.com/zafarkhaja/jsemver/blob/master/CHANGELOG.md) - [Commits](https://github.com/zafarkhaja/jsemver/compare/v0.9.0...v0.10.0) --- updated-dependencies: - dependency-name: com.github.zafarkhaja:java-semver dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore: fix deprecations in new java semver package --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Hardy <github@mikehardy.net> * chore(deps): bump follow-redirects in /tools/localization Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... 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>
2024-01-12 04:26:12 +01:00
ext.kotlin_version = '1.9.22'
Dependency updates 20220831 (#14365) * build(deps): bump kotlin_version from 1.9.0 to 1.9.10 Bumps `kotlin_version` from 1.9.0 to 1.9.10. Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.9.0 to 1.9.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.0...v1.9.10) Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.9.0 to 1.9.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.0...v1.9.10) Updates `org.jetbrains.kotlin:kotlin-test` from 1.9.0 to 1.9.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.0...v1.9.10) Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.9.0 to 1.9.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.0...v1.9.10) Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.9.0 to 1.9.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.0...v1.9.10) Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.9.0 to 1.9.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.0...v1.9.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-test dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump io.mockk:mockk from 1.13.5 to 1.13.7 Bumps [io.mockk:mockk](https://github.com/mockk/mockk) from 1.13.5 to 1.13.7. - [Release notes](https://github.com/mockk/mockk/releases) - [Commits](https://github.com/mockk/mockk/compare/1.13.5...1.13.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 com.github.ByteHamster:SearchPreference Bumps com.github.ByteHamster:SearchPreference from v2.3.0 to 2.4.0. --- updated-dependencies: - dependency-name: com.github.ByteHamster:SearchPreference dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.mockito.kotlin:mockito-kotlin from 5.0.0 to 5.1.0 Bumps [org.mockito.kotlin:mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 5.0.0 to 5.1.0. - [Release notes](https://github.com/mockito/mockito-kotlin/releases) - [Commits](https://github.com/mockito/mockito-kotlin/compare/5.0.0...5.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> * build(deps): bump lint_version from 31.1.0 to 31.1.1 Bumps `lint_version` from 31.1.0 to 31.1.1. Updates `com.android.tools.lint:lint-api` from 31.1.0 to 31.1.1 Updates `com.android.tools.lint:lint` from 31.1.0 to 31.1.1 Updates `com.android.tools.lint:lint-tests` from 31.1.0 to 31.1.1 --- updated-dependencies: - dependency-name: com.android.tools.lint:lint-api dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: com.android.tools.lint:lint dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: com.android.tools.lint:lint-tests dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update build.gradle * build(deps): bump fragments_version from 1.6.0 to 1.6.1 Bumps `fragments_version` from 1.6.0 to 1.6.1. Updates `androidx.fragment:fragment-ktx` from 1.6.0 to 1.6.1 Updates `androidx.fragment:fragment-testing-manifest` from 1.6.0 to 1.6.1 Updates `androidx.fragment:fragment-testing` from 1.6.0 to 1.6.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-manifest dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.fragment:fragment-testing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.google.protobuf:protobuf-kotlin-lite Bumps com.google.protobuf:protobuf-kotlin-lite from 3.24.1 to 3.24.2. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin-lite dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.preference:preference-ktx from 1.2.0 to 1.2.1 Bumps androidx.preference:preference-ktx from 1.2.0 to 1.2.1. --- updated-dependencies: - dependency-name: androidx.preference:preference-ktx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.kotlinx:kotlinx-serialization-json Bumps [org.jetbrains.kotlinx:kotlinx-serialization-json](https://github.com/Kotlin/kotlinx.serialization) from 1.5.1 to 1.6.0. - [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases) - [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md) - [Commits](https://github.com/Kotlin/kotlinx.serialization/compare/v1.5.1...v1.6.0) --- updated-dependencies: - dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-json dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.recyclerview:recyclerview from 1.3.0 to 1.3.1 Bumps androidx.recyclerview:recyclerview from 1.3.0 to 1.3.1. --- updated-dependencies: - dependency-name: androidx.recyclerview:recyclerview dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 19:30:20 +02:00
ext.lint_version = '31.1.1'
ext.acra_version = '5.11.3'
2024-01-03 03:33:40 +01:00
ext.ankidroid_backend_version = '0.1.34-anki23.12.1'
ext.hamcrest_version = '2.2'
Dependency updates 2023108 (#14685) * build(deps): bump org.robolectric:robolectric from 4.11 to 4.11.1 Bumps [org.robolectric:robolectric](https://github.com/robolectric/robolectric) from 4.11 to 4.11.1. - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.11...robolectric-4.11.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> * build(deps): bump com.android.tools:desugar_jdk_libs from 2.0.3 to 2.0.4 Bumps [com.android.tools:desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 2.0.3 to 2.0.4. - [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> * build(deps): bump fragments_version from 1.6.1 to 1.6.2 Bumps `fragments_version` from 1.6.1 to 1.6.2. Updates `androidx.fragment:fragment-ktx` from 1.6.1 to 1.6.2 Updates `androidx.fragment:fragment-testing-manifest` from 1.6.1 to 1.6.2 Updates `androidx.fragment:fragment-testing` from 1.6.1 to 1.6.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-manifest dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.fragment:fragment-testing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.google.protobuf:protobuf-kotlin-lite Bumps com.google.protobuf:protobuf-kotlin-lite from 3.24.4 to 3.25.0. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin-lite dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump junit_version from 5.10.0 to 5.10.1 Bumps `junit_version` from 5.10.0 to 5.10.1. Updates `org.junit.jupiter:junit-jupiter` from 5.10.0 to 5.10.1 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.10.0...r5.10.1) Updates `org.junit.jupiter:junit-jupiter-params` from 5.10.0 to 5.10.1 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.10.0...r5.10.1) Updates `org.junit.vintage:junit-vintage-engine` from 5.10.0 to 5.10.1 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.10.0...r5.10.1) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter 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 - 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> * build(deps): bump com.github.triplet.play from 3.8.4 to 3.8.5 Bumps com.github.triplet.play from 3.8.4 to 3.8.5. --- updated-dependencies: - dependency-name: com.github.triplet.play dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): adopt android gradle plugin 8.1.3 vs 8.2.0-rc series This is a more comfortable development experience as it does not force developers to use the developer preview of android studio to sync correctly, and 8.1.3 (vs 8.1.2...) appears to have the upstream issue we had with split ABI and include resources in tests fixed --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-08 18:32:23 +01:00
ext.junit_version = '5.10.1'
Dependency updates 20230826 (#14306) * Bump kotlin_version from 1.8.22 to 1.9.0 (#14103) * Bump kotlin_version from 1.8.22 to 1.9.0 Bumps `kotlin_version` from 1.8.22 to 1.9.0. Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.8.22 to 1.9.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/compare/v1.8.22...v1.9.0) Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.8.22 to 1.9.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/compare/v1.8.22...v1.9.0) Updates `org.jetbrains.kotlin:kotlin-test` from 1.8.22 to 1.9.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/compare/v1.8.22...v1.9.0) Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.8.22 to 1.9.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/compare/v1.8.22...v1.9.0) Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.8.22 to 1.9.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/compare/v1.8.22...v1.9.0) Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.8.22 to 1.9.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/compare/v1.8.22...v1.9.0) --- 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> * Use proper imports to fix lint issues when using kotlin 1.9.0 The java.util.* import was removed/replaced by specific calls to avoid defaulting some calls(like Arrays.forEach) to java methods which will only be available from API 24 and above. The org.junit.Assert.* generic imports were replaced with imports from kotlin.test.* as lint suggested. --------- 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 junit_version from 5.9.3 to 5.10.0 Bumps `junit_version` from 5.9.3 to 5.10.0. Updates `org.junit.jupiter:junit-jupiter` from 5.9.3 to 5.10.0 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.9.3...r5.10.0) Updates `org.junit.vintage:junit-vintage-engine` from 5.9.3 to 5.10.0 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.9.3...r5.10.0) Updates `org.junit.jupiter:junit-jupiter-params` from 5.9.3 to 5.10.0 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.9.3...r5.10.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 org.jlleitschuh.gradle:ktlint-gradle from 11.4.2 to 11.5.1 Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.4.2 to 11.5.1. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle:ktlint-gradle dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.google.protobuf:protobuf-kotlin Bumps com.google.protobuf:protobuf-kotlin from 3.23.3 to 3.24.1. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump org.jetbrains.kotlinx:kotlinx-coroutines-test from 1.7.2 to 1.7.3 Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-test](https://github.com/Kotlin/kotlinx.coroutines) from 1.7.2 to 1.7.3. - [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases) - [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md) - [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.7.2...1.7.3) --- updated-dependencies: - dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump lint_version from 31.0.2 to 31.1.0 (#14156) * Bump lint_version from 31.0.2 to 31.1.0 Bumps `lint_version` from 31.0.2 to 31.1.0. Updates `com.android.tools.lint:lint-api` from 31.0.2 to 31.1.0 Updates `com.android.tools.lint:lint` from 31.0.2 to 31.1.0 Updates `com.android.tools.lint:lint-tests` from 31.0.2 to 31.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> * Fix imports for TestFiles in lint modules The class was migrated to kotlin and became an object. --------- 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> * Update Gradle Wrapper from 8.1.1 to 8.3. Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> * build(deps): bump acra_version from 5.10.1 to 5.11.1 Bumps `acra_version` from 5.10.1 to 5.11.1. Updates `ch.acra:acra-http` from 5.10.1 to 5.11.1 - [Release notes](https://github.com/ACRA/acra/releases) - [Commits](https://github.com/ACRA/acra/compare/acra-5.10.1...acra-5.11.1) Updates `ch.acra:acra-dialog` from 5.10.1 to 5.11.1 - [Release notes](https://github.com/ACRA/acra/releases) - [Commits](https://github.com/ACRA/acra/compare/acra-5.10.1...acra-5.11.1) Updates `ch.acra:acra-toast` from 5.10.1 to 5.11.1 - [Release notes](https://github.com/ACRA/acra/releases) - [Commits](https://github.com/ACRA/acra/compare/acra-5.10.1...acra-5.11.1) Updates `ch.acra:acra-limiter` from 5.10.1 to 5.11.1 - [Release notes](https://github.com/ACRA/acra/releases) - [Commits](https://github.com/ACRA/acra/compare/acra-5.10.1...acra-5.11.1) --- updated-dependencies: - dependency-name: ch.acra:acra-http dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: ch.acra:acra-dialog dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: ch.acra:acra-toast dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: ch.acra:acra-limiter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump com.github.AppIntro:AppIntro from 6.2.0 to 6.3.1 Bumps [com.github.AppIntro:AppIntro](https://github.com/AppIntro/AppIntro) from 6.2.0 to 6.3.1. - [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.2.0...6.3.1) --- 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> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-08-26 16:35:13 +02:00
ext.coroutines_version = '1.7.3'
Dependency updates 2023108 (#14685) * build(deps): bump org.robolectric:robolectric from 4.11 to 4.11.1 Bumps [org.robolectric:robolectric](https://github.com/robolectric/robolectric) from 4.11 to 4.11.1. - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.11...robolectric-4.11.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> * build(deps): bump com.android.tools:desugar_jdk_libs from 2.0.3 to 2.0.4 Bumps [com.android.tools:desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 2.0.3 to 2.0.4. - [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> * build(deps): bump fragments_version from 1.6.1 to 1.6.2 Bumps `fragments_version` from 1.6.1 to 1.6.2. Updates `androidx.fragment:fragment-ktx` from 1.6.1 to 1.6.2 Updates `androidx.fragment:fragment-testing-manifest` from 1.6.1 to 1.6.2 Updates `androidx.fragment:fragment-testing` from 1.6.1 to 1.6.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-manifest dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.fragment:fragment-testing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.google.protobuf:protobuf-kotlin-lite Bumps com.google.protobuf:protobuf-kotlin-lite from 3.24.4 to 3.25.0. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin-lite dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump junit_version from 5.10.0 to 5.10.1 Bumps `junit_version` from 5.10.0 to 5.10.1. Updates `org.junit.jupiter:junit-jupiter` from 5.10.0 to 5.10.1 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.10.0...r5.10.1) Updates `org.junit.jupiter:junit-jupiter-params` from 5.10.0 to 5.10.1 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.10.0...r5.10.1) Updates `org.junit.vintage:junit-vintage-engine` from 5.10.0 to 5.10.1 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.10.0...r5.10.1) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter 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 - 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> * build(deps): bump com.github.triplet.play from 3.8.4 to 3.8.5 Bumps com.github.triplet.play from 3.8.4 to 3.8.5. --- updated-dependencies: - dependency-name: com.github.triplet.play dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): adopt android gradle plugin 8.1.3 vs 8.2.0-rc series This is a more comfortable development experience as it does not force developers to use the developer preview of android studio to sync correctly, and 8.1.3 (vs 8.1.2...) appears to have the upstream issue we had with split ABI and include resources in tests fixed --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-08 18:32:23 +01:00
ext.fragments_version = "1.6.2"
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 14:32:59 +01:00
ext.espresso_version = '3.5.1'
Dependency updates 20221111 (#12817) * Bump jackson-databind from 2.13.4.2 to 2.14.0 Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.4.2 to 2.14.0. - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) --- updated-dependencies: - dependency-name: com.fasterxml.jackson.core:jackson-databind dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump kotlin_version from 1.7.20 to 1.7.21 Bumps `kotlin_version` from 1.7.20 to 1.7.21. Updates `kotlin-gradle-plugin` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-stdlib` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-test` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-reflect` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-test-junit5` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) Updates `kotlin-test-junit` from 1.7.20 to 1.7.21 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.20...v1.7.21) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin:kotlin-test-junit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): parameterize androidx test/espresso/test-junit versions These need to move as a block, and they don't offer a bill of materials, this is the next best thing * test(deps): exclude androidx.test:core from fragment-testing transitive deps fragment-testing wants to pull in androidx.test:core at versions different than the ones we want to control, and it causes gradle dep resolution conflicts See https://github.com/android/android-test/issues/1587 * build(deps): bump androidx test/espresso/test-junit deps * Bump leakcanary-android from 2.9.1 to 2.10 Bumps [leakcanary-android](https://github.com/square/leakcanary) from 2.9.1 to 2.10. - [Release notes](https://github.com/square/leakcanary/releases) - [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md) - [Commits](https://github.com/square/leakcanary/compare/v2.9.1...v2.10) --- updated-dependencies: - dependency-name: com.squareup.leakcanary:leakcanary-android dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-11 16:56:00 +01:00
ext.androidx_test_version = '1.5.0'
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 14:32:59 +01:00
ext.androidx_test_junit_version = '1.1.5'
Dependency updates 2023108 (#14685) * build(deps): bump org.robolectric:robolectric from 4.11 to 4.11.1 Bumps [org.robolectric:robolectric](https://github.com/robolectric/robolectric) from 4.11 to 4.11.1. - [Release notes](https://github.com/robolectric/robolectric/releases) - [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.11...robolectric-4.11.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> * build(deps): bump com.android.tools:desugar_jdk_libs from 2.0.3 to 2.0.4 Bumps [com.android.tools:desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 2.0.3 to 2.0.4. - [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> * build(deps): bump fragments_version from 1.6.1 to 1.6.2 Bumps `fragments_version` from 1.6.1 to 1.6.2. Updates `androidx.fragment:fragment-ktx` from 1.6.1 to 1.6.2 Updates `androidx.fragment:fragment-testing-manifest` from 1.6.1 to 1.6.2 Updates `androidx.fragment:fragment-testing` from 1.6.1 to 1.6.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-manifest dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: androidx.fragment:fragment-testing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.google.protobuf:protobuf-kotlin-lite Bumps com.google.protobuf:protobuf-kotlin-lite from 3.24.4 to 3.25.0. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin-lite dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump junit_version from 5.10.0 to 5.10.1 Bumps `junit_version` from 5.10.0 to 5.10.1. Updates `org.junit.jupiter:junit-jupiter` from 5.10.0 to 5.10.1 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.10.0...r5.10.1) Updates `org.junit.jupiter:junit-jupiter-params` from 5.10.0 to 5.10.1 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.10.0...r5.10.1) Updates `org.junit.vintage:junit-vintage-engine` from 5.10.0 to 5.10.1 - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/compare/r5.10.0...r5.10.1) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter 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 - 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> * build(deps): bump com.github.triplet.play from 3.8.4 to 3.8.5 Bumps com.github.triplet.play from 3.8.4 to 3.8.5. --- updated-dependencies: - dependency-name: com.github.triplet.play dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): adopt android gradle plugin 8.1.3 vs 8.2.0-rc series This is a more comfortable development experience as it does not force developers to use the developer preview of android studio to sync correctly, and 8.1.3 (vs 8.1.2...) appears to have the upstream issue we had with split ABI and include resources in tests fixed --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-08 18:32:23 +01:00
ext.robolectric_version = '4.11.1'
Dependency updates 20240111 (#15204) * build(deps): bump androidx.test.uiautomator:uiautomator Bumps androidx.test.uiautomator:uiautomator from 2.3.0-alpha05 to 2.3.0-beta01. --- updated-dependencies: - dependency-name: androidx.test.uiautomator:uiautomator 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.9.21 to 1.9.22 Bumps `kotlin_version` from 1.9.21 to 1.9.22. Updates `org.jetbrains.kotlin.jvm` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin.android` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin.plugin.parcelize` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin.plugin.serialization` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin:kotlin-test` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin.jvm dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin.android dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin.plugin.parcelize dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin.plugin.serialization 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 - 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> * chore(deps): bump com.github.ByteHamster:SearchPreference Bumps com.github.ByteHamster:SearchPreference from 2.4.0 to 2.5.0. --- updated-dependencies: - dependency-name: com.github.ByteHamster:SearchPreference dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump org.jsoup:jsoup from 1.17.1 to 1.17.2 Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup) from 1.17.1 to 1.17.2. - [Release notes](https://github.com/jhy/jsoup/releases) - [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES.md) - [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.17.1...jsoup-1.17.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> * chore(deps): bump com.squareup.leakcanary:leakcanary-android Bumps [com.squareup.leakcanary:leakcanary-android](https://github.com/square/leakcanary) from 2.12 to 2.13. - [Release notes](https://github.com/square/leakcanary/releases) - [Changelog](https://github.com/square/leakcanary/blob/v2.13/docs/changelog.md) - [Commits](https://github.com/square/leakcanary/compare/v2.12...v2.13) --- 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> * chore(deps): bump io.mockk:mockk from 1.13.8 to 1.13.9 Bumps [io.mockk:mockk](https://github.com/mockk/mockk) from 1.13.8 to 1.13.9. - [Release notes](https://github.com/mockk/mockk/releases) - [Commits](https://github.com/mockk/mockk/compare/1.13.8...1.13.9) --- 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> * chore(deps): bump org.apache.commons:commons-exec from 1.3 to 1.4.0 Bumps org.apache.commons:commons-exec from 1.3 to 1.4.0. --- updated-dependencies: - dependency-name: org.apache.commons:commons-exec dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump com.google.protobuf:protobuf-kotlin-lite Bumps com.google.protobuf:protobuf-kotlin-lite from 3.25.1 to 3.25.2. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin-lite dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): adopt android gradle plugin 8.2.1 note that the android gradle plugin 8.2-stable series has a defect that does not allow setting the jacoco version, and pins it at 0.8.8 that is fine in all cases except where you want to use JDK21, which requires jacoco 0.8.11+. this will be resolved in android gradle plugin 8.3-stable * chore(deps): bump com.github.zafarkhaja:java-semver from 0.9.0 to 0.10.0 (#15200) * chore(deps): bump com.github.zafarkhaja:java-semver from 0.9.0 to 0.10.0 Bumps [com.github.zafarkhaja:java-semver](https://github.com/zafarkhaja/jsemver) from 0.9.0 to 0.10.0. - [Release notes](https://github.com/zafarkhaja/jsemver/releases) - [Changelog](https://github.com/zafarkhaja/jsemver/blob/master/CHANGELOG.md) - [Commits](https://github.com/zafarkhaja/jsemver/compare/v0.9.0...v0.10.0) --- updated-dependencies: - dependency-name: com.github.zafarkhaja:java-semver dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore: fix deprecations in new java semver package --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Hardy <github@mikehardy.net> * chore(deps): bump follow-redirects in /tools/localization Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... 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>
2024-01-12 04:26:12 +01:00
ext.android_gradle_plugin = "8.2.1"
Dependency updates 20231019 (#14563) * build(deps): ignore commons-compress below 1.25 now We are still not minSdkVersion >= API26 so we may not advance this dependency yet, we just notch this forward one version at a time so we continue to be aware of their releases, but ignore them for now * build(deps): bump androidx.annotation:annotation from 1.6.0 to 1.7.0 Bumps androidx.annotation:annotation from 1.6.0 to 1.7.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> * build(deps): bump com.google.protobuf:protobuf-kotlin-lite Bumps com.google.protobuf:protobuf-kotlin-lite from 3.24.2 to 3.24.3. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin-lite dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jlleitschuh.gradle.ktlint from 11.5.1 to 11.6.0 Bumps org.jlleitschuh.gradle.ktlint from 11.5.1 to 11.6.0. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle.ktlint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.google.protobuf:protobuf-kotlin-lite Bumps com.google.protobuf:protobuf-kotlin-lite from 3.24.3 to 3.24.4. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin-lite dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump commons-io:commons-io from 2.13.0 to 2.14.0 Bumps commons-io:commons-io from 2.13.0 to 2.14.0. --- updated-dependencies: - dependency-name: commons-io:commons-io dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump io.mockk:mockk from 1.13.7 to 1.13.8 Bumps [io.mockk:mockk](https://github.com/mockk/mockk) from 1.13.7 to 1.13.8. - [Release notes](https://github.com/mockk/mockk/releases) - [Commits](https://github.com/mockk/mockk/compare/1.13.7...1.13.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> * Update Gradle Wrapper from 8.3 to 8.4. Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> * Only split APK build by ABI in release builds This avoids the upstream android gradle plugin issue introduced in AGPv8.1.2 (and seemingly fixed in AGBv8.3.0-alpha07) where doing an ABI split while including resources crashes the build: https://issuetracker.google.com/issues/302961829 If this causes problems or is distasteful, can be reverted when AGP v8.3+ is adopted, or if they do pick it to AGPv8.2+, at that time * Adopt android gradle plugin v8.1.2 * ignore dynamic receiver registrations without export-type specified these receivers *should* specify at registration whether they are for export or not for export but if that is added (such as in PR 14158) then there is also a need to add a new permission to the manifest or you get runtime errors, and we haven't figured that out yet * build(deps): bump org.jetbrains.dokka from 1.9.0 to 1.9.10 Bumps [org.jetbrains.dokka](https://github.com/Kotlin/dokka) from 1.9.0 to 1.9.10. - [Release notes](https://github.com/Kotlin/dokka/releases) - [Commits](https://github.com/Kotlin/dokka/compare/v1.9.0...v1.9.10) --- updated-dependencies: - dependency-name: org.jetbrains.dokka dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.squareup.okhttp3:okhttp from 4.11.0 to 4.12.0 Bumps [com.squareup.okhttp3:okhttp](https://github.com/square/okhttp) from 4.11.0 to 4.12.0. - [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md) - [Commits](https://github.com/square/okhttp/compare/parent-4.11.0...parent-4.12.0) --- updated-dependencies: - dependency-name: com.squareup.okhttp3:okhttp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jlleitschuh.gradle.ktlint from 11.6.0 to 11.6.1 Bumps org.jlleitschuh.gradle.ktlint from 11.6.0 to 11.6.1. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle.ktlint dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump compileSdk to 34, handle new deprecations (#14556) * Bump compileSdk to 34 * Alter system API overrides to handle newly nullable items in API34 Investigating the various changes led me to conclude that simple null checks and default returns if null was an adequate response to the newly-possible null case in the various parameters * API34 deprecates Class.newInstance, get ctor and newInstance that instead * use new API34 pixel calc style if available this apparently allows for finer more dynamic user text sizing * Temporarily suppress deprecation on animation overrides API34 adds new predictive back behavior, which implies that the transition animation overrides for activity stack change animations now need to know whether the animation override is for activity open or close, whereas we override both as a unit without thought This needs a solution before the deprecated methods go away, likely in the form of plumbing through (via a new parameter) the idea of whether the call site intended to override open, close, or both animations. For backwards compatibility this will likely need to be a Compat interface (or interfaces) to replace the current implementation * build(deps): bump androidx.webkit:webkit from 1.7.0 to 1.8.0 Bumps androidx.webkit:webkit from 1.7.0 to 1.8.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> * build(deps): bump androidx.browser:browser from 1.5.0 to 1.6.0 Bumps androidx.browser:browser from 1.5.0 to 1.6.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> * build(deps): bump androidx.activity:activity-ktx from 1.7.2 to 1.8.0 (#14515) * build(deps): bump androidx.activity:activity-ktx from 1.7.2 to 1.8.0 Bumps androidx.activity:activity-ktx from 1.7.2 to 1.8.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> * call super.onBackPressed in onBackPressed overrides This is more "predictive back" feature fallout, this commit should be examined, and the behavior in these 4 objects may need a change, in order to more correctly deal with API34 predictive back --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Hardy <github@mikehardy.net> * build(deps): bump androidx.recyclerview:recyclerview from 1.3.1 to 1.3.2 Bumps androidx.recyclerview:recyclerview from 1.3.1 to 1.3.2. --- updated-dependencies: - dependency-name: androidx.recyclerview:recyclerview dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.core:core-ktx from 1.10.1 to 1.12.0 (#14407) * build(deps): bump androidx.core:core-ktx from 1.10.1 to 1.12.0 Bumps androidx.core:core-ktx from 1.10.1 to 1.12.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> * PendingIntentCompat.getBroadcast() is nullable now, wrap use of result in null checks It will only return null if we specify intent flags which we never specify, so our behavior does not need to change, but we must respect the type system by wrapping the use of the now-nullable result in null checks --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Hardy <github@mikehardy.net> * build(deps): bump androidx.sqlite:sqlite-framework from 2.3.1 to 2.4.0 Bumps androidx.sqlite:sqlite-framework from 2.3.1 to 2.4.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> * build(deps): bump androidx.appcompat:appcompat Bumps androidx.appcompat:appcompat from 1.7.0-alpha02 to 1.7.0-alpha03. --- 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> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-10-20 13:31:16 +02:00
ext.dokka_version = "1.9.10" // not the same with kotlin version!
Dependency updates 20240111 (#15204) * build(deps): bump androidx.test.uiautomator:uiautomator Bumps androidx.test.uiautomator:uiautomator from 2.3.0-alpha05 to 2.3.0-beta01. --- updated-dependencies: - dependency-name: androidx.test.uiautomator:uiautomator 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.9.21 to 1.9.22 Bumps `kotlin_version` from 1.9.21 to 1.9.22. Updates `org.jetbrains.kotlin.jvm` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin.android` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin.plugin.parcelize` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin.plugin.serialization` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin:kotlin-test` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.9.21 to 1.9.22 - [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.9.21...v1.9.22) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin.jvm dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin.android dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin.plugin.parcelize dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.jetbrains.kotlin.plugin.serialization 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 - 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> * chore(deps): bump com.github.ByteHamster:SearchPreference Bumps com.github.ByteHamster:SearchPreference from 2.4.0 to 2.5.0. --- updated-dependencies: - dependency-name: com.github.ByteHamster:SearchPreference dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump org.jsoup:jsoup from 1.17.1 to 1.17.2 Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup) from 1.17.1 to 1.17.2. - [Release notes](https://github.com/jhy/jsoup/releases) - [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES.md) - [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.17.1...jsoup-1.17.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> * chore(deps): bump com.squareup.leakcanary:leakcanary-android Bumps [com.squareup.leakcanary:leakcanary-android](https://github.com/square/leakcanary) from 2.12 to 2.13. - [Release notes](https://github.com/square/leakcanary/releases) - [Changelog](https://github.com/square/leakcanary/blob/v2.13/docs/changelog.md) - [Commits](https://github.com/square/leakcanary/compare/v2.12...v2.13) --- 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> * chore(deps): bump io.mockk:mockk from 1.13.8 to 1.13.9 Bumps [io.mockk:mockk](https://github.com/mockk/mockk) from 1.13.8 to 1.13.9. - [Release notes](https://github.com/mockk/mockk/releases) - [Commits](https://github.com/mockk/mockk/compare/1.13.8...1.13.9) --- 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> * chore(deps): bump org.apache.commons:commons-exec from 1.3 to 1.4.0 Bumps org.apache.commons:commons-exec from 1.3 to 1.4.0. --- updated-dependencies: - dependency-name: org.apache.commons:commons-exec dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump com.google.protobuf:protobuf-kotlin-lite Bumps com.google.protobuf:protobuf-kotlin-lite from 3.25.1 to 3.25.2. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin-lite dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): adopt android gradle plugin 8.2.1 note that the android gradle plugin 8.2-stable series has a defect that does not allow setting the jacoco version, and pins it at 0.8.8 that is fine in all cases except where you want to use JDK21, which requires jacoco 0.8.11+. this will be resolved in android gradle plugin 8.3-stable * chore(deps): bump com.github.zafarkhaja:java-semver from 0.9.0 to 0.10.0 (#15200) * chore(deps): bump com.github.zafarkhaja:java-semver from 0.9.0 to 0.10.0 Bumps [com.github.zafarkhaja:java-semver](https://github.com/zafarkhaja/jsemver) from 0.9.0 to 0.10.0. - [Release notes](https://github.com/zafarkhaja/jsemver/releases) - [Changelog](https://github.com/zafarkhaja/jsemver/blob/master/CHANGELOG.md) - [Commits](https://github.com/zafarkhaja/jsemver/compare/v0.9.0...v0.10.0) --- updated-dependencies: - dependency-name: com.github.zafarkhaja:java-semver dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore: fix deprecations in new java semver package --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Hardy <github@mikehardy.net> * chore(deps): bump follow-redirects in /tools/localization Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... 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>
2024-01-12 04:26:12 +01:00
ext.uiautomator_version = "2.3.0-beta01"
Dependency updates 20231130 (#14855) * build(deps): bump commons-io:commons-io from 2.15.0 to 2.15.1 Bumps commons-io:commons-io from 2.15.0 to 2.15.1. --- updated-dependencies: - dependency-name: commons-io:commons-io dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.webkit:webkit from 1.8.0 to 1.9.0 Bumps androidx.webkit:webkit from 1.8.0 to 1.9.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> * Update Gradle Wrapper from 8.4 to 8.5. Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> * build(deps): remove JDK18, support JDK21 (LTS) * build(deps): adopt jacoco 0.8.11 - supports JDK21 * style(lint): use new build variant configuration style documentation: https://developer.android.com/build/build-variants - defer configuration of build types / flavors with create/named, used in example - flavorDimensions is now a property so you += custom dimensions to it * style(lint): gradle .all --> .configureEach * style(lint): use imports vs fully qualified names * docs(gradle): update comment describing CI vCPU determination * style(lint): use deferred-configuration-compatible task registration/dependency * style(lint): deprecated kotlinOptions -> current compilerOptions * style(lint): project.buildDir -> project.layout.buildDirectory required a slightly different way of building the file tree for kotlin class location as input to the report, but despite being a little subtle it is not at all hard to understand --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-11-30 22:01:31 +01:00
configurations.configureEach {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'org.jetbrains.kotlinx'
&& details.requested.name.contains('kotlinx-serialization-runtime')
&& details.requested.version.contains('0.11.0')) {
details.useVersion "0.14.0"
}
}
}
}
plugins {
id 'com.android.application' version "$android_gradle_plugin" apply false
id 'com.android.library' version "$android_gradle_plugin" apply false
id 'org.jetbrains.kotlin.jvm' version "$kotlin_version" apply false
id 'org.jetbrains.kotlin.android' version "$kotlin_version" apply false
id 'org.jetbrains.kotlin.plugin.parcelize' version "$kotlin_version" apply false
id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlin_version" apply false
Dependency updates 20231019 (#14563) * build(deps): ignore commons-compress below 1.25 now We are still not minSdkVersion >= API26 so we may not advance this dependency yet, we just notch this forward one version at a time so we continue to be aware of their releases, but ignore them for now * build(deps): bump androidx.annotation:annotation from 1.6.0 to 1.7.0 Bumps androidx.annotation:annotation from 1.6.0 to 1.7.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> * build(deps): bump com.google.protobuf:protobuf-kotlin-lite Bumps com.google.protobuf:protobuf-kotlin-lite from 3.24.2 to 3.24.3. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin-lite dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jlleitschuh.gradle.ktlint from 11.5.1 to 11.6.0 Bumps org.jlleitschuh.gradle.ktlint from 11.5.1 to 11.6.0. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle.ktlint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.google.protobuf:protobuf-kotlin-lite Bumps com.google.protobuf:protobuf-kotlin-lite from 3.24.3 to 3.24.4. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin-lite dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump commons-io:commons-io from 2.13.0 to 2.14.0 Bumps commons-io:commons-io from 2.13.0 to 2.14.0. --- updated-dependencies: - dependency-name: commons-io:commons-io dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump io.mockk:mockk from 1.13.7 to 1.13.8 Bumps [io.mockk:mockk](https://github.com/mockk/mockk) from 1.13.7 to 1.13.8. - [Release notes](https://github.com/mockk/mockk/releases) - [Commits](https://github.com/mockk/mockk/compare/1.13.7...1.13.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> * Update Gradle Wrapper from 8.3 to 8.4. Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> * Only split APK build by ABI in release builds This avoids the upstream android gradle plugin issue introduced in AGPv8.1.2 (and seemingly fixed in AGBv8.3.0-alpha07) where doing an ABI split while including resources crashes the build: https://issuetracker.google.com/issues/302961829 If this causes problems or is distasteful, can be reverted when AGP v8.3+ is adopted, or if they do pick it to AGPv8.2+, at that time * Adopt android gradle plugin v8.1.2 * ignore dynamic receiver registrations without export-type specified these receivers *should* specify at registration whether they are for export or not for export but if that is added (such as in PR 14158) then there is also a need to add a new permission to the manifest or you get runtime errors, and we haven't figured that out yet * build(deps): bump org.jetbrains.dokka from 1.9.0 to 1.9.10 Bumps [org.jetbrains.dokka](https://github.com/Kotlin/dokka) from 1.9.0 to 1.9.10. - [Release notes](https://github.com/Kotlin/dokka/releases) - [Commits](https://github.com/Kotlin/dokka/compare/v1.9.0...v1.9.10) --- updated-dependencies: - dependency-name: org.jetbrains.dokka dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump com.squareup.okhttp3:okhttp from 4.11.0 to 4.12.0 Bumps [com.squareup.okhttp3:okhttp](https://github.com/square/okhttp) from 4.11.0 to 4.12.0. - [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md) - [Commits](https://github.com/square/okhttp/compare/parent-4.11.0...parent-4.12.0) --- updated-dependencies: - dependency-name: com.squareup.okhttp3:okhttp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jlleitschuh.gradle.ktlint from 11.6.0 to 11.6.1 Bumps org.jlleitschuh.gradle.ktlint from 11.6.0 to 11.6.1. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle.ktlint dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump compileSdk to 34, handle new deprecations (#14556) * Bump compileSdk to 34 * Alter system API overrides to handle newly nullable items in API34 Investigating the various changes led me to conclude that simple null checks and default returns if null was an adequate response to the newly-possible null case in the various parameters * API34 deprecates Class.newInstance, get ctor and newInstance that instead * use new API34 pixel calc style if available this apparently allows for finer more dynamic user text sizing * Temporarily suppress deprecation on animation overrides API34 adds new predictive back behavior, which implies that the transition animation overrides for activity stack change animations now need to know whether the animation override is for activity open or close, whereas we override both as a unit without thought This needs a solution before the deprecated methods go away, likely in the form of plumbing through (via a new parameter) the idea of whether the call site intended to override open, close, or both animations. For backwards compatibility this will likely need to be a Compat interface (or interfaces) to replace the current implementation * build(deps): bump androidx.webkit:webkit from 1.7.0 to 1.8.0 Bumps androidx.webkit:webkit from 1.7.0 to 1.8.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> * build(deps): bump androidx.browser:browser from 1.5.0 to 1.6.0 Bumps androidx.browser:browser from 1.5.0 to 1.6.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> * build(deps): bump androidx.activity:activity-ktx from 1.7.2 to 1.8.0 (#14515) * build(deps): bump androidx.activity:activity-ktx from 1.7.2 to 1.8.0 Bumps androidx.activity:activity-ktx from 1.7.2 to 1.8.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> * call super.onBackPressed in onBackPressed overrides This is more "predictive back" feature fallout, this commit should be examined, and the behavior in these 4 objects may need a change, in order to more correctly deal with API34 predictive back --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Hardy <github@mikehardy.net> * build(deps): bump androidx.recyclerview:recyclerview from 1.3.1 to 1.3.2 Bumps androidx.recyclerview:recyclerview from 1.3.1 to 1.3.2. --- updated-dependencies: - dependency-name: androidx.recyclerview:recyclerview dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.core:core-ktx from 1.10.1 to 1.12.0 (#14407) * build(deps): bump androidx.core:core-ktx from 1.10.1 to 1.12.0 Bumps androidx.core:core-ktx from 1.10.1 to 1.12.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> * PendingIntentCompat.getBroadcast() is nullable now, wrap use of result in null checks It will only return null if we specify intent flags which we never specify, so our behavior does not need to change, but we must respect the type system by wrapping the use of the now-nullable result in null checks --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Hardy <github@mikehardy.net> * build(deps): bump androidx.sqlite:sqlite-framework from 2.3.1 to 2.4.0 Bumps androidx.sqlite:sqlite-framework from 2.3.1 to 2.4.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> * build(deps): bump androidx.appcompat:appcompat Bumps androidx.appcompat:appcompat from 1.7.0-alpha02 to 1.7.0-alpha03. --- 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> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-10-20 13:31:16 +02:00
id 'org.jlleitschuh.gradle.ktlint' version '11.6.1' apply false
id 'org.jetbrains.dokka' version "$dokka_version" apply false
2021-05-27 07:41:13 +02:00
}
Properties localProperties = new Properties()
if (project.rootProject.file('local.properties').exists()) {
localProperties.load(project.rootProject.file('local.properties').newDataInputStream())
}
Boolean fatalWarnings = !(localProperties['fatal_warnings'] == "false")
// Here we extract per-module "best practices" settings to a single top-level evaluation
subprojects {
apply plugin: "org.jlleitschuh.gradle.ktlint"
afterEvaluate { project ->
if (project.hasProperty('android')) {
project.android.testOptions.unitTests {
includeAndroidResources = true
}
project.android.testOptions.unitTests.all {
// tell backend to avoid rollover time, and disable interval fuzzing
environment "ANKI_TEST_MODE", "1"
useJUnitPlatform()
testLogging {
events "failed", "skipped"
showStackTraces = true
exceptionFormat = "full"
}
maxParallelForks = gradleTestMaxParallelForks
forkEvery = 40
systemProperties['junit.jupiter.execution.parallel.enabled'] = true
systemProperties['junit.jupiter.execution.parallel.mode.default'] = "concurrent"
}
}
/**
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
and we used "all" because we don't have downstream consumers
https://docs.gradle.org/current/userguide/task_configuration_avoidance.html
Dependency updates 20220216 (#13280) * Bump kotlin_version from 1.7.22 to 1.8.10 (#13196) * Bump kotlin_version from 1.7.22 to 1.8.10 Bumps `kotlin_version` from 1.7.22 to 1.8.10. Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test-junit5 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test-junit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Enable OptIn(ExperimentalCoroutinesApi) for project This will eliminate all warnings related to experimental coroutines api usages in the project, with the exception of the "api" module which was ignored. The reason for this is that the module doesn't currently use coroutines so the library( and the annotation) isn't available which results in a warning(and a crash as all warnings are fatal) when building. See: https://youtrack.jetbrains.com/issue/KT-28777/Using-experimental-coroutines-api-causes-unresolved-dependency --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> * Bump androidx.exifinterface:exifinterface from 1.3.5 to 1.3.6 Bumps androidx.exifinterface:exifinterface from 1.3.5 to 1.3.6. --- updated-dependencies: - dependency-name: androidx.exifinterface:exifinterface dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump androidx.browser:browser from 1.4.0 to 1.5.0 Bumps androidx.browser:browser from 1.4.0 to 1.5.0. --- updated-dependencies: - dependency-name: androidx.browser:browser dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump sqlite-framework from 2.2.0 to 2.3.0 (#13104) Bumps sqlite-framework from 2.2.0 to 2.3.0. --- updated-dependencies: - dependency-name: androidx.sqlite:sqlite-framework dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update database related code to match the new release parameter types Changes in this PR: - DatabaseChangeDecorator: update of the methods signatures according to the library types changes, safe because we went from non nullable parameter types to more permisive nullable types - DB: went from nullable query/bindArgs parameters to non null types. Reviewed all usages of the changed methods and verified that the changes are ok. One of the methods was changed to remove the bindArgs param(which was set to null) because they weren't used and they were breaking the type system. - Anki2Importer: remove the null bindArgs parameter as it wasn't used and it was breaking the type system. - Finder: replaced bindArgs parameter value with an emptyArray() if it is null to conform to the new type system(I assumed that a null value represented no bindARgs parameters). This SHOULD be ok but is difficult to say for sure as the code building the query is complex. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> * Bump androidx.appcompat:appcompat from 1.6.0-rc01 to 1.7.0-alpha02 Bumps androidx.appcompat:appcompat from 1.6.0-rc01 to 1.7.0-alpha02. --- updated-dependencies: - dependency-name: androidx.appcompat:appcompat dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix kotlin/java compile target harmony issues ``` * What went wrong: Execution failed for task ':lint-rules:compileTestKotlin'. 'compileTestJava' task (current target is 11) and 'compileTestKotlin' task (current target is 18) jvm target compatibility should be set to the same Java version. Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain ``` https://issuetracker.google.com/issues/260059413 https://kotlinlang.org/docs/gradle-configure-project.html#gradle-java-toolchains-support --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com>
2023-02-17 13:34:53 +01:00
Related to ExperimentalCoroutinesApi: this opt-in is added to enable usage of experimental
coroutines API, this targets all project modules with the exception of the "api" module,
which doesn't use coroutines so the annotation isn't not available. This would normally
result in a warning but we treat warnings as errors.
(see https://youtrack.jetbrains.com/issue/KT-28777/Using-experimental-coroutines-api-causes-unresolved-dependency)
*/
Dependency updates 20231130 (#14855) * build(deps): bump commons-io:commons-io from 2.15.0 to 2.15.1 Bumps commons-io:commons-io from 2.15.0 to 2.15.1. --- updated-dependencies: - dependency-name: commons-io:commons-io dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.webkit:webkit from 1.8.0 to 1.9.0 Bumps androidx.webkit:webkit from 1.8.0 to 1.9.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> * Update Gradle Wrapper from 8.4 to 8.5. Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> * build(deps): remove JDK18, support JDK21 (LTS) * build(deps): adopt jacoco 0.8.11 - supports JDK21 * style(lint): use new build variant configuration style documentation: https://developer.android.com/build/build-variants - defer configuration of build types / flavors with create/named, used in example - flavorDimensions is now a property so you += custom dimensions to it * style(lint): gradle .all --> .configureEach * style(lint): use imports vs fully qualified names * docs(gradle): update comment describing CI vCPU determination * style(lint): use deferred-configuration-compatible task registration/dependency * style(lint): deprecated kotlinOptions -> current compilerOptions * style(lint): project.buildDir -> project.layout.buildDirectory required a slightly different way of building the file tree for kotlin class location as input to the report, but despite being a little subtle it is not at all hard to understand --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-11-30 22:01:31 +01:00
tasks.withType(KotlinCompile).configureEach {
compilerOptions {
allWarningsAsErrors = fatalWarnings
refactor: use Context receivers to remove `this` within `withCol` [Experimental API] (#15254) * chore: enable context receivers (experimental) Allows removal of usages of `this` in `withCol`/`undoableOp` calls Context receivers allow `this` as an implicit parameter to a method if `this` is in scope (typically due to a `with` call) This means that: * methods are only usable if `Collection` is scoped * you can't easily call these methods outside `withCol` * methods can effectively accept two context receivers * in the below, both `Card` and `Collection` are scoped to `this` Example ```kotlin context(Collection) fun Card.note() = this.note(this@Collection) ``` allows the transformation ```diff - val note = withCol { card.note(this) } + val note = withCol { card.note() } ``` Which is much more readable, as `this` was confusingly named https://github.com/Kotlin/KEEP/blob/master/proposals/context-receivers.md https://blog.rockthejvm.com/kotlin-context-receivers/ * chore: context receiver for Card.renderOutput() Once refactoring is complete, the `context` should be moved to the instance method, and the extension should be removed * chore: context receiver for Card.note() Once refactoring is complete, the `context` should be moved to the instance method, and the extension should be removed * chore: context receiver for AnswerTimer.resume() * chore: context receiver for CardTemplateNotetype.saveToDatabase * chore: context receiver for Sequence<CardId>.toCardCache * chore: context receiver for BackupManager.repairCollection() * chore: context receiver for CollectionOperations.deleteMedia * chore: context receiver for CollectionOperations.updateValuesFromDeck * chore: context receiver for CollectionOperations.saveModel * modifies saveToDatabase, as this always required the context * chore: remove completed comment in CollectionOperations * chore: context receiver for CardsOrNotes.fromCollection * chore: context receiver for CardService.selectedNoteIds + accept CardId * chore: context receiver for CardsOrNotes.saveToCollection * chore: context receiver for BackupManager.deleteBackups() * chore: context receiver for CardSoundConfig.create() * add context receiver * inline suspend fun create * make the `col` usage explicit * review request: import 'Collection'
2024-01-22 01:51:12 +01:00
def compilerArgs = ['-Xjvm-default=all', '-Xcontext-receivers']
Dependency updates 20220216 (#13280) * Bump kotlin_version from 1.7.22 to 1.8.10 (#13196) * Bump kotlin_version from 1.7.22 to 1.8.10 Bumps `kotlin_version` from 1.7.22 to 1.8.10. Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test-junit5` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.7.22 to 1.8.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/v1.8.10/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.22...v1.8.10) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-stdlib dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-reflect dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test-junit5 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.kotlin:kotlin-test-junit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Enable OptIn(ExperimentalCoroutinesApi) for project This will eliminate all warnings related to experimental coroutines api usages in the project, with the exception of the "api" module which was ignored. The reason for this is that the module doesn't currently use coroutines so the library( and the annotation) isn't available which results in a warning(and a crash as all warnings are fatal) when building. See: https://youtrack.jetbrains.com/issue/KT-28777/Using-experimental-coroutines-api-causes-unresolved-dependency --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> * Bump androidx.exifinterface:exifinterface from 1.3.5 to 1.3.6 Bumps androidx.exifinterface:exifinterface from 1.3.5 to 1.3.6. --- updated-dependencies: - dependency-name: androidx.exifinterface:exifinterface dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump androidx.browser:browser from 1.4.0 to 1.5.0 Bumps androidx.browser:browser from 1.4.0 to 1.5.0. --- updated-dependencies: - dependency-name: androidx.browser:browser dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump sqlite-framework from 2.2.0 to 2.3.0 (#13104) Bumps sqlite-framework from 2.2.0 to 2.3.0. --- updated-dependencies: - dependency-name: androidx.sqlite:sqlite-framework dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update database related code to match the new release parameter types Changes in this PR: - DatabaseChangeDecorator: update of the methods signatures according to the library types changes, safe because we went from non nullable parameter types to more permisive nullable types - DB: went from nullable query/bindArgs parameters to non null types. Reviewed all usages of the changed methods and verified that the changes are ok. One of the methods was changed to remove the bindArgs param(which was set to null) because they weren't used and they were breaking the type system. - Anki2Importer: remove the null bindArgs parameter as it wasn't used and it was breaking the type system. - Finder: replaced bindArgs parameter value with an emptyArray() if it is null to conform to the new type system(I assumed that a null value represented no bindARgs parameters). This SHOULD be ok but is difficult to say for sure as the code building the query is complex. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> * Bump androidx.appcompat:appcompat from 1.6.0-rc01 to 1.7.0-alpha02 Bumps androidx.appcompat:appcompat from 1.6.0-rc01 to 1.7.0-alpha02. --- updated-dependencies: - dependency-name: androidx.appcompat:appcompat dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix kotlin/java compile target harmony issues ``` * What went wrong: Execution failed for task ':lint-rules:compileTestKotlin'. 'compileTestJava' task (current target is 11) and 'compileTestKotlin' task (current target is 18) jvm target compatibility should be set to the same Java version. Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain ``` https://issuetracker.google.com/issues/260059413 https://kotlinlang.org/docs/gradle-configure-project.html#gradle-java-toolchains-support --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com>
2023-02-17 13:34:53 +01:00
if (project.name != "api") {
compilerArgs += ['-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi']
}
freeCompilerArgs = compilerArgs
}
}
}
}
2016-03-11 23:45:45 +01:00
ext {
jvmVersion = Jvm.current().javaVersion.majorVersion
Dependency updates 20231130 (#14855) * build(deps): bump commons-io:commons-io from 2.15.0 to 2.15.1 Bumps commons-io:commons-io from 2.15.0 to 2.15.1. --- updated-dependencies: - dependency-name: commons-io:commons-io dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.webkit:webkit from 1.8.0 to 1.9.0 Bumps androidx.webkit:webkit from 1.8.0 to 1.9.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> * Update Gradle Wrapper from 8.4 to 8.5. Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> * build(deps): remove JDK18, support JDK21 (LTS) * build(deps): adopt jacoco 0.8.11 - supports JDK21 * style(lint): use new build variant configuration style documentation: https://developer.android.com/build/build-variants - defer configuration of build types / flavors with create/named, used in example - flavorDimensions is now a property so you += custom dimensions to it * style(lint): gradle .all --> .configureEach * style(lint): use imports vs fully qualified names * docs(gradle): update comment describing CI vCPU determination * style(lint): use deferred-configuration-compatible task registration/dependency * style(lint): deprecated kotlinOptions -> current compilerOptions * style(lint): project.buildDir -> project.layout.buildDirectory required a slightly different way of building the file tree for kotlin class location as input to the report, but despite being a little subtle it is not at all hard to understand --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-11-30 22:01:31 +01:00
if (jvmVersion != "17" && jvmVersion != "21") {
println "\n\n\n"
println "**************************************************************************************************************"
println "\n\n\n"
Dependency updates 20231130 (#14855) * build(deps): bump commons-io:commons-io from 2.15.0 to 2.15.1 Bumps commons-io:commons-io from 2.15.0 to 2.15.1. --- updated-dependencies: - dependency-name: commons-io:commons-io dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.webkit:webkit from 1.8.0 to 1.9.0 Bumps androidx.webkit:webkit from 1.8.0 to 1.9.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> * Update Gradle Wrapper from 8.4 to 8.5. Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> * build(deps): remove JDK18, support JDK21 (LTS) * build(deps): adopt jacoco 0.8.11 - supports JDK21 * style(lint): use new build variant configuration style documentation: https://developer.android.com/build/build-variants - defer configuration of build types / flavors with create/named, used in example - flavorDimensions is now a property so you += custom dimensions to it * style(lint): gradle .all --> .configureEach * style(lint): use imports vs fully qualified names * docs(gradle): update comment describing CI vCPU determination * style(lint): use deferred-configuration-compatible task registration/dependency * style(lint): deprecated kotlinOptions -> current compilerOptions * style(lint): project.buildDir -> project.layout.buildDirectory required a slightly different way of building the file tree for kotlin class location as input to the report, but despite being a little subtle it is not at all hard to understand --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-11-30 22:01:31 +01:00
println "ERROR: AnkiDroid builds with JVM version 17 or 21."
println " Incompatible major version detected: '" + jvmVersion + "'"
println "\n\n\n"
Dependency updates 20230628 (#14046) * Bump org.jlleitschuh.gradle:ktlint-gradle from 11.4.1 to 11.4.2 Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.4.1 to 11.4.2. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle:ktlint-gradle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): require JDK17 for the build, use JDK17 in workflows 17+ is a requirement for new AndroidX library versions, fragment library lint rules in particular are already failing our lint workflow because they no longer operate on JDK11 * Bump lint_version from 30.4.2 to 31.0.2 Bumps `lint_version` from 30.4.2 to 31.0.2. Updates `com.android.tools.lint:lint-api` from 30.4.2 to 31.0.2 Updates `com.android.tools.lint:lint` from 30.4.2 to 31.0.2 Updates `com.android.tools.lint:lint-tests` from 30.4.2 to 31.0.2 --- updated-dependencies: - dependency-name: com.android.tools.lint:lint-api dependency-type: direct:production update-type: version-update:semver-major - dependency-name: com.android.tools.lint:lint dependency-type: direct:production update-type: version-update:semver-major - dependency-name: com.android.tools.lint:lint-tests dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * build: bump JDK source/target compat to JDK11 This is needed for new versions of deps, it passes jacocoAndroidTestReport target against an API21 emulator (current minSdkVersion) so seems to be compatible with all required things * Bump org.mockito.kotlin:mockito-kotlin from 4.1.0 to 5.0.0 Bumps [org.mockito.kotlin:mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 4.1.0 to 5.0.0. - [Release notes](https://github.com/mockito/mockito-kotlin/releases) - [Commits](https://github.com/mockito/mockito-kotlin/compare/4.1.0...5.0.0) --- updated-dependencies: - dependency-name: org.mockito.kotlin:mockito-kotlin dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): have gradle wrapper update PRs go into dependencies --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 18:06:44 +02:00
println " If you receive this error because you want to use a newer JDK, we may accept PRs to support new versions."
println " Edit the main build.gradle file, find this message in the file, and add support for the new version."
Dependency updates 20231130 (#14855) * build(deps): bump commons-io:commons-io from 2.15.0 to 2.15.1 Bumps commons-io:commons-io from 2.15.0 to 2.15.1. --- updated-dependencies: - dependency-name: commons-io:commons-io dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.webkit:webkit from 1.8.0 to 1.9.0 Bumps androidx.webkit:webkit from 1.8.0 to 1.9.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> * Update Gradle Wrapper from 8.4 to 8.5. Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> * build(deps): remove JDK18, support JDK21 (LTS) * build(deps): adopt jacoco 0.8.11 - supports JDK21 * style(lint): use new build variant configuration style documentation: https://developer.android.com/build/build-variants - defer configuration of build types / flavors with create/named, used in example - flavorDimensions is now a property so you += custom dimensions to it * style(lint): gradle .all --> .configureEach * style(lint): use imports vs fully qualified names * docs(gradle): update comment describing CI vCPU determination * style(lint): use deferred-configuration-compatible task registration/dependency * style(lint): deprecated kotlinOptions -> current compilerOptions * style(lint): project.buildDir -> project.layout.buildDirectory required a slightly different way of building the file tree for kotlin class location as input to the report, but despite being a little subtle it is not at all hard to understand --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-11-30 22:01:31 +01:00
println " Please make sure the `jacocoTestReport` target works on an emulator with our minSdkVersion (currently 23)."
Dependency updates 20230628 (#14046) * Bump org.jlleitschuh.gradle:ktlint-gradle from 11.4.1 to 11.4.2 Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.4.1 to 11.4.2. --- updated-dependencies: - dependency-name: org.jlleitschuh.gradle:ktlint-gradle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): require JDK17 for the build, use JDK17 in workflows 17+ is a requirement for new AndroidX library versions, fragment library lint rules in particular are already failing our lint workflow because they no longer operate on JDK11 * Bump lint_version from 30.4.2 to 31.0.2 Bumps `lint_version` from 30.4.2 to 31.0.2. Updates `com.android.tools.lint:lint-api` from 30.4.2 to 31.0.2 Updates `com.android.tools.lint:lint` from 30.4.2 to 31.0.2 Updates `com.android.tools.lint:lint-tests` from 30.4.2 to 31.0.2 --- updated-dependencies: - dependency-name: com.android.tools.lint:lint-api dependency-type: direct:production update-type: version-update:semver-major - dependency-name: com.android.tools.lint:lint dependency-type: direct:production update-type: version-update:semver-major - dependency-name: com.android.tools.lint:lint-tests dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * build: bump JDK source/target compat to JDK11 This is needed for new versions of deps, it passes jacocoAndroidTestReport target against an API21 emulator (current minSdkVersion) so seems to be compatible with all required things * Bump org.mockito.kotlin:mockito-kotlin from 4.1.0 to 5.0.0 Bumps [org.mockito.kotlin:mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 4.1.0 to 5.0.0. - [Release notes](https://github.com/mockito/mockito-kotlin/releases) - [Commits](https://github.com/mockito/mockito-kotlin/compare/4.1.0...5.0.0) --- updated-dependencies: - dependency-name: org.mockito.kotlin:mockito-kotlin dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): have gradle wrapper update PRs go into dependencies --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 18:06:44 +02:00
println "\n\n\n"
println "**************************************************************************************************************"
println "\n\n\n"
System.exit(1)
}
ciBuild = System.getenv("CI") == "true" // works for Travis CI or Github Actions
2016-03-11 23:45:45 +01:00
// allows for -Dpre-dex=false to be set
preDexEnabled = "true" == System.getProperty("pre-dex", "true")
// allows for universal APKs to be generated
universalApkEnabled = "true" == System.getProperty("universal-apk", "false")
if (System.getProperty("os.name") == "Mac OS X") {
// macOS reports hardware cores. This is accurate for CI, Intel (halved due to SMT) and Apple Silicon
gradleTestMaxParallelForks = "sysctl -n hw.physicalcpu".execute().text.toInteger()
} else if (ciBuild) {
Dependency updates 20231130 (#14855) * build(deps): bump commons-io:commons-io from 2.15.0 to 2.15.1 Bumps commons-io:commons-io from 2.15.0 to 2.15.1. --- updated-dependencies: - dependency-name: commons-io:commons-io dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.webkit:webkit from 1.8.0 to 1.9.0 Bumps androidx.webkit:webkit from 1.8.0 to 1.9.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> * Update Gradle Wrapper from 8.4 to 8.5. Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> * build(deps): remove JDK18, support JDK21 (LTS) * build(deps): adopt jacoco 0.8.11 - supports JDK21 * style(lint): use new build variant configuration style documentation: https://developer.android.com/build/build-variants - defer configuration of build types / flavors with create/named, used in example - flavorDimensions is now a property so you += custom dimensions to it * style(lint): gradle .all --> .configureEach * style(lint): use imports vs fully qualified names * docs(gradle): update comment describing CI vCPU determination * style(lint): use deferred-configuration-compatible task registration/dependency * style(lint): deprecated kotlinOptions -> current compilerOptions * style(lint): project.buildDir -> project.layout.buildDirectory required a slightly different way of building the file tree for kotlin class location as input to the report, but despite being a little subtle it is not at all hard to understand --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-11-30 22:01:31 +01:00
// GitHub Actions run on Standard_DS2_v2 Azure Compute Units. They are 1:1 vCPU to CPU on Linux/Windows with two vCPU cores
// Sources to determine the correct Azure Compute Unit (and get CPU count) to tune this:
// Standard_DS2_v2 https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
// Which is 1:1 https://docs.microsoft.com/en-gb/azure/virtual-machines/acu : DS1_v2 - DS15_v2 | 1:1
gradleTestMaxParallelForks = 2
// separate gradle compile process is a major speed improvement, but consumes 2x RAM
// the CI machines don't have enough RAM to do that without going in to swap quite a bit
// so for CI machines only - to improve reliability despite compilation speed hit, compile kotlin in process
println "CI build detected: setting compiler execution strategy to IN_PROCESS"
Dependency updates 20231130 (#14855) * build(deps): bump commons-io:commons-io from 2.15.0 to 2.15.1 Bumps commons-io:commons-io from 2.15.0 to 2.15.1. --- updated-dependencies: - dependency-name: commons-io:commons-io dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump androidx.webkit:webkit from 1.8.0 to 1.9.0 Bumps androidx.webkit:webkit from 1.8.0 to 1.9.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> * Update Gradle Wrapper from 8.4 to 8.5. Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> * build(deps): remove JDK18, support JDK21 (LTS) * build(deps): adopt jacoco 0.8.11 - supports JDK21 * style(lint): use new build variant configuration style documentation: https://developer.android.com/build/build-variants - defer configuration of build types / flavors with create/named, used in example - flavorDimensions is now a property so you += custom dimensions to it * style(lint): gradle .all --> .configureEach * style(lint): use imports vs fully qualified names * docs(gradle): update comment describing CI vCPU determination * style(lint): use deferred-configuration-compatible task registration/dependency * style(lint): deprecated kotlinOptions -> current compilerOptions * style(lint): project.buildDir -> project.layout.buildDirectory required a slightly different way of building the file tree for kotlin class location as input to the report, but despite being a little subtle it is not at all hard to understand --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-11-30 22:01:31 +01:00
tasks.withType(KotlinCompile).configureEach {
compilerExecutionStrategy.set(KotlinCompilerExecutionStrategy.IN_PROCESS)
}
} else {
// Use 50% of cores to account for SMT which doesn't help this workload
gradleTestMaxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
}
2016-10-23 10:55:19 +02:00
}