android-templates/build.gradle

56 lines
1.5 KiB
Groovy

apply plugin: 'com.android.library'
apply plugin: 'me.tatarka.retrolambda'
android {
compileSdkVersion compileSdk
buildToolsVersion buildTools
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
minSdkVersion 16
}
}
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
compile project(path: ':libraries:components')
compile 'net.danlew:android.joda:2.9.9'
compile 'com.android.support:multidex:1.0.2'
compile "io.reactivex.rxjava2:rxandroid:$rxAndroidVersion"
compile "io.reactivex.rxjava2:rxjava:$rxJavaVersion"
provided "com.android.support:recyclerview-v7:$supportLibraryVersion"
provided "com.android.support:appcompat-v7:$supportLibraryVersion"
provided "com.squareup.retrofit2:retrofit:$retrofitVersion"
//bug 1.7.0 https://github.com/facebook/fresco/issues/1991
//noinspection NewerVersionAvailable
provided 'com.facebook.fresco:fresco:1.5.0'
provided 'com.bluelinelabs:logansquare:1.3.7'
provided 'com.scottyab:aes-crypto:0.0.5'
// don't use latest(1.0 and above) because they don't support Socket.IO server 1.x version
//noinspection NewerVersionAvailable
provided('io.socket:socket.io-client:0.9.0') {
exclude group: 'org.json', module: 'json'
}
provided('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
transitive = true
}
provided 'com.facebook.stetho:stetho:1.5.0'
}