123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- buildscript {
- // ext.kotlin_version = '1.7.10'
- repositories {
- google()
- mavenCentral()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:7.2.2'
- // classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- classpath 'com.google.gms:google-services:4.2.0'
- }
- }
- allprojects {
- repositories {
- google()
- mavenCentral()
- }
- }
- rootProject.buildDir = '../build'
- subprojects {
- project.buildDir = "${rootProject.buildDir}/${project.name}"
- }
- subprojects {
- project.evaluationDependsOn(':app')
- }
- subprojects {
- project.configurations.all {
- resolutionStrategy.eachDependency { details ->
- if (details.requested.group == 'androidx.exifinterface'
- && !details.requested.name.contains('multidex') ) {
- details.useVersion "1.0.0"
- }
- }
- }
- }
- subprojects {
- project.configurations.all {
- resolutionStrategy.eachDependency { details ->
- if (details.requested.group == 'androidx.core'
- && !details.requested.name.contains('multidex') ) {
- details.useVersion "1.0.2"
- }
- }
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
|