mirror of
https://github.com/yexuejc/rrxjava.git
synced 2025-06-07 21:54:03 +08:00
41 lines
1.4 KiB
Groovy
41 lines
1.4 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'com.neenbedankt.android-apt'
|
|
apply plugin: 'com.jakewharton.butterknife'
|
|
|
|
android {
|
|
compileSdkVersion 26
|
|
buildToolsVersion "26.0.0"
|
|
defaultConfig {
|
|
applicationId "com.yexue.android.rrxjava"
|
|
minSdkVersion 15
|
|
targetSdkVersion 26
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
|
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
})
|
|
//下面两个即为引入的依赖
|
|
compile 'com.android.support:appcompat-v7:26.+'
|
|
compile 'com.android.support.constraint:constraint-layout:1.0.2'
|
|
compile 'io.reactivex:rxjava:1.0.9'
|
|
compile 'io.reactivex:rxandroid:0.24.0'
|
|
compile 'com.android.support:design:26.+'
|
|
testCompile 'junit:junit:4.12'
|
|
//Butter Knife注解
|
|
compile 'com.jakewharton:butterknife:8.5.1'
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
|
|
apt 'com.jakewharton:butterknife-compiler:8.5.1'
|
|
}
|