Added build.gradle

This commit is contained in:
Aakash N S 2015-10-31 21:21:50 +05:30
parent 78efd30fa5
commit 817a60dae9
3 changed files with 48 additions and 1 deletions

39
android/build.gradle Normal file
View File

@ -0,0 +1,39 @@
buildscript {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:1.1.3'
compile 'com.github.User:Repo:Tag'
}
}
apply plugin: 'com.android.library'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
}
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.android.support:appcompat-v7:23.+'
compile 'com.facebook.react:react-native:0.13.0'
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile('com.github.afollestad.material-dialogs:core:0.8.5.0@aar') {
transitive = true
}
}

View File

@ -0,0 +1,5 @@
<manifest
xmlns:tools="http://schemas.android.com/tools"
package="com.aakashns.reactnativedialogs">
</manifest>

View File

@ -19,5 +19,8 @@
"bugs": {
"url": "https://github.com/aakashns/react-native-dialogs/issues"
},
"homepage": "https://github.com/aakashns/react-native-dialogs#readme"
"homepage": "https://github.com/aakashns/react-native-dialogs#readme",
"dependencies": {
"react-native": "^0.13.2"
}
}