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

183 Commits

Author SHA1 Message Date
Mike Hardy
d83a9dc6d3 Optimize CI w/test split; Verify osx/win work 2019-11-04 00:38:02 -05:00
dependabot-preview[bot]
0cde80f387 Bump com.github.triplet.play from 2.4.2 to 2.5.0
Bumps com.github.triplet.play from 2.4.2 to 2.5.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-01 13:45:17 -05:00
dependabot-preview[bot]
8f670feff3 Bump sqlite-android from 3.29.0 to 3.30.1
Bumps [sqlite-android](https://github.com/requery/sqlite-android) from 3.29.0 to 3.30.1.
- [Release notes](https://github.com/requery/sqlite-android/releases)
- [Changelog](https://github.com/requery/sqlite-android/blob/master/CHANGELOG.md)
- [Commits](https://github.com/requery/sqlite-android/commits/3.30.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-01 13:45:17 -05:00
dependabot-preview[bot]
94a8f95a12 Bump powermock-core from 2.0.2 to 2.0.4
Bumps [powermock-core](https://github.com/powermock/powermock) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.2...powermock-2.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-01 13:45:17 -05:00
dependabot-preview[bot]
6f5d7d04eb Bump powermock-module-junit4 from 2.0.2 to 2.0.4
Bumps [powermock-module-junit4](https://github.com/powermock/powermock) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.2...powermock-2.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-01 13:45:17 -05:00
dependabot-preview[bot]
ceab7a1d1f Bump powermock-api-mockito2 from 2.0.2 to 2.0.4
Bumps [powermock-api-mockito2](https://github.com/powermock/powermock) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.2...powermock-2.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-01 13:45:17 -05:00
Mike Hardy
ac94ae3571 fix gradle coverage entropy - classes and output moved 2019-10-21 22:19:51 -05:00
Mike Hardy
31b5008177 lint gradle file 2019-10-21 22:19:51 -05:00
Piotr Kubowicz
b2f19a0509 Bump Gradle from 5.6.1 to 5.6.3, JaCoCo to 0.8.4
Remove JaCoCo from build script dependencies as there is no use
of it and it was using a different version than JaCoCo used
for test execution.

Also fix some clumsy Gradle usages:
- duplicate keys in gradle.properties
- casting string jacocoVersion property to string
2019-10-18 16:56:10 -05:00
Mike Hardy
50419ba435 Revert "Bump appcompat from 1.1.0-rc01 to 1.1.0"
This reverts commit 2cc4c46125.

Fixes #5507

Upstream bug to track is https://issuetracker.google.com/issues/141132133
2019-10-16 10:44:19 +13:00
dependabot-preview[bot]
5e12c24c2c Bump gson from 2.8.5 to 2.8.6
Bumps [gson](https://github.com/google/gson) from 2.8.5 to 2.8.6.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.5...gson-parent-2.8.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-09 12:01:51 -05:00
dependabot-preview[bot]
935a28eaae Bump okhttp from 3.12.5 to 3.12.6
Bumps [okhttp](https://github.com/square/okhttp) from 3.12.5 to 3.12.6.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/docs/changelog_3x.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.12.5...parent-3.12.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-02 12:30:41 +09:00
dependabot-preview[bot]
4949019015 Bump com.github.triplet.play from 2.4.1 to 2.4.2
Bumps com.github.triplet.play from 2.4.1 to 2.4.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-02 12:30:41 +09:00
dependabot-preview[bot]
d222e1b54e Bump mockito-core from 3.0.0 to 3.1.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.0.0...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-02 12:30:41 +09:00
Mike Hardy
3593ddd055 chore: dependency updates (okhttp, play publishing, junit) 2019-10-02 12:30:41 +09:00
dependabot-preview[bot]
2cc4c46125 Bump appcompat from 1.1.0-rc01 to 1.1.0
Bumps appcompat from 1.1.0-rc01 to 1.1.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-07 08:31:18 +09:00
dependabot-preview[bot]
fd038eb06e Bump okhttp from 3.12.3 to 3.12.4
Bumps [okhttp](https://github.com/square/okhttp) from 3.12.3 to 3.12.4.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/docs/changelog_3x.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.12.3...parent-3.12.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-07 08:31:18 +09:00
dependabot-preview[bot]
9bda85fb3b Bump com.github.triplet.play from 2.2.1 to 2.3.0
Bumps com.github.triplet.play from 2.2.1 to 2.3.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-04 22:23:32 +09:00
dependabot-preview[bot]
683b73f20a Bump junit-vintage-engine from 5.5.0 to 5.5.1
Bumps [junit-vintage-engine](https://github.com/junit-team/junit5) from 5.5.0 to 5.5.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.5.0...r5.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-13 15:52:32 -05:00
dependabot-preview[bot]
6fb4f99749 Bump sqlite-android from 3.28.0 to 3.29.0
Bumps [sqlite-android](https://github.com/requery/sqlite-android) from 3.28.0 to 3.29.0.
- [Release notes](https://github.com/requery/sqlite-android/releases)
- [Changelog](https://github.com/requery/sqlite-android/blob/master/CHANGELOG.md)
- [Commits](https://github.com/requery/sqlite-android/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-13 15:52:32 -05:00
Mike Hardy
0e1c5351cc Update analytics to 2.0.9 / okhttp back to 3.12.x / Android 4.x
The previous analytics 2.0.8 version and a related change here
brought in okhttp 4.x which does not work with Android 4.x

Until we move to API21 as a minimum version, we can't use okhttp 4.x

In fact, until we move to API19 as minimum, we must use okhttp 3.12.x
2019-07-20 09:42:31 +09:00
Mike Hardy
db6988b310 update google auto-service from 1.0-rc5 to 1.0-rc6 2019-07-20 09:42:31 +09:00
dependabot-preview[bot]
b7f55e19cc Bump auto-service from 1.0-rc5 to 1.0-rc6
Bumps [auto-service](https://github.com/google/auto) from 1.0-rc5 to 1.0-rc6.
- [Release notes](https://github.com/google/auto/releases)
- [Commits](https://github.com/google/auto/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-20 09:42:31 +09:00
dependabot-preview[bot]
e77a56316b Bump mockito-core from 2.28.2 to 3.0.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 2.28.2 to 3.0.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v2.28.2...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-20 09:42:31 +09:00
Mike Hardy
247947c317
20190703 Dependency updates (#5361)
* Bump appcompat from 1.1.0-beta01 to 1.1.0-rc01

Bumps appcompat from 1.1.0-beta01 to 1.1.0-rc01.

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

* Bump junit-vintage-engine from 5.4.2 to 5.5.0

Bumps [junit-vintage-engine](https://github.com/junit-team/junit5) from 5.4.2 to 5.5.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.4.2...r5.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-03 08:15:43 -05:00
Mike Hardy
faf961c121
20190627 Dependency updates (okhttp, junit, analytics) (#5350)
* Bump okhttp from 3.12.3 to 4.0.0

Bumps [okhttp](https://github.com/square/okhttp) from 3.12.3 to 4.0.0.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.12.3...parent-4.0.0)

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

* Update junit minor - 1.1.0 to 1.1.1

* Update google-analytics-java7 to 2.0.8 (OkHTTP 3 -> 4)
2019-06-27 16:56:44 -05:00
Mike Hardy
1ec3f4d2a1 Forward-port to new appcompat libraries, should fix #5262 (#5341) 2019-06-25 12:34:32 +09:00
Mike Hardy
6a77a35a4a
20190530 Dependency updates (#5317)
* Bump mockito-core from 2.27.0 to 2.28.1
* Bump junit from 1.1.0 to 1.1.1
* Bump espresso-contrib from 3.1.1 to 3.2.0
* Bump mockito-core from 2.28.1 to 2.28.2
* Bump rules from 1.1.1 to 1.2.0
* Bump core from 1.1.0 to 1.2.0
* Bump espresso-core from 3.1.1 to 3.2.0
2019-05-30 13:21:42 -05:00
dependabot[bot]
d53ec03c9d Bump okhttp from 3.12.2 to 3.12.3
Bumps [okhttp](https://github.com/square/okhttp) from 3.12.2 to 3.12.3.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.12.2...parent-3.12.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-16 16:31:42 -05:00
dependabot[bot]
9574834693 Bump jsoup from 1.11.3 to 1.12.1
Bumps [jsoup](https://github.com/jhy/jsoup) from 1.11.3 to 1.12.1.
- [Release notes](https://github.com/jhy/jsoup/releases)
- [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES)
- [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.11.3...jsoup-1.12.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-16 16:31:42 -05:00
dependabot[bot]
49716d82b1 Bump com.github.triplet.play from 2.1.0 to 2.2.1
Bumps com.github.triplet.play from 2.1.0 to 2.2.1.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-12 14:25:25 +09:00
dependabot[bot]
f5ca8641f3 Bump sqlite-android from 3.27.2 to 3.28.0
Bumps [sqlite-android](https://github.com/requery/sqlite-android) from 3.27.2 to 3.28.0.
- [Release notes](https://github.com/requery/sqlite-android/releases)
- [Changelog](https://github.com/requery/sqlite-android/blob/master/CHANGELOG.md)
- [Commits](https://github.com/requery/sqlite-android/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-29 21:43:57 -05:00
dependabot[bot]
6e9483c98e Bump powermock-api-mockito2 from 2.0.0 to 2.0.2
Bumps [powermock-api-mockito2](https://github.com/powermock/powermock) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.0...powermock-2.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-28 09:20:38 -05:00
dependabot[bot]
e9eeb7b2b7 Bump powermock-module-junit4 from 2.0.0 to 2.0.2
Bumps [powermock-module-junit4](https://github.com/powermock/powermock) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.0...powermock-2.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-28 09:20:38 -05:00
dependabot[bot]
acd5aad519 Bump powermock-core from 2.0.0 to 2.0.2
Bumps [powermock-core](https://github.com/powermock/powermock) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](https://github.com/powermock/powermock/compare/powermock-2.0.0...powermock-2.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-28 09:20:38 -05:00
dependabot[bot]
3cd6cdfe69 Bump mockito-core from 2.26.0 to 2.27.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 2.26.0 to 2.27.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v2.26.0...v2.27.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-28 09:20:38 -05:00
Fajar Ulin Nuha
9ae84e3ce3 Solve possible deprecation issue for jacoco task 2019-04-08 22:49:01 -05:00
Mike Hardy
30c31fca92
Alter auto-service dep / travis emulators / bump versions
#5271 part 2 based on https://github.com/ACRA/acra/issues/738#issuecomment-477389692
mockito-core from 2.25.1 to 2.26.0
bump junit-vintage-engine from 5.4.1 to 5.4.2
fix Travis a bit more after The Great Emulator Regression
2019-04-08 17:34:38 -05:00
Mike Hardy
3eab7b4a61
Dependency updates 20190327 (auto-service used by ACRA analytics interaction) (#5271)
Hopefully this dependency will get a real/stable release before 2.9.x but the auto-service dependency actually changed maven/gradle artifact organization during an RC cycle 🤷‍♂️

We must use it because using `@AutoService` annotations is the officially-supported mechanism for extending ACRA, and we extend ACRA just a little with a custom interaction so we get an analytics event hit at the same time ACRA posts to ACRAlyzer

Because correctly referencing the new artifact is in the vital crash reporting pathway I used our new advanced preferences test crash button while all using the advanced prefs dev analytics button to connect to the dev analytics instance with hit logging sampled at 100% to make sure it worked. The crash was correctly registered in analytics after this change so I feel confident it worked.
2019-03-27 16:27:35 -05:00
Mike Hardy
3f38f204df
20190319 Dependency updates (#5263)
Just a bunch of minor non-noteworthy updates.
No code changes needed to adapt this time.
Dependabot + Travis helping us with the unglamorous chores...
2019-03-21 22:31:58 -05:00
Mike Hardy
ee463c2a3e Alter Robolectric usage to finish AndroidX migration
Robolectric deprecated some APIs in preference to their new
AndroidX test library support:
http://robolectric.org/androidx_test/

This removes the usage of the deprecated APIs and implements the
necessary project changes to use the AndroidX style

- Activities must have <activity> AndroidManifest configuration, so
  our test-only Activity subclasses have to be public, and declared in
  a mergeable location (debug build variant for merge here)
- Robolectric test runner gone in favor of JUnit Runner
2019-02-20 09:45:41 +09:00
dependabot[bot]
95200ed0f6 Bump robolectric from 4.1 to 4.2
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.1 to 4.2.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.1...robolectric-4.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-20 09:45:41 +09:00
dependabot[bot]
6a94daf936 Bump sqlite-android from 3.26.0 to 3.27.1
Bumps [sqlite-android](https://github.com/requery/sqlite-android) from 3.26.0 to 3.27.1.
- [Release notes](https://github.com/requery/sqlite-android/releases)
- [Changelog](https://github.com/requery/sqlite-android/blob/master/CHANGELOG.md)
- [Commits](https://github.com/requery/sqlite-android/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-20 09:45:41 +09:00
dependabot[bot]
bd4740d585 Bump mockito-core from 2.24.0 to 2.24.5
Bumps [mockito-core](https://github.com/mockito/mockito) from 2.24.0 to 2.24.5.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v2.24.0...v2.24.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-20 09:45:41 +09:00
Timothy Rae
c2fa4648d0 Update play publisher plugin 2019-02-18 01:09:17 +09:00
Mike Hardy
96a3b30c1e Disable test orchestrator - causing crashes on test
The move to androidx stabilized it a little, but CI has
been much flakier since re-enabling this, so disabling it again
2019-02-15 19:09:05 +09:00
Mike Hardy
4432f409e0 requery depends on sqlite as api now, unneeded here 2019-02-15 19:09:05 +09:00
Mike Hardy
d3a8c7280a Upgrade mockito-core from 3.23.0 to 3.24.0 2019-02-10 10:39:54 -05:00
Mike Hardy
cd61e77574 Bump Junit to 5.4.0, with opt-in concurrency
Shaved 20% off ./gradlew jacocoUnitTestReport on a 4-core / hyperthread
MacBookPro, I imagine the results will scale well, without hurting small
machines (like CI)
2019-02-09 20:25:28 -05:00
Mike Hardy
a2ca1bede5 Use test orchestrator for instrumented tests
This change should isolate individual tests, making test
results more useful as one test won't halt the whole run

This should work okay now with the change to ANDROIDX prefix
2019-02-03 11:23:36 +09:00