apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' android { compileSdkVersion 27 buildToolsVersion '28.0.3' defaultConfig { applicationId "com.example.zhpan.circleviewpager" minSdkVersion 19 targetSdkVersion 26 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } sourceSets { main { jniLibs.srcDirs = ['libs'] } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } repositories { flatDir { dirs 'libs' } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'com.android.support.constraint:constraint-layout:1.1.3' androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) implementation "com.android.support:appcompat-v7:${rootProject.supportLibVersion}" implementation "com.android.support:recyclerview-v7:${rootProject.supportLibVersion}" testImplementation 'junit:junit:4.12' implementation 'com.github.bumptech.glide:glide:4.9.0' implementation 'com.github.chrisbanes:PhotoView:2.1.0' // implementation 'com.github.zhpanvip:BannerViewPager:2.5.0' implementation project(path: ':bannerview') implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0' implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0' debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.0-beta-2' implementation project(path: ':ideahttp') // implementation ('com.jakewharton:butterknife:9.0.0') { // exclude module: 'appcompat-v7' // } // annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0' // implementation 'androidx.core:core-ktx:1.1.0' }