68 lines
1.9 KiB
Groovy
68 lines
1.9 KiB
Groovy
ext {
|
|
compiler = [
|
|
java : JavaVersion.VERSION_17,
|
|
kotlin: '1.9.0'
|
|
]
|
|
|
|
android = [
|
|
buildTools: '30.0.3',
|
|
minSdk : 21,
|
|
targetSdk : 33,
|
|
compileSdk: 34
|
|
]
|
|
|
|
androidXCoreVersion = '1.7.0'
|
|
timberVersion = '4.7.1'
|
|
roomVersion = '2.6.1'
|
|
gsonVersion = '2.8.5'
|
|
|
|
retrofitVersion = '2.7.1'
|
|
okhttpVersion = '4.12.0'
|
|
preferenceVersion = '1.2.0'
|
|
processVersion = '2.4.0'
|
|
workVersion = '2.9.0'
|
|
cronetOkhttpVersion = '0.1.0'
|
|
playServicesCronetVersion = '18.0.1'
|
|
|
|
kaptDependencies = [
|
|
"androidx.room:room-compiler:$roomVersion",
|
|
]
|
|
|
|
basicDependencies = [
|
|
"androidx.core:core:$androidXCoreVersion",
|
|
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:${compiler.kotlin}",
|
|
"com.jakewharton.timber:timber:$timberVersion",
|
|
"com.google.code.gson:gson:$gsonVersion",
|
|
]
|
|
|
|
roomDependencies = [
|
|
"androidx.room:room-runtime:$roomVersion",
|
|
"androidx.room:room-rxjava2:$roomVersion"
|
|
]
|
|
|
|
retrofitDependencies = [
|
|
"com.squareup.retrofit2:retrofit:$retrofitVersion",
|
|
"com.squareup.retrofit2:converter-gson:$retrofitVersion",
|
|
"com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion"
|
|
]
|
|
|
|
okhttpDependencies = [
|
|
"com.squareup.okhttp3:okhttp:$okhttpVersion",
|
|
"com.squareup.okhttp3:okhttp-dnsoverhttps:$okhttpVersion"
|
|
]
|
|
|
|
workerDependencies = [
|
|
"androidx.work:work-runtime:$workVersion",
|
|
"androidx.work:work-runtime-ktx:$workVersion",
|
|
"androidx.work:work-rxjava2:$workVersion"
|
|
]
|
|
|
|
processDependencies = [
|
|
"androidx.lifecycle:lifecycle-process:$processVersion"
|
|
]
|
|
|
|
cronetDependencies = [
|
|
"com.google.net.cronet:cronet-okhttp:$cronetOkhttpVersion",
|
|
"com.google.android.gms:play-services-cronet:$playServicesCronetVersion"
|
|
]
|
|
} |