Commit Graph
36 Commits
Author SHA1 Message Date
tys 4c895ddb7c Fix spotless 2022-10-28 14:55:24 -07:00
tys 8e878c6e6e Removing previous change to the presenter field in favor of making it a closed JvmField to maintain compatibility 2022-10-26 17:10:21 -07:00
tys 6d3de3cfca Fixed all deps and package changes for compilation 2022-08-26 15:35:56 -07:00
SergeySmykovskyi 1023a96b84 Migrate com.nhaarman.mockitokotlin2 to org.mockito.kotlin (#520)
* Migrate com.nhaarman.mockitokotlin2 to org.mockito.kotlin
2022-08-08 18:21:41 -07:00
arteghem 4bc63ded6b Don't use default interface method bytecode optimization for target 1.8 (#495)
* Don't use default interface method bytecode optimization for target 1.8

* Update fix to rely on jvm-default=enable/@JvmDefault in order to preserve java compatibility:
2022-03-29 19:19:35 -07:00
James Barr 49fe466028 Use minSdk 21, AGP 7, & Gradle 7 (#478) 2021-09-17 11:55:35 -07:00
James Barr beb5ccd149 Migrate gradle-maven-push to gradle-maven-publish-plugin (#477) 2021-09-17 11:06:06 -07:00
James Barr ad33698755 Use implementation instead of compile (#471) 2021-07-09 19:17:31 -07:00
James Barr 153335ba3c Warn when detaching a RIB that was never attached (#454) 2021-06-07 18:36:10 -07:00
James Barr 865adaf6f3 More followup fixes for Kotlin RIBs (#450) 2021-05-17 11:30:33 -07:00
James Barr bd8f05fc0f Followup fixes for Kotlin RIBs (#448) 2021-05-11 22:30:26 -07:00
James Barr 3f6b1309ea Minor fixups for rib-base Kotlin conversion 2021-04-16 16:27:19 -07:00
James Barr 026eae1e12 Convert rib-base to Kotlin 2021-04-16 12:39:06 -07:00
James Barr 6aaaed5c8f Rename rib-base files to .kt in kotlin srcs 2021-04-16 07:57:47 -07:00
James Barr 10acb14aaf Convert rib-test to Kotlin 2021-04-09 13:31:54 -07:00
James Barr cb51d73da2 Integrate Spotless into build (#415)
* Integrate Spotless in build

* Update CONTRIBUTING.md

* Move improperly placed copyright comments

* Update copyright indent

* Don't format test fixtures

* Run spotlessApply over the whole repo

* Remove checkstyle configs

* Run spotlessCheck on CI
2021-03-24 18:45:35 -07:00
TonyTang 671363217c Add unit test for WorkerScopeProvider and highlight the fact that WorkerScopeProvider implementation detail does not care about the actual Event name WorkerEvent.START or WorkerEvent.STOP. (#408) 2021-03-10 22:30:07 -08:00
James Barr 54f6f969f3 Add fakes for RIB classes (#403)
* Add fakes for RIB classes

* Make Router abstract

* Formatting
2021-02-25 09:08:00 -08:00
James Barr b290824844 Align rib-base with internal version (#402)
* Remove Component type parameter from Router

* Add RibEvents and related classes for tooling

* Minor differences to align with internal version of rib-base

* Extended WorkerBinder functionality to allow for binding a worker to a presenter's lifecycle

* Minor differences & new tests to align with internal version of rib-base
2021-02-23 12:47:26 -08:00
James Barr c6bbec8096 Decouple base RIB classes from Dagger (#399) 2021-02-18 21:56:18 -08:00
James Barr 065630e92f Migrate from AssertJ to Truth (#396) 2021-02-16 17:40:26 -08:00
James Barr 676f742436 Migrate from uava to guava (#393)
* Delete rib-uava
* Use Guava classes instead of Uava
* Add Guava dependencies and be explicit about Android or JRE
2021-02-12 13:46:29 -08:00
fegol b586fbf024 Migration to AndroidX #324 (#334)
* Migration to AndroidX #324

* Divided versions for androidx libraries and renamed dependencies #324

* Upgrade target sdk version for travis #324

* Migration to androidx part 2 #324

* Fixed spaces #324
2019-06-19 22:48:18 +02:00
Shaishav Gandhi 9ac24da401 Update AutoDispose to 1.3.0 (#333)
* Update AutoDispose

* Enable desugaring in tutorials

* Move to static imports
2019-06-12 13:28:12 -07:00
SeungHun Choe 94d8293316 Fix gradle sync and compilation error on Android Studio 3.4 2019-05-24 10:08:25 +09:00
Brian Attwell aeecd39a7a Fix one javadoc issue 2017-11-04 11:59:29 -07:00
Brian Attwell c27c6bcae6 add gradle-mvn-push to desired modules 2017-11-04 09:00:32 -07:00
Brian Attwell 12ebe9af1f suppress lint on tutorials. suppress checkstyle for now 2017-11-03 17:19:32 -07:00
Brian Attwell cb0c937ce8 Setup gradle.properties files for maven central 2017-11-01 17:44:20 -07:00
Brian Attwell e76fe04ebb router-navigator, intellij-plugin
* Add comment explaining why lifecycled presenters exist
* Fix package name for rib debug utils
* Rename rib-assert -> rib-test-utils
* Delete orphaned files
* Refactor router-navigator into its own module. Fix some gradle dependencies
* Update the rib intellij template readme
* Include prebuilt plugin.jar
* Include link to plugin.jar in readme
* Add link to plugin inside tutorial1 readme
* Add license
2017-10-17 10:53:17 -07:00
Brian Attwell a248d9d999 Add rib-uava module. Make workflow compile 2017-10-17 10:53:16 -07:00
Brian Attwell e00528e910 Move debut utils into seperate module. may delete them later 2017-10-17 10:53:16 -07:00
Brian Attwell 7d3661b012 Remove triplet annotation
This is purely legacy code.
2017-10-17 10:53:16 -07:00
Brian Attwell 7c7a91608b Set Java version to 1.7 in all modules
This allows us to build, install and run the tutorial1 app.
2017-10-17 10:53:16 -07:00
Brian Attwell c848849d08 initial code for rib-android. Minus some propriatary metadata.
Plus Clean up android-base for release (squashed toghehter for file header reasons)
* Add initializer support by inlining the initializer annotation into rib-base
* Setup roboelectric tests. Setup roboelectric configuration
2017-10-17 10:53:00 -07:00
Brian Attwell 90143e9690 Initial source code dump for rib-base
* Also, remove initializer annotation. Inline precondition class. Remove base test class
* Add file headers for rib-base
2017-10-17 10:47:12 -07:00