22 lines
705 B
Groovy
22 lines
705 B
Groovy
|
|
plugins {
|
||
|
|
alias(libs.plugins.android.application) apply false
|
||
|
|
alias(libs.plugins.android.library) apply false
|
||
|
|
alias(libs.plugins.kotlin.android) apply false
|
||
|
|
alias(libs.plugins.hilt.android) apply false
|
||
|
|
alias(libs.plugins.kotlin.kapt) apply false
|
||
|
|
}
|
||
|
|
|
||
|
|
// Global dependency resolution strategy to handle Kotlin version conflicts
|
||
|
|
allprojects {
|
||
|
|
configurations.all {
|
||
|
|
resolutionStrategy {
|
||
|
|
// Force all Kotlin stdlib dependencies to use the same version
|
||
|
|
force 'org.jetbrains.kotlin:kotlin-stdlib:2.0.21'
|
||
|
|
force 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:2.0.21'
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
tasks.register('clean', Delete) {
|
||
|
|
delete layout.buildDirectory
|
||
|
|
}
|