1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
react-native-pushy/android/build.gradle

31 lines
633 B
Groovy
Raw Normal View History

2016-03-31 16:22:47 +08:00
apply plugin: 'com.android.library'
android {
2018-07-09 21:01:45 +08:00
compileSdkVersion 26
buildToolsVersion "26.0.2"
2016-03-31 16:22:47 +08:00
defaultConfig {
minSdkVersion 16
2018-07-09 21:01:45 +08:00
targetSdkVersion 25
2016-03-31 16:22:47 +08:00
versionCode 1
versionName "1.0"
2018-07-09 20:40:48 +08:00
}
sourceSets {
main {
// let gradle pack the shared library into apk
jniLibs.srcDirs = ['./lib']
2016-03-31 22:54:29 +08:00
}
2016-03-31 16:22:47 +08:00
}
}
repositories {
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
2016-06-28 12:08:43 +08:00
url "$rootDir/../node_modules/react-native/android"
}
}
2016-03-31 16:22:47 +08:00
dependencies {
compile 'com.facebook.react:react-native:+'
}