Android Configuration

Add these lines to the repositories block in your android/build.gradle

allprojects {
    repositories {
        google()
        mavenCentral()
        maven { url "https://repo.combateafraude.com/android/release" }
        maven { url 'https://jitpack.io' }
    }
}

Source code

buildscript {
    ext.kotlin_version = '1.9.20'
    repositories {
        google()
        mavenCentral()
    }

    dependencies {
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

allprojects {
    repositories {
        google()
        mavenCentral()
        maven { url "https://repo.combateafraude.com/android/release" }
        maven { url 'https://jitpack.io' }
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

tasks.register("clean", Delete) {
    delete rootProject.buildDir
}

Last updated

Logo

2023 © Caf. - All rights reserved