Files
Asaf KoremandGitHub e46a27782b ci(android gradle): replace jcenter with maven-center. (#3658)
Replace deprecated JCenter Bintray with Maven Center due to long outage.
2022-10-31 11:31:48 +02:00

34 lines
990 B
Groovy

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.6.21"
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.3"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
// This is here in order to resolve the Detox .aar from the local folder (assuming it's
// been prebuilt, regardless of this project). Commenting this out would have the app
// resolve the actual (published) .aar from maven-central.
maven {
url "$rootDir/../../detox/Detox-android"
}
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}