// Top-level build file where you can add configuration options common to all sub-projects/modules. import org.apache.tools.ant.taskdefs.condition.Os buildscript { ext { buildToolsVersion = "33.0.0" minSdkVersion = 21 compileSdkVersion = 33 targetSdkVersion = 33 ext.kotlinVersion = '1.8.0' androidXAnnotation = "1.1.0" androidXCoreVersion = "1.7.0" androidXCore = "1.7.0" androidXBrowser = "1.0.0" ndkVersion = "23.1.7779620" } repositories { google() mavenCentral() } dependencies { classpath("com.android.tools.build:gradle") classpath("com.facebook.react:react-native-gradle-plugin") classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" } } allprojects { repositories { maven { // All of Detox' artifacts are provided via the npm module url "$rootDir/../../node_modules/detox/Detox-android" } maven { url 'https://www.jitpack.io' } } tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { kotlinOptions { jvmTarget = "11" } } }