react-native-webview/android/build.gradle

23 lines
789 B
Groovy
Raw Normal View History

2018-07-31 03:21:48 +00:00
apply plugin: 'com.android.library'
def DEFAULT_COMPILE_SDK_VERSION = 26
def DEFAULT_BUILD_TOOLS_VERSION = "26.0.3"
def DEFAULT_MIN_SDK_VERSION = 16
def DEFAULT_TARGET_SDK_VERSION = 26
2018-07-31 03:21:48 +00:00
android {
compileSdkVersion rootProject.findProperty('compileSdkVersion') ?: DEFAULT_COMPILE_SDK_VERSION
buildToolsVersion rootProject.findProperty('buildToolsVersion') ?: DEFAULT_BUILD_TOOLS_VERSION
2018-07-31 03:21:48 +00:00
defaultConfig {
minSdkVersion rootProject.findProperty('minSdkVersion') ?: DEFAULT_MIN_SDK_VERSION
targetSdkVersion rootProject.findProperty('targetSdkVersion') ?: DEFAULT_TARGET_SDK_VERSION
2018-08-08 06:02:40 +00:00
versionCode 1
versionName "1.0"
2018-07-31 03:21:48 +00:00
}
}
dependencies {
implementation 'com.facebook.react:react-native:+'
2018-07-31 03:21:48 +00:00
}