Skip to content

Commit

Permalink
Merge pull request #332 from trello/dlew/module-name-collision
Browse files Browse the repository at this point in the history
Namespace Kotlin module names
  • Loading branch information
dlew authored Nov 5, 2020
2 parents 53b3a9b + 6b3154f commit 5725b69
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions rxlifecycle-android-lifecycle-kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ android {
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
}

kotlinOptions {
freeCompilerArgs += ["-module-name", "rxlifecycle-android-lifecycle-kotlin-4"]
}
}

repositories {
Expand Down
4 changes: 4 additions & 0 deletions rxlifecycle-kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ android {
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
}

kotlinOptions {
freeCompilerArgs += ["-module-name", "rxlifecycle-kotlin-4"]
}
}

repositories {
Expand Down
3 changes: 2 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include ':rxlifecycle', ':rxlifecycle-android-lifecycle-kotlin'
include ':rxlifecycle'
include ':rxlifecycle-android'
include ':rxlifecycle-android-lifecycle'
include ':rxlifecycle-android-lifecycle-kotlin'
include ':rxlifecycle-components'
include ':rxlifecycle-components-preference'
include ':rxlifecycle-kotlin'
Expand Down

0 comments on commit 5725b69

Please sign in to comment.