mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-17 22:37:03 +05:30
build: force correct coroutines and kotlin-reflect artifacts
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
29e72da327
commit
64ac515ed0
1 changed files with 8 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
buildscript {
|
||||
ext {
|
||||
compose_version = '1.0.0-alpha03'
|
||||
coroutines_version = '1.3.9'
|
||||
dagger_version = '2.29.1'
|
||||
hilt_version = '2.29-alpha'
|
||||
kotlin_version = '1.4.10'
|
||||
|
@ -50,6 +51,13 @@ subprojects {
|
|||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
}
|
||||
configurations.all {
|
||||
resolutionStrategy {
|
||||
force "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
||||
force "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
|
||||
force "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version"
|
||||
}
|
||||
}
|
||||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
||||
kotlinOptions {
|
||||
jvmTarget = '1.8'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue