atom
This commit is contained in:
77
app_config.gradle
Normal file
77
app_config.gradle
Normal file
@@ -0,0 +1,77 @@
|
||||
ext {
|
||||
|
||||
// 测试环境 / 正式环境 (组件化环境 / 集成化环境)
|
||||
isRelease = true;
|
||||
|
||||
// 定义一个包名,用于存放APT生成的所有类文件
|
||||
packageNameForAPT = "com.fisherbone.fuzhu";
|
||||
|
||||
app_android = [
|
||||
compileSdkVersion : 29,
|
||||
buildToolsVersion : "29.0.3",
|
||||
applicationId : "com.fisherbone.fuzhu",
|
||||
minSdkVersion : 24,
|
||||
targetSdkVersion : 29,
|
||||
versionCode : 164,
|
||||
versionName : "1.6.4",
|
||||
testInstrumentationRunner: "androidx.test.runner.AndroidJUnitRunner"
|
||||
]
|
||||
|
||||
// order,personal,自己的包名
|
||||
// app_appid = [
|
||||
// "order": "com.fisherbone.fuzhu.order",
|
||||
// "personal": "com.fisherbone.fuzhu.personal"
|
||||
// ]
|
||||
app_appid = [
|
||||
app: "com.fisherbone.fuzhu",
|
||||
wechat: "com.derry.wechat",
|
||||
register: "com.derry.register"
|
||||
]
|
||||
|
||||
// 测试环境的服务器地址,和,正式环境服务器地址
|
||||
url = [
|
||||
"debug" : "http://139.186.151.48",
|
||||
"release": "http://139.186.151.48"
|
||||
]
|
||||
|
||||
|
||||
|
||||
// 定义依赖项,体现真实开发项目的过程
|
||||
app_dependencies = [
|
||||
"appcompat": 'androidx.appcompat:appcompat:1.1.0',
|
||||
"constraint": 'androidx.constraintlayout:constraintlayout:1.1.3',
|
||||
"okhttp3" : "com.squareup.okhttp3:okhttp:3.10.0",
|
||||
"retrofit" : "com.squareup.retrofit2:retrofit:2.5.0",
|
||||
"fastjson" : "com.alibaba:fastjson:1.2.58",
|
||||
"cardview" : "androidx.cardview:cardview:1.0.0",
|
||||
"annotation" : "androidx.annotation:annotation:1.1.0",
|
||||
"immersionbar" : "com.gyf.immersionbar:immersionbar:3.0.0",
|
||||
"components" : "com.gyf.immersionbar:immersionbar-components:3.0.0",
|
||||
"systembartint" : "com.readystatesoftware.systembartint:systembartint:1.0.4",
|
||||
"BaseRecyclerViewAdapterHelper" : "com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30",
|
||||
"recyclerview" : "androidx.recyclerview:recyclerview:1.0.0",
|
||||
"okgo" : "com.lzy.net:okgo:3.0.4",
|
||||
"okrx2" : "com.lzy.net:okrx2:2.0.2",
|
||||
"okserver" : "com.lzy.net:okserver:2.0.5",
|
||||
"ormlite-core" : "com.j256.ormlite:ormlite-core:5.1",
|
||||
"ormlite-android" : "com.j256.ormlite:ormlite-android:5.1",
|
||||
"rxandroid" : "io.reactivex.rxjava2:rxandroid:2.0.1",
|
||||
"butterknife" : "com.jakewharton:butterknife:8.0.1",
|
||||
"zxing:core" : "com.google.zxing:core:3.3.0",
|
||||
"easypermissions" : "pub.devrel:easypermissions:3.0.0",
|
||||
"rxpermissions" : "com.tbruyelle.rxpermissions2:rxpermissions:0.9.5@aar",
|
||||
"rxjava" : "io.reactivex.rxjava2:rxjava:2.0.1",
|
||||
"retrofit" : "com.squareup.retrofit2:retrofit:2.1.0",
|
||||
"retrofit2-rxjava2-adapter" : "com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0",
|
||||
"converter-gson" : "com.squareup.retrofit2:converter-gson:2.1.0",
|
||||
"MNPasswordEditText" : "com.github.maning0303:MNPasswordEditText:V1.0.3",
|
||||
"process-phoenix" : "com.jakewharton:process-phoenix:2.0.0",
|
||||
"live-event-bus-x" : "com.jeremyliao:live-event-bus-x:1.7.3",
|
||||
"rxbinding" : "com.jakewharton.rxbinding2:rxbinding:2.1.1",
|
||||
]
|
||||
// app_dependencies 下面的就不写了
|
||||
|
||||
// 作业:同学们自己去加
|
||||
// ...
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user