dependabot[bot]
1d88c0ce62
Bump junit-vintage-engine from 5.3.1 to 5.3.2
...
Bumps [junit-vintage-engine](https://github.com/junit-team/junit5 ) from 5.3.1 to 5.3.2.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.3.1...r5.3.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-28 10:10:36 -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
a348ae5ddd
Dependency updates (powermock, robolectric, okhttp) ( #5121 )
...
* Bump robolectric from 4.0.1 to 4.0.2
Bumps [robolectric](https://github.com/robolectric/robolectric ) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/robolectric/robolectric/releases )
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.0.1...robolectric-4.0.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Bump okhttp from 3.11.0 to 3.12.0
Bumps [okhttp](https://github.com/square/okhttp ) from 3.11.0 to 3.12.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.11.0...parent-3.12.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Bump powermock-core from 2.0.0-RC.3 to 2.0.0-RC.4
Bumps [powermock-core](https://github.com/powermock/powermock ) from 2.0.0-RC.3 to 2.0.0-RC.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.0-RC.3...powermock-2.0.0-RC.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Bump powermock-api-mockito2 from 2.0.0-RC.3 to 2.0.0-RC.4
Bumps [powermock-api-mockito2](https://github.com/powermock/powermock ) from 2.0.0-RC.3 to 2.0.0-RC.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.0-RC.3...powermock-2.0.0-RC.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Bump powermock-module-junit4 from 2.0.0-RC.3 to 2.0.0-RC.4
Bumps [powermock-module-junit4](https://github.com/powermock/powermock ) from 2.0.0-RC.3 to 2.0.0-RC.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.0-RC.3...powermock-2.0.0-RC.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-19 08:51:54 -05:00
Mike Hardy
7f7fd03aec
Upgrade api module to Android 28, fix deprecation
2018-11-03 15:02:51 -05:00
Mike Hardy
3e85740032
Update robolectric dependency to 4.0.1
2018-11-02 09:45:13 +07:00
Mike Hardy
f10b6d44f3
Update robolectric and junit dependencies
2018-10-27 12:24:45 +11:00
Mike Hardy
60659f1b98
Unit test for API Utils, working on master now
...
This version uses Robolectric so android.content.TextUtils works vs
the previous method of implementing the TextUtils logic in our codebase
just for testability
2018-10-17 07:22:27 +09:00
Rodrigo Bresan
e2d4f48cae
WIP: Unit Tests added into the Utils.java class (api Module).
...
- Add dependency on support-annotations (in order to use @VisibleForTesting);
- Add dependnecy on JUnit in order to allow unit tests;
2018-10-17 07:22:27 +09:00
Mike Hardy
4b5508fcf0
Display all compile problems, error on warnings
2018-10-07 01:48:25 -05:00
Mike Hardy
a6f7d42611
Bump SDK for API so it may be published
2018-09-18 22:02:06 -05:00
Mike Hardy
a42492795a
Safely use HTML 5 for Java10; use google repos first ( #4862 )
2018-06-08 12:42:25 +09:00
Timothy Rae
a1f22682c1
Fix inconsistent version number in API
2018-05-30 05:46:25 +09:00
Timothy Rae
64d68ef885
Remove html5 option from API build
...
This led to a build error
2018-05-30 05:45:51 +09:00
Mike Hardy
ef4993232d
Update API to 1.1.0alpha6 ( #4858 )
2018-05-30 05:27:52 +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
Mike Hardy
15153b5efc
Updating versions for buildtools and gson dependency ( #4792 )
2018-03-08 17:38:32 +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
bc04e92e5d
Update API build tools version to 25.0.1
2017-07-17 09:39:37 +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
Timothy Rae
31fb5beb20
Fix lint warnings in API
2016-03-24 19:07:04 +09:00
Timothy Rae
a36c12a37a
Bump API version to 1.1alpha4
2016-03-24 18:36:23 +09:00
timrae
71dde60d2d
Allow tags to be null in addNote()
2016-03-24 15:32:36 +09:00
timrae
0d111ef07e
Strip API down to essentials
2016-03-24 14:09:54 +09:00
Houssam Salem
f8f3ab6ec2
Update to newer support libraries and build tools
2016-02-28 22:42:54 +11:00
timrae
a8bdaf7a3c
Update material dialogs version
...
and drop targetSdkVersion to v22
2015-09-25 19:42:59 +09:00
timrae
bb6144d1da
Small update to API
...
remove unnecessary ref to context in some methods
add check for duplicates method
add a build script to make zip for jcenter
2015-09-11 16:27:17 +09:00
timrae
93b5e4dd08
Create API for easier integration with 3rd party apps
2015-09-11 05:08:18 +09:00