mirror of
https://github.com/status-im/react-native-tcp.git
synced 2025-01-13 04:04:07 +00:00
29e56e92d8
Updated the Readme (use rnpm when linking) Updated the android project structure to work with rnpm Rebuilt the RctSockets Sample to display the socket lifecycle Updated RctSockets to the latest react-native in the sample (0.27.2)
46 lines
860 B
Groovy
46 lines
860 B
Groovy
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:1.2.3'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 23
|
|
buildToolsVersion "23.0.1"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 22
|
|
versionCode 1
|
|
versionName "0.2.0"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
// needed for https://github.com/square/okio/issues/58
|
|
lintOptions {
|
|
abortOnError false
|
|
warning 'InvalidPackage'
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.facebook.react:react-native:+'
|
|
compile 'com.koushikdutta.async:androidasync:2.1.6'
|
|
}
|