Address some build warnings and cleanup (#1412)

This commit is contained in:
AntsyLich
2024-10-31 20:17:27 +06:00
committed by GitHub
parent 06efc3b25c
commit a1c6089791
13 changed files with 78 additions and 90 deletions

View File

@@ -13,6 +13,12 @@ android {
}
}
kotlin {
compilerOptions {
freeCompilerArgs.add("-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi")
}
}
dependencies {
implementation(projects.sourceApi)
implementation(projects.core.common)
@@ -30,12 +36,3 @@ dependencies {
testImplementation(libs.bundles.test)
testImplementation(kotlinx.coroutines.test)
}
tasks {
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
compilerOptions.freeCompilerArgs.addAll(
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
"-Xcontext-receivers",
)
}
}