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

31 Commits

Author SHA1 Message Date
Mike Hardy
2401e1637b Update gradle plugin from 3.2.1 to 3.3.0 2019-01-24 08:00:09 -05:00
Mike Hardy
2524c19b4c Implement standard gradle build/test optimizations
- de-couple api + AnkiDroid by making sure all evaulation may be done separately
- fork and incremental compile
- scale concurrent tests by CPU count, mindful of containerization

All of these are intended to have no impact on CI or small machines
But if you have a lot of cores and RAM and run tests a lot (my case) you feel this

There was one optimization that didn't pan out - setting the heap big enough to
dex in process - but other than this is the full suite of recommended gradle optimizations
2018-11-24 16:19:09 -05:00
Mike Hardy
bb4af60cd9 Upgrade gradle 3.2.0 -> 3.2.1 2018-10-14 14:36:22 -05:00
Mike Hardy
4b5508fcf0 Display all compile problems, error on warnings 2018-10-07 01:48:25 -05:00
Mike Hardy
6e857716c2 Migrate to beta test APIs from alpha 2018-10-06 08:38:41 +09:00
Mike Hardy
1cd3c3b64d Dependency updates, and UI test works on API28 2018-09-27 22:57:34 +09:00
Mike Hardy
7acc79e14e Coverage reports / Codacy integration (#4919)
* Add jacoco dependency, bump gradle plugin dependency
* Implement integrated coverage report for debug builds
* Report coverage in Travis, aggregate all API reports in Codacy

Fixes #4914
Fixes #3056
Fixes #4588
Fixes #2254
2018-09-03 17:02:27 +09:00
Mike Hardy
f04cef4bc5 Update dependencies that required no code changes (#4912)
Note the beta android gradle plugin is needed in combo with gradle 4.9,
but it should not have any change on compilation artifacts until D8 is enabled
2018-08-18 10:00:58 +09:00
Mike Hardy
56773418d9 Expose deprecation details, examine+suppress one 2018-06-18 22:01:38 +09:00
Mike Hardy
10fe4a04ec gradle plugin to 3.1.3 to match Android Studio update 2018-06-11 08:37:49 +09:00
Mike Hardy
9a3b9d2795 google() is sufficient for deps, but it should be first 2018-06-11 08:37:49 +09:00
Mike Hardy
a42492795a Safely use HTML 5 for Java10; use google repos first (#4862) 2018-06-08 12:42:25 +09:00
Mike Hardy
76b18e06ef Upgrade gradle and gradle plugin, w/migrations, travis speedups (#4851)
- fix api gradle deprecation, add warn comment in gradle wrapper
- buildtools 27.0.3 needs to be added w/license accepted
- install SDK API 16 to match emulator API 16, remove extra tools
- tools components entry twice per Travis docs
- only including build-tools 26.0.2 as it is default per my read
- only including one android API for the build
- removing non-existent extra-android-support
- changing from API-22 emulator to API-16 per performance documentation on web
- removing "no-skin" emulator argument as it is not supported
- upgrade to gradle 4.5.1 / gradle plugin 3.1.2
- alter gradle dependencies to modern fine-grained declarations
- move api build targetSdk to match main build targetSdk
2018-05-19 11:55:10 +09:00
Timothy Rae
3e78697111 Update compileSdkVersion and libraries to 26
Also updated to gradle 4
2017-12-15 13:51:05 +09:00
Timothy Rae
6643ace2c8 Update gradle to 2.3.3 2017-07-17 09:39:23 +09:00
Tim Rae
c4c6af20af Bumped version to
@branch-specific
2016-12-13 20:43:22 +09:00
Timothy Rae
d8ba8aacb5 Update gradle-play-publisher 2016-10-23 17:57:36 +09:00
Houssam Salem
a55a8a38b1 Update build tools and support libraries 2016-10-21 16:33:17 +11:00
Houssam Salem
eee8b4afd0 Update build tools and support libraries 2016-07-28 13:39:02 +10:00
Houssam Salem
7da2be7878 Update support libs and SDK versions 2016-06-27 14:55:48 +10:00
Houssam Salem
c76b539981 Roll back support libs
Might fix the FAB repositioning issue.
2016-05-27 17:48:14 +10:00
Houssam Salem
c68a9f335e Update support libraries 2016-05-18 14:25:19 +10:00
Timothy Rae
bbbc5c46f6 Bump gradle version 2016-05-06 01:08:38 +09:00
Mark Carter
b33baf4add Update gradle files for Android Studio 2 2016-04-09 15:26:53 +08:00
Houssam Salem
e27e627de7 Disable pre-dexing on Travis 2016-03-12 09:45:45 +11:00
Houssam Salem
f8f3ab6ec2 Update to newer support libraries and build tools 2016-02-28 22:42:54 +11:00
timrae
937dec0eb7 Add gradle task for uploading to Google Play 2015-10-27 11:23:05 +09:00
timrae
a8bdaf7a3c Update material dialogs version
and drop targetSdkVersion to v22
2015-09-25 19:42:59 +09:00
timrae
82f5a58552 Show SnackBar instead of dialog when sync was successful 2015-09-04 13:31:48 +09:00
timrae
af91023e57 Update project configuration for Android Studio 1.0 stable 2014-12-09 11:11:40 +09:00
timrae
1fbf16e693 Migrate to new Android Studio project structure 2014-11-10 02:02:29 +09:00