apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'com.getkeepsafe.dexcount'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 26
defaultConfig {
minSdkVersion 21
targetSdkVersion 26
versionCode 1
versionName "1.0"
flavorDimensions "default"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), '
proguard-rules.pro'
}
}
productFlavors {
prod {
}
staging {
}
}
}
repositories {
mavenCentral()
maven { url '
https://github.com/uPhyca/stetho-realm/raw/master/maven-repo' }
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/rxjava.properties'
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support
appcompat v726.1.0'
testImplementation 'junit
junit4.12'
androidTestImplementation 'com.android.support.test🏃1.0.1'
androidTestImplementation 'com.android.support.test.espresso
espresso core3.0.1'
implementation "org.jetbrains.kotlin
kotlin stdlib jre7$kotlin_version"
kapt "com.google.dagger
dagger compiler$daggerVersion"
provided 'org.glassfish
javax.annotation10.0-b28'
compile "com.google.dagger
dagger$daggerVersion"
annotationProcessor "com.google.dagger
dagger compiler$daggerVersion"
compile "io.reactivex
rxandroid$rxAndroidVersion"
compile "io.reactivex
rxkotlin$rxKotlinVersion"
compile "com.squareup.retrofit2
retrofit$retrofitVersion"
compile "com.squareup.retrofit2
adapter rxjava$retrofitVersion"
compile "com.squareup.retrofit2
converter gson$retrofitVersion"
compile "com.squareup.okhttp3
logging interceptor$okHttpVersion"
kapt "com.github.Raizlabs.DBFlow
dbflow processor$dbFlowVersion"
compile "com.github.Raizlabs.DBFlow
dbflow core$dbFlowVersion"
compile "com.github.Raizlabs.DBFlow
dbflow$dbFlowVersion"
compile "com.github.Raizlabs.DBFlow
dbflow kotlinextensions$dbFlowVersion@aar"
compile "com.github.Raizlabs.DBFlow
dbflow rx$dbFlowVersion"
compile "com.github.Raizlabs.DBFlow
dbflow rx kotlinextensions$dbFlowVersion"
// RXJava 2 support
compile "com.github.Raizlabs.DBFlow
dbflow rx2$dbFlowVersion"
// RXJava 2 Kotlin Extensions Support
compile "com.github.Raizlabs.DBFlow
dbflow rx2 kotlinextensions$dbFlowVersion"
}