mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
71 lines
3.2 KiB
Groovy
71 lines
3.2 KiB
Groovy
ext.versions = [
|
|
|
|
'minSdk' : 21,
|
|
'compileSdk' : 30,
|
|
'targetSdk' : 30,
|
|
'sourceCompat' : JavaVersion.VERSION_11,
|
|
'targetCompat' : JavaVersion.VERSION_11,
|
|
|
|
// Ref: https://kotlinlang.org/releases.html
|
|
'kotlin' : '1.5.30',
|
|
'kotlinCoroutines' : '1.5.1',
|
|
'dagger' : '2.38.1',
|
|
'timber' : '5.0.1',
|
|
'lifecycle' : '2.2.0',
|
|
'moshi' : '1.12.0',
|
|
'arch' : '2.1.0',
|
|
'markwon' : '4.6.2',
|
|
'arrow' : '0.8.2',
|
|
'rxKotlin' : '2.4.0',
|
|
'rxAndroid' : '2.1.1',
|
|
'retrofit' : '2.9.0',
|
|
'epoxy' : '4.6.2',
|
|
'glide' : '4.12.0',
|
|
'rxBinding' : '3.1.0',
|
|
'bigImageViwer' : '1.8.1',
|
|
'jjwt' : '0.11.2',
|
|
'kluent' : '1.68',
|
|
'androidxTest' : '1.4.0',
|
|
'espresso' : '3.4.0'
|
|
|
|
|
|
|
|
]
|
|
|
|
ext.libs = [
|
|
gradle : [
|
|
'gradlePlugin' : "com.android.tools.build:gradle:7.0.2",
|
|
'kotlinPlugin' : "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
|
|
],
|
|
jetbrains : [
|
|
'kotlinStdlib' : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}",
|
|
'coroutinesCore' : "org.jetbrains.kotlinx:kotlinx-coroutines-core:${versions.kotlinCoroutines}",
|
|
'coroutinesAndroid' : "org.jetbrains.kotlinx:kotlinx-coroutines-android:${versions.kotlinCoroutines}",
|
|
'coroutinesRx2' : "org.jetbrains.kotlinx:kotlinx-coroutines-rx2:${versions.kotlinCoroutines}"
|
|
],
|
|
androidx : [
|
|
'appCompat' : "androidx.appcompat:appcompat:1.3.1",
|
|
'core' : "androidx.core:core-ktx:1.6.0",
|
|
'recyclerview' : "androidx.recyclerview:recyclerview:1.2.1",
|
|
'exifinterface' : "androidx.exifinterface:exifinterface:1.3.3",
|
|
'fragmentKtx' : "androidx.fragment:fragment-ktx:1.3.6",
|
|
'constraintLayout' : "androidx.constraintlayout:constraintlayout:2.1.0",
|
|
'work' : "androidx.work:work-runtime-ktx:2.5.0",
|
|
'autoFill' : "androidx.autofill:autofill:1.1.0",
|
|
'junit' : "androidx.test.ext:junit:1.1.3"
|
|
],
|
|
dagger : [
|
|
'dagger' : "com.google.dagger:dagger:${versions.dagger}",
|
|
'daggerCompiler' : "com.google.dagger:dagger-compiler:${versions.dagger}"
|
|
],
|
|
rx : [
|
|
'rxKotlin' : "io.reactivex.rxjava2:rxkotlin:${versions.rxKotlin}",
|
|
'rxAndroid' : "io.reactivex.rxjava2:rxandroid:${versions.rxAndroid}"
|
|
],
|
|
jakewharton : [
|
|
'timber' : "com.jakewharton.timber:timber:${versions.timber}"
|
|
],
|
|
tests : [
|
|
'junit' : "junit:junit:4.13.2"
|
|
]
|
|
] |