build.gradle 833 Bytes
Newer Older
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
1 2 3 4 5 6 7 8 9 10 11 12 13
buildscript {
  repositories {
    jcenter()
  }

  dependencies {
    classpath 'com.android.tools.build:gradle:1.3.0'
  }
}

apply plugin: 'com.android.library'

android {
14 15
  compileSdkVersion project.hasProperty('compileSdkVersion') ? project.compileSdkVersion : 26
  buildToolsVersion project.hasProperty('buildToolsVersion') ? project.buildToolsVersion : '26.0.3'
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
16 17 18

  defaultConfig {
    minSdkVersion 16
19
    targetSdkVersion project.hasProperty('targetSdkVersion') ? project.targetSdkVersion : 26
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
20 21 22 23 24 25 26 27 28 29 30 31 32
    versionCode 1
    versionName "1.0"
  }
  lintOptions {
    abortOnError false
  }
}

repositories {
  mavenCentral()
}

dependencies {
冷佳娟's avatar
冷佳娟 committed
33 34 35
  implementation "com.facebook.react:react-native:+"  // From node_modules
  implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
  implementation 'androidx.annotation:annotation:1.0.2'
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
36
}