mirror of
https://github.com/hanzoai/Detox.git
synced 2026-09-24 16:55:12 +00:00
Replace deprecated JCenter Bintray with Maven Center due to long outage.
34 lines
990 B
Groovy
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
|
|
}
|