android_artprofessor/config.gradle
2025-07-31 16:36:28 +08:00

57 lines
3.5 KiB
Groovy

/**
引用步骤:
(1) 在 project 下的 build.gradle 文件第一行添加 apply from : "config.gradle"
(2) 在各个 module 中用 implemetions rootProject.ext.dependencies['xxx'] 和 annotationProcessor rootProject.ext..dependencies['xxx']
**/
ext {
android = [
applicationId : 'cn.artprofessor.cellsysart',
compileSdkVersion: 32,
buildToolsVersion: "28.0.3",
minSdkVersion : 24,
targetSdkVersion : 30,
versionCode : 7,
versionName : "1.2.0"
]
dependencies = [
// support
"appcompat-v7" : "com.android.support:appcompat-v7:28.0.0",
"design" : "com.android.support:design:28.0.0",
"support-v4" : "com.android.support:support-v4:28.0.0",
"cardview-v7" : "com.android.support:cardview-v7:28.0.0",
"annotations" : "com.android.support:support-annotations:28.0.0",
"recyclerview-v7" : "com.android.support:recyclerview-v7:28.0.0",
"gson" : "com.google.code.gson:gson:2.2.4",
"butterknife" : "com.jakewharton:butterknife:10.2.3",
"butterknife-compiler" : "com.jakewharton:butterknife-compiler:10.2.3",
"constraint-layout" : "com.android.support.constraint:constraint-layout:1.1.3",
"retrofit" : "com.squareup.retrofit2:retrofit:2.4.0",
"rxandroid" : "io.reactivex.rxjava3:rxandroid:3.0.0",
"rxjava" : "io.reactivex.rxjava3:rxjava:3.0.0",
"converter-gson" : "com.squareup.retrofit2:converter-gson:2.4.0",
"adapter-rxjava" : "com.squareup.retrofit2:adapter-rxjava2:2.4.0",
// "okhttp" : "com.squareup.okhttp3:okhttp:3.11.0",
"okhttp" : "com.squareup.okhttp3:okhttp:3.14.9",
"logging-interceptor" : "com.squareup.okhttp3:logging-interceptor:3.11.0",
"arouter-api" : "com.alibaba:arouter-api:1.4.1",
"arouter-compiler" : "com.alibaba:arouter-compiler:1.2.2",
// "fastjson" : "com.alibaba:fastjson:1.1.70.android",
"fastjson" : "com.alibaba:fastjson:1.2.47",
"glide" : "com.github.bumptech.glide:glide:4.9.0",
"glide-compiler" : "com.github.bumptech.glide:compiler:4.9.0",
"recycler-adapter-helper": "com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30",
"banner" : "com.youth.banner:banner:1.4.10",
"greendao" : "org.greenrobot:greendao:3.2.2",
"retrofit-cookie" : "com.github.franmontiel:PersistentCookieJar:v1.0.1",
"smart-refreshlayout" : "com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-21",
"photoview" : "com.github.chrisbanes:PhotoView:2.0.0",
"andpermission" : "com.yanzhenjie.permission:support:2.0.1",
"eventbus" : "org.greenrobot:eventbus:3.1.1",
"aspectj" : "org.aspectj:aspectjrt:1.8.9",
"materialedittext" : "com.rengwuxian.materialedittext:library:2.1.4",
"photoView" : "com.github.chrisbanes:PhotoView:2.1.3",
"permissionx" : 'com.guolindev.permissionx:permissionx:1.7.1',
"bleBeacon" : 'com.airkoon.android:bleBeacon:1.1.0',
]
}