| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 27
- buildToolsVersion "27.0.2"
- defaultConfig {
- minSdkVersion 18
- targetSdkVersion 27
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- javaCompileOptions {
- annotationProcessorOptions {
- arguments = [AROUTER_MODULE_NAME: project.getName()]
- }
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- }
- dependencies {
- compile fileTree(dir: 'libs', include: ['*.jar'])
- compile 'com.android.support:appcompat-v7:27.1.0'
- testCompile 'junit:junit:4.12'
- androidTestCompile('com.android.support.test.espresso:espresso-core:3.0.2', {
- exclude group: 'com.android.support', module: 'support-annotations'
- })
- compile project(':common')
- /* 模块路由 */
- compile 'com.alibaba:arouter-api:1.4.0'
- annotationProcessor 'com.alibaba:arouter-compiler:1.2.1'
- /* 视图注入 */
- compile 'com.jakewharton:butterknife:8.8.1'
- annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
- }
|