Commit graph

37 commits

Author SHA1 Message Date
Yigit Boyar
25ef7dc72d Move dependencies to AndroidX 2019-06-30 06:18:07 -07:00
Fabio Collini
7480d5a9c4 Convert filesystem classes to Kotlin (#4) 2019-05-27 15:41:04 -04:00
fabioCollini
927e77954a Coroutines 1.2.1 2019-05-21 22:57:14 +02:00
Brian Plummer
797b3e2555 remove middleware-jackson 2019-05-17 18:30:24 -04:00
fabioCollini
dda71c4d74 Removed immutables dependencies 2019-02-23 17:39:54 +01:00
fabioCollini
f486829e65 Removed rxjava dependencies 2019-02-23 17:08:22 +01:00
fabioCollini
fb4ee1992d Removed rx classes and fixed tests 2019-02-22 22:17:45 -05:00
fabioCollini
1b9e79a565 Fix some tests 2019-02-11 15:15:08 -05:00
DigitalBuddha
774e9d9c4b Merge remote-tracking branch 'origin/feature/kotlin_conversion' into feature/coroutines
# Conflicts:
#	app/build.gradle
#	app/src/main/java/com/nytimes/android/sample/SampleApp.kt
#	app/src/main/java/com/nytimes/android/sample/activity/PersistingStoreActivity.java
#	app/src/main/java/com/nytimes/android/sample/activity/StoreActivity.java
#	build.gradle
#	buildsystem/dependencies.gradle
#	filesystem/src/test/java/com/nytimes/android/external/fs3/FilePersisterTest.java
#	filesystem/src/test/java/com/nytimes/android/external/fs3/FileSystemRecordPersisterTest.java
#	filesystem/src/test/java/com/nytimes/android/external/fs3/RecordPersisterTest.java
#	filesystem/src/test/java/com/nytimes/android/external/fs3/SourcePersisterTest.java
#	middleware/src/main/java/com/nytimes/android/external/store3/middleware/GsonParserFactory.kt
#	middleware/src/main/java/com/nytimes/android/external/store3/middleware/GsonReaderParser.kt
#	middleware/src/main/java/com/nytimes/android/external/store3/middleware/GsonSourceParser.kt
#	middleware/src/main/java/com/nytimes/android/external/store3/middleware/GsonStringParser.kt
#	middleware/src/test/java/com/nytimes/android/external/store3/GenericParserStoreTest.java
#	middleware/src/test/java/com/nytimes/android/external/store3/GsonParserFactoryTest.java
#	middleware/src/test/java/com/nytimes/android/external/store3/GsonSourceListParserTest.java
#	store/build.gradle
2019-02-10 19:29:48 -05:00
ychescale9
59f9c68342 Update SDK, build tools, gradle, AGP, Kotlin, and library dependencies. (#371)
* Update SDK, build tools, gradle, AGP, Kotlin, and library dependencies.

* Update travis config with new SDK version.
2019-01-07 15:05:05 +01:00
ychescale9
ecea787a3f Remove Deprecated annotation for stream(V key) (#368)
* Remove Deprecated annotation for stream(V key) which was meant to be undeprecated with https://github.com/NYTimes/Store/pull/252.

* Fix CI - remove https://plugins.gradle.org/m2 repository applied to all projects.
2018-10-25 10:43:29 -04:00
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