123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- apply plugin: "com.android.application"
-
- project.ext.react = [
- root : "../../../",
- entryFile: "index.js"
- ]
-
- apply from: "../../../node_modules/react-native/react.gradle"
-
- android {
- compileSdkVersion 28
-
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
-
- defaultConfig {
- applicationId "com.reactnativenavigation.playground"
- minSdkVersion 21
- targetSdkVersion 28
- 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"
- missingDimensionStrategy "RNN.reactNativeVersion", "reactNative57_5"
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- }
- signingConfigs {
- release {
- storeFile file('../playground.keystore')
- storePassword "playground"
- keyAlias "playground"
- keyPassword "playground"
- }
- }
- buildTypes {
- release {
- signingConfig signingConfigs.release
- }
- }
- }
-
- configurations.all {
- resolutionStrategy.eachDependency { DependencyResolveDetails details ->
- def requested = details.requested
- if (requested.group == 'com.android.support') {
- details.useVersion "26.1.0"
- }
- }
- }
-
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation 'com.android.support:design:28.0.0'
- implementation 'com.android.support:appcompat-v7:28.0.0'
-
- //noinspection GradleDynamicVersion
- implementation 'com.facebook.react:react-native:+'
- implementation project(':react-native-navigation')
- implementation project(':react-native-view-overflow')
-
- androidTestImplementation(project(':detox'))
- androidTestImplementation 'junit:junit:4.12'
- androidTestImplementation 'com.android.support.test:runner:1.0.2'
- androidTestImplementation 'com.android.support.test:rules:1.0.2'
- }
|