Skip to content

Commit

Permalink
[Jetnews, Rally] Removes resolutionStrategy
Browse files Browse the repository at this point in the history
Change-Id: I90a44c1b60f5f3418db78026ac22d0789e6297e3
  • Loading branch information
JoseAlcerreca committed Aug 21, 2020
1 parent 2821af2 commit 6c46b3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
12 changes: 1 addition & 11 deletions JetNews/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ android {
}

composeOptions {
kotlinCompilerVersion kotlin_version
kotlinCompilerExtensionVersion compose_version
}
}
Expand Down Expand Up @@ -91,14 +92,3 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
jvmTarget = "1.8"
}
}

// TODO: Figure out which dependencies need this and force them individually
configurations.configureEach() {
resolutionStrategy {
eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'org.jetbrains.kotlin') {
details.useVersion kotlin_version
}
}
}
}
11 changes: 1 addition & 10 deletions Rally/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ android {
}

composeOptions {
kotlinCompilerVersion Libs.Kotlin.version
kotlinCompilerExtensionVersion Libs.AndroidX.Compose.version
}

Expand Down Expand Up @@ -85,13 +86,3 @@ dependencies {
androidTestImplementation Libs.AndroidX.Test.Ext.junit
androidTestImplementation Libs.AndroidX.Compose.uiTest
}

configurations.configureEach() {
resolutionStrategy {
eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'org.jetbrains.kotlin') {
details.useVersion Libs.Kotlin.version
}
}
}
}

0 comments on commit 6c46b3c

Please sign in to comment.