Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
Remove hack around forcing Compose/UI versions
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbanes committed Jun 10, 2020
1 parent 7aafd87 commit 48e377b
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,22 +85,6 @@ subprojects {
}
}

// Accompanist depends on tagged versions of the UI + Compose libraries, but we might be using
// a different version (i.e. SNAPSHOT). So that everything stays in sync, we need to force
// our specified version.
configurations.all {
resolutionStrategy.eachDependency { details ->
switch (details.requested.group) {
case 'androidx.ui':
details.useVersion Libs.AndroidX.UI.version
break
case 'androidx.compose':
details.useVersion Libs.AndroidX.Compose.version
break
}
}
}

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
// Treat all Kotlin warnings as errors
Expand Down

0 comments on commit 48e377b

Please sign in to comment.