Skip to content

Commit

Permalink
Rename -kotlin artifacts to -ktx (#229)
Browse files Browse the repository at this point in the history
Part of #214
  • Loading branch information
ZacSweers authored Jul 27, 2018
1 parent 8b6e751 commit 393cf83
Show file tree
Hide file tree
Showing 23 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,11 @@ There are three artifacts with extra support for Android:
* `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-kotlin`.
`autodispose-android` -> `autodispose-android-ktx`.

##### Kotlin

Kotlin extension artifacts are available for almost every artifact by adding `-kotlin` to the ID like
Kotlin extension artifacts are available for almost every artifact by adding `-ktx` to the ID like
above.

##### RxLifecycle
Expand Down Expand Up @@ -317,24 +317,24 @@ compile 'com.uber.autodispose:autodispose-rxlifecycle:x.y.z'

Kotlin extensions:

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

`autodispose-android-kotlin` [![Maven Central](https://img.shields.io/maven-central/v/com.uber.autodispose/autodispose-android-kotlin.svg)](https://mvnrepository.com/artifact/com.uber.autodispose/autodispose-android-kotlin)
`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
compile 'com.uber.autodispose:autodispose-android-kotlin:x.y.z'
compile 'com.uber.autodispose:autodispose-android-ktx:x.y.z'
```

`autodispose-android-archcomponents-kotlin` [![Maven Central](https://img.shields.io/maven-central/v/com.uber.autodispose/autodispose-android-archcomponents-kotlin.svg)](https://mvnrepository.com/artifact/com.uber.autodispose/autodispose-android-archcomponents-kotlin)
`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
compile 'com.uber.autodispose:autodispose-android-archcomponents-kotlin:x.y.z'
compile 'com.uber.autodispose:autodispose-android-archcomponents-ktx:x.y.z'
```

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

Javadocs and KDocs for the most recent release can be found here: https://uber.github.io/AutoDispose/0.x/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
#

POM_NAME=AutoDispose (Android Architecture Components Kotlin Extensions)
POM_ARTIFACT_ID=autodispose-android-archcomponents-kotlin
POM_ARTIFACT_ID=autodispose-android-archcomponents-ktx
POM_PACKAGING=aar
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
#

POM_NAME=AutoDispose (Android Architecture Components Test Kotlin Extensions)
POM_ARTIFACT_ID=autodispose-android-archcomponents-test-kotlin
POM_ARTIFACT_ID=autodispose-android-archcomponents-test-ktx
POM_PACKAGING=aar
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
#

POM_NAME=AutoDispose (Android Kotlin Extensions)
POM_ARTIFACT_ID=autodispose-android-kotlin
POM_ARTIFACT_ID=autodispose-android-ktx
POM_PACKAGING=aar
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
POM_NAME=AutoDispose (Kotlin Extensions)
POM_ARTIFACT_ID=autodispose-kotlin
POM_ARTIFACT_ID=autodispose-ktx
POM_PACKAGING=jar
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dependencies {
implementation project(':android:autodispose-android')
implementation project(':android:autodispose-android-archcomponents')
implementation project(':autodispose')
implementation project(':autodispose-kotlin')
implementation project(':autodispose-ktx')
implementation project(':lifecycle:autodispose-lifecycle')
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support.constraint:constraint-layout:1.1.0-beta4'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import io.reactivex.schedulers.Schedulers
class ArchComponentActivity: AppCompatActivity() {

companion object {
private const val TAG = "AutoDispose-Kotlin"
private const val TAG = "AutoDispose-ktx"
}

private val scopeProvider by lazy { AndroidLifecycleScopeProvider.from(this) }
Expand Down
8 changes: 4 additions & 4 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ pluginManagement {
rootProject.name = 'autodispose-root'
if (System.getenv("ANDROID_HOME") != null) {
include ':android:autodispose-android'
include ':android:autodispose-android-kotlin'
include ':android:autodispose-android-ktx'
include ':android:autodispose-android-archcomponents'
include ':android:autodispose-android-archcomponents-kotlin'
include ':android:autodispose-android-archcomponents-ktx'
include ':android:autodispose-android-archcomponents-test'
include ':android:autodispose-android-archcomponents-test-kotlin'
include ':android:autodispose-android-archcomponents-test-ktx'
include ':sample'
}
include ':autodispose'
include ':autodispose-kotlin'
include ':autodispose-ktx'
include ':lifecycle:autodispose-lifecycle'
include ':lifecycle:autodispose-lifecycle-jdk8'
include ':lifecycle:autodispose-lifecycle-ktx'
Expand Down

0 comments on commit 393cf83

Please sign in to comment.