Commit graph

26 commits

Author SHA1 Message Date
Brian Plummer
34ec7d079b
convert jackson middleware tests to kotlin (#355)
* bump jackson rev, include jackson kotlin

* configure jackson for kotlin data classes

* convert tests to kotlin
2018-07-18 21:52:04 +02:00
Brian Plummer
fae3ccc828
Convert sample to kotlin (#347)
* start of sample app conversion to kotlin

* go with moshi kotlin codegen instead of immutables

* pr feedback, use lateinit and make non-null

* pr feedback, unwind method
2018-07-10 14:07:50 +02:00
Mike Nakhimovich
6ac40cd371 StoreRoom (#338)
* roomStore

* kt the app class

* refactor

* fix compilation

* Update .travis.yml

* migrate relevant tests to RoomStore, mark new Room API with @Experimental

* pr feedback

* bump minor rev up

* cleanup store

* create factory, clean up example

* pr comments
2018-05-30 18:56:08 +02:00
Tournaris Pavlos-Petros
e3db18a322 Update BuildTool version
* Version 27.0.3 is already used by AGP 3.1, but I updated the
version in dependencies.gradle as well.
2018-03-29 23:22:59 +03:00
Tournaris Pavlos-Petros
3bf22de815 Add google() repository
* Needed for the lint-gradle dependency in :app project
2018-03-29 23:22:08 +03:00
Pavlos-Petros Tournaris
6f2f1c12fe Fix issues occured from RxJava1 dependency (#314)
* Remove RxJava1 dependencies
* Fixed an ErrorProne warning
2018-02-20 18:05:46 +01:00
Ramona Harrison
2e4b6f734b
Update build tools to 26.0.2 (#283) 2017-10-30 10:46:53 -04:00
Jorge Antonio Díaz-Benito Soriano
dac878e2ce Gradle updates (#266)
* Gradle Wrapper (all) 3.3 -> 4.1

* Gradle plugin for Android 2.3.2 -> 3.0.0-beta2

This requires upgrading the errorprone plugin to 0.0.11. Also, see
https://stackoverflow.com/questions/44196672/aapt2-compile-failed-invalid-dimen-on-android-3-0-canary-1

gradle plugin

* SDK Build Tools 25.0.2 -> 26.0.1

* Remove retrolambda

* Log error from subscription on PersistingStoreActivity for consistency

* Update dependency inclusion directives to those of the 3.0 plugin

Also, jsr305 and javax usages have been taken from compile to compileOnly
since they are not required beyond.

* Add dependencies that previously were resolved through leaked ones from other artifacts

Now dependency leaks are eliminated thanks to 'implementation' from the 3.0 version of the gradle plugin.

* Remove coupling between middlewares and cache

* Replace mockito-all by mockito-core

mockito-all causes problems related to hamcrest when used with JUnit. See
https://tedvinke.wordpress.com/2013/12/17/mixing-junit-hamcrest-and-mockito-explaining-nosuchmethoderror/

* Remove unused dependency.

* Build Tools 26.0.1 on Travis

* Suppress PMD.AvoidThrowingNullPointerException for the time being

* Avoid PMD synthetic accessor warning
2017-08-17 13:48:12 -04:00
Mike Nakhimovich
1ee8d659fb upgrade external dependencies (#257)
* upgrade external dependencies

* update build tools in travis

* put kotlin standardlib back in

* fix build
2017-07-24 16:40:22 -04:00
Eric Cochran
c2d1a038c6 Update to Moshi 1.5.0. (#246) 2017-07-17 14:18:38 -04:00
Jorge Antonio Díaz-Benito Soriano
10d0cf6d07 Add store-kotlin module (#229)
* Add store-kotlin module

* Remove useless file

* Fix package in AndroidManifest

* Refactor module tests to assertJ

* Remove wrong annotation

* Add store-kotlin artifact to README

* Add module README

* Add KDoc to Javadoc jar

* Add Experimental annotation

* Mark all public store-kotlin classes as @Experimental

* Replace use of rx's @Experimental with local one instead
2017-06-22 21:22:34 -04:00
Maksim Moiseikin
a9ed871834 Port to RxJava 2 (#155)
* Port Store artifact to RxJava 2
2017-03-23 16:29:47 -04:00
Amine Laadhari
10eb6ee0a4 Add Inject annotations with the correct dependency 2017-03-07 18:28:38 +01:00
Paul Woitaschek
62c7ca39d7 Cleanup (#127)
* Fixed a race condition that would appear when the read was called but not immediately subscribed to. Defer the whole file check till subscription.

* Diamonds

* General cleanup, missing nullity annotations, missing override annotations

* More key naming conventions

* Dependency update

* More key naming conventions

* Parser, not func

* Name outer key different so cache can be evicted correctly

* Another missing override
2017-02-09 13:04:07 -08:00
Pavlos-Petros Tournaris
d8829d3ac0 Remove duplicate target_sdk (#126) 2017-02-09 12:20:04 -05:00
Eric Cochran
462df5a4be Update to Moshi 1.4.0 (#108) 2017-02-05 08:29:49 -05:00
Plummer
405a15d3b6 start of conversion to javax.annotations 2017-01-30 17:46:05 -05:00
Brian Plummer
be5ba6443a convert store to java, #83 (#85)
convert store to java, #83
2017-01-28 20:52:55 -05:00
digitalbuddha
f7e3fc5566 fix test 2017-01-23 13:27:38 -05:00
Brian Plummer
47aa5da3bf remove maven.em.nytimes.com from repositories block (#62) 2017-01-15 14:29:01 -05:00
Maksim Moiseikin
9db2456118 Create Jackson Middleware (#60)
* Create Jackson string parser

* Create Jackson BufferedSource parser

* Create Jackson Reader parser
2017-01-15 13:37:16 -05:00
Maksim Moiseikin
cbcd9794e0 Create Moshi Middleware (#55)
* Create Moshi Middleware module

* Implement Moshi string parser

* Implement Moshi BufferedSource parser

* Implement Moshi Reader parser

* Add missing gradle.properties file

* Remove Moshi reader parser
2017-01-14 18:43:50 -05:00
Brian Plummer
971d93fb91 clean up the dependencies.gradle file some (#58) 2017-01-14 13:24:03 -05:00
Mike Nakhimovich
dae7817a30 Update dependencies.gradle 2017-01-05 08:38:05 -05:00
digitalbuddha
9badd11494 initial 2017-01-04 14:17:53 -05:00
digitalbuddha
7b86dae1b8 initialCommit 2016-11-29 13:59:48 -05:00