Skip to content

Commit

Permalink
Fold autodispose-android-ktx into autodispose-android
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaishavGandhi committed Apr 6, 2019
1 parent c89a71d commit 8a82327
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 76 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,6 @@ There are three artifacts with extra support for Android:
* `autodispose-android-archcomponents` has a `AndroidLifecycleScopeProvider` for use with `LifecycleOwner` and `Lifecycle` implementations.
* `autodispose-android-archcomponents-test` has a `TestLifecycleOwner` for use in testing.

For each artifact, there is a corresponding kotlin extensions artifact with it. Example:
`autodispose-android` -> `autodispose-android-ktx`.

Note that the project is compiled against Java 8. If you need support for lower Java versions, you should
use D8 (Android Gradle Plugin 3.2+) or desugar as needed (depending on the build system).

Expand Down Expand Up @@ -323,11 +320,6 @@ implementation 'com.uber.autodispose:autodispose-rxlifecycle3:x.y.z'

Kotlin extensions:

`autodispose-android-ktx` [![Maven Central](https://img.shields.io/maven-central/v/com.uber.autodispose/autodispose-android-ktx.svg)](https://mvnrepository.com/artifact/com.uber.autodispose/autodispose-android-ktx)
```gradle
implementation 'com.uber.autodispose:autodispose-android-ktx:x.y.z'
```

`autodispose-android-archcomponents-ktx` [![Maven Central](https://img.shields.io/maven-central/v/com.uber.autodispose/autodispose-android-archcomponents-ktx.svg)](https://mvnrepository.com/artifact/com.uber.autodispose/autodispose-android-archcomponents-ktx)
```gradle
implementation 'com.uber.autodispose:autodispose-android-archcomponents-ktx:x.y.z'
Expand Down
7 changes: 0 additions & 7 deletions android/autodispose-android-ktx/Module.md

This file was deleted.

23 changes: 0 additions & 23 deletions android/autodispose-android-ktx/build.gradle

This file was deleted.

19 changes: 0 additions & 19 deletions android/autodispose-android-ktx/gradle.properties

This file was deleted.

17 changes: 0 additions & 17 deletions android/autodispose-android-ktx/src/main/AndroidManifest.xml

This file was deleted.

1 change: 1 addition & 0 deletions android/autodispose-android/autodispose-android.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-dontwarn com.uber.autodispose.android.AutoDisposeAndroid
1 change: 1 addition & 0 deletions android/autodispose-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ dependencies {
api deps.rx.java
api deps.androidx.annotations
implementation deps.rx.android
implementation deps.kotlin.stdlib

lintChecks project(':static-analysis:autodispose-lint')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

@file:Suppress("NOTHING_TO_INLINE")
@file:JvmName("AutoDisposeAndroid")

package com.uber.autodispose.android

Expand Down
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ buildscript {
}

Set<String> mixedSourcesArtifacts = [
"autodispose"
"autodispose",
"android:autodispose-android"
]
subprojects {
repositories {
Expand Down
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ pluginManagement {
rootProject.name = 'autodispose-root'
if (System.getenv("ANDROID_HOME") != null) {
include ':android:autodispose-android'
include ':android:autodispose-android-ktx'
include ':android:autodispose-android-archcomponents'
include ':android:autodispose-android-archcomponents-ktx'
include ':android:autodispose-android-archcomponents-test'
Expand Down

0 comments on commit 8a82327

Please sign in to comment.