apply plugin: "com.android.application" project.ext.react = [ root : "../../../", entryFile: "playground/index.js" ] apply from: "../../../node_modules/react-native/react.gradle" android { compileSdkVersion 25 buildToolsVersion "27.0.3" compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } defaultConfig { applicationId "com.reactnativenavigation.playground" minSdkVersion 19 targetSdkVersion 25 versionCode 1 versionName "1.0" ndk { abiFilters "armeabi-v7a", "x86" } testBuildType System.getProperty('testBuildType', 'debug') //this will later be used to control the test apk build type missingDimensionStrategy "minReactNative", "minReactNative46" //read note testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } signingConfigs { release { storeFile file('../playground.keystore') storePassword "playground" keyAlias "playground" keyPassword "playground" } } buildTypes { release { signingConfig signingConfigs.release } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation ('com.facebook.react:react-native:0.51.1') { force = true } implementation 'com.android.support:design:25.4.0' implementation "com.android.support:appcompat-v7:25.4.0" implementation project(':react-native-navigation') androidTestImplementation(project(path: ":detox")) androidTestImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test:rules:1.0.1' }