You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.5 KiB
46 lines
1.5 KiB
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
buildToolsVersion '28.0.3'
|
|
|
|
defaultConfig {
|
|
minSdkVersion 14
|
|
targetSdkVersion 26
|
|
versionCode 2
|
|
versionName "1.1.0"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api fileTree(dir: 'libs', include: ['*.jar'])
|
|
testImplementation 'junit:junit:4.12'
|
|
api 'com.android.support:appcompat-v7:28.0.0'
|
|
|
|
//RxAndroid
|
|
api 'io.reactivex.rxjava2:rxandroid:2.1.0'
|
|
api 'io.reactivex.rxjava2:rxjava:2.2.5'
|
|
|
|
//Rxlifecycle
|
|
api 'com.trello.rxlifecycle2:rxlifecycle:2.0.1'
|
|
api 'com.trello.rxlifecycle2:rxlifecycle-android:2.0.1' // If you want to bind to Android-specific lifecycles
|
|
api 'com.trello.rxlifecycle2:rxlifecycle-components:2.0.1' // If you want pre-written Activities and Fragments you can subclass as providers
|
|
api 'com.trello.rxlifecycle2:rxlifecycle-navi:2.0.1' // If you want to use Navi for providers
|
|
api 'com.trello.rxlifecycle2:rxlifecycle-kotlin:2.0.1' // If you want to use Kotlin syntax
|
|
|
|
//Retrofit
|
|
api 'com.squareup.retrofit2:retrofit:2.2.0'
|
|
api 'com.squareup.retrofit2:adapter-rxjava2:2.2.0'
|
|
api 'com.squareup.retrofit2:converter-scalars:2.2.0'
|
|
|
|
//RxBus
|
|
api ('com.hwangjr.rxbus:rxbus:2.0.0-beta') {
|
|
exclude group: 'com.jakewharton.timber', module: 'timber'
|
|
}
|
|
} |