123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- apply plugin: "com.android.application"
-
- project.ext.react = [
- root : "../../../",
- entryFile: "index.js",
- bundleAssetName: "index.android.bundle",
- bundleInAlpha: true,
- bundleInBeta: true
- ]
-
- 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')
- missingDimensionStrategy "RNN.reactNativeVersion", "reactNative60"
- testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
- }
- signingConfigs {
- release {
- storeFile file('../playground.keystore')
- storePassword "playground"
- keyAlias "playground"
- keyPassword "playground"
- }
- }
- buildTypes {
- release {
- signingConfig signingConfigs.release
- }
- }
- packagingOptions {
- pickFirst '**/libjsc.so'
- pickFirst '**/libc++_shared.so'
- }
- }
-
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation 'com.google.android.material:material:1.0.0'
- implementation 'androidx.appcompat:appcompat:1.0.2'
-
- //noinspection GradleDynamicVersion
- implementation 'com.facebook.react:react-native:+'
- //noinspection GradleDynamicVersion
- implementation 'org.webkit:android-jsc-intl:+'
- implementation project(':react-native-navigation')
- implementation project(':react-native-view-overflow')
-
- androidTestImplementation('com.wix:detox:+') { transitive = true }
- androidTestImplementation 'junit:junit:4.12'
- }
|