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.

51 lines
1.5 KiB

apply plugin: 'com.android.application'
android {
compileSdkVersion 31
buildToolsVersion "30.0.2"
defaultConfig {
applicationId "ee.example.activity_fragmenttabhost"
minSdkVersion 16
targetSdkVersion 31
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
implementation 'com.youth.banner:banner:1.4.10' //图片轮播最新版本
//图片轮播框架
implementation 'com.github.bumptech.glide:glide:4.11.0'
//recyclerview
implementation 'androidx.recyclerview:recyclerview:1.1.0'
//viewpager2
implementation 'androidx.viewpager2:viewpager2:1.1.0-alpha01'
implementation 'com.qmuiteam:qmui:1.1.2'
implementation 'com.android.support:recyclerview-v7:30.0.0'
}