apply plugin: 'com.android.library' apply plugin: 'com.jakewharton.butterknife' apply plugin: 'org.greenrobot.greendao' android { compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION) defaultConfig { minSdkVersion Integer.parseInt(project.ANDROID_BUILD_MIN_SDK_VERSION) targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION) versionCode Integer.parseInt(project.VERSION_CODE) versionName project.VERSION_NAME testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } // flavorDimensions "channel" buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } compileOptions { targetCompatibility 1.8 sourceCompatibility 1.8 } } repositories { flatDir { dirs project(':baselibrary').file('libs') } } ext { supportLibraryVersion = project.ANDROID_SUPPORT_LIBRARY_VERSION } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) api project(':baselibrary') implementation 'com.nineoldandroids:library:2.4.0' testImplementation 'junit:junit:4.12' annotationProcessor 'com.jakewharton:butterknife-compiler:9.0.0' implementation 'com.jakewharton:butterknife:9.0.0' annotationProcessor 'com.google.dagger:dagger-compiler:2.10' }