1 Star 0 Fork 0

姚东山/video2110a

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
library.gradle 2.73 KB
一键复制 编辑 原始数据 按行查看 历史
姚东山 提交于 2024-08-11 21:19 . 3
apply plugin: 'com.android.library'
apply plugin: 'org.jetbrains.kotlin.android'
apply plugin: 'kotlin-kapt'
android {
namespace 'com.bw.video2110'
compileSdk 34
buildFeatures{
viewBinding true
dataBinding true
}
defaultConfig {
minSdk 24
targetSdk 34
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_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
}
dependencies {
// retrofit
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.5.0'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
// okhttp
implementation 'com.squareup.okhttp3:okhttp:3.12.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.9.1'
//glide
implementation 'com.github.bumptech.glide:glide:4.15.1'
// 通用工具类
implementation 'com.blankj:utilcodex:1.31.1'
// //Room数据库
// def room_version = "2.5.0"
// implementation "androidx.room:room-runtime:$room_version"
// kapt "androidx.room:room-compiler:$room_version" //kapt 这种依赖的都是一个注解
// implementation "androidx.room:room-rxjava2:$room_version"
// Navigation
def nav_version = "2.5.3"
implementation("androidx.navigation:navigation-fragment-ktx:$nav_version")
implementation("androidx.navigation:navigation-ui-ktx:$nav_version")
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.0'
// Banner
implementation 'com.youth.banner:banner:1.4.10'
//下拉刷新和加载更多
implementation 'io.github.scwang90:refresh-layout-kernel:2.0.5' //核心必须依赖
implementation 'io.github.scwang90:refresh-header-classics:2.0.5' //经典刷新头
implementation 'io.github.scwang90:refresh-footer-classics:2.0.5' //经典加载
implementation 'com.shuyu:GSYVideoPlayer:7.1.2'//视频
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yaodongshan/video2110a.git
git@gitee.com:yaodongshan/video2110a.git
yaodongshan
video2110a
video2110a
master

搜索帮助