cryptomator-android/buildsystem/dependencies.gradle

156 lines
6.7 KiB
Groovy
Raw Normal View History

2020-12-21 15:52:03 +01:00
allprojects {
2021-01-20 11:01:00 +01:00
repositories {
jcenter()
}
2020-12-21 15:52:03 +01:00
}
ext {
2021-01-20 11:01:00 +01:00
androidBuildToolsVersion = "29.0.2"
2021-04-07 16:46:24 +02:00
androidMinSdkVersion = 24
2021-01-20 11:01:00 +01:00
androidTargetSdkVersion = 29
androidCompileSdkVersion = 29
2020-12-21 15:52:03 +01:00
2021-01-20 11:01:00 +01:00
// android and java libs
androidVersion = '4.1.1.4'
multidexVersion = '2.0.1'
javaxAnnotationVersion = '1.0'
2020-12-21 15:52:03 +01:00
2021-01-20 11:01:00 +01:00
// support lib
2021-03-30 14:47:05 +02:00
androidSupportAnnotationsVersion = '1.2.0'
2021-01-20 11:01:00 +01:00
androidSupportAppcompatVersion = '1.2.0'
2021-02-15 12:19:25 +01:00
androidSupportDesignVersion = '1.3.0'
2020-12-21 15:52:03 +01:00
2021-01-20 11:01:00 +01:00
// app frameworks and utilities
2020-12-21 15:52:03 +01:00
2021-02-15 12:19:25 +01:00
rxJavaVersion = '2.2.21'
2021-01-20 11:01:00 +01:00
rxAndroidVersion = '2.1.1'
rxBindingVersion = '2.2.0'
2020-12-21 15:52:03 +01:00
2021-04-26 15:31:33 +02:00
daggerVersion = '2.35'
2020-12-21 15:52:03 +01:00
2021-01-20 11:01:00 +01:00
gsonVersion = '2.8.6'
2020-12-21 15:52:03 +01:00
2021-01-31 17:22:56 +01:00
okHttpVersion = '4.9.1'
2021-01-20 11:01:00 +01:00
okHttpDigestVersion = '2.5'
2020-12-21 15:52:03 +01:00
2021-01-20 11:01:00 +01:00
velocityVersion = '1.7'
2020-12-21 15:52:03 +01:00
2021-01-20 11:01:00 +01:00
timberVersion = '4.7.1'
2020-12-21 15:52:03 +01:00
2021-04-26 15:31:33 +02:00
zxcvbnVersion = '1.5.0'
2020-12-21 15:52:03 +01:00
2021-01-20 11:01:00 +01:00
scaleImageViewVersion = '3.10.0'
2020-12-21 15:52:03 +01:00
2021-01-20 11:01:00 +01:00
lruFileCacheVersion = '1.0'
2020-12-21 15:52:03 +01:00
2021-01-20 11:01:00 +01:00
// KEEP IN SYNC WITH GENERATOR VERSION IN root build.gradle
greenDaoVersion = '3.3.0'
2020-12-21 15:52:03 +01:00
2021-01-20 11:01:00 +01:00
// cloud provider libs
2020-12-21 15:52:03 +01:00
// do not update to 1.4.0 until minsdk is 7.x (or desugaring works better) otherwise it will crash on 6.x
2021-04-07 16:46:24 +02:00
cryptolibVersion = '2.0.0-beta6'
2020-12-21 15:52:03 +01:00
2021-04-30 10:05:58 +02:00
awsAndroidSdkS3 = '2.23.0'
2021-03-30 14:47:05 +02:00
dropboxVersion = '4.0.0'
2020-12-21 15:52:03 +01:00
2021-01-20 11:01:00 +01:00
googleApiServicesVersion = 'v3-rev197-1.25.0'
googlePlayServicesVersion = '19.0.0'
2021-04-12 16:18:33 +02:00
googleClientVersion = '1.31.4'
2020-12-21 15:52:03 +01:00
2021-03-19 14:20:12 +01:00
msgraphVersion = '2.10.0'
2020-12-21 15:52:03 +01:00
2021-01-20 11:01:00 +01:00
commonsCodecVersion = '1.15'
2020-12-21 15:52:03 +01:00
recyclerViewFastScrollVersion = '2.0.1'
2021-01-20 11:01:00 +01:00
// testing dependencies
2020-12-21 15:52:03 +01:00
2021-02-10 12:44:06 +01:00
jUnitVersion = '5.7.1'
2020-12-21 15:52:03 +01:00
jUnit4Version = '4.13.1'
2021-01-20 11:01:00 +01:00
assertJVersion = '1.7.1'
2021-04-08 20:02:44 +02:00
mockitoVersion = '3.9.0'
2021-04-12 16:18:33 +02:00
mockitoInlineVersion = '3.9.0'
2021-01-20 11:01:00 +01:00
hamcrestVersion = '1.3'
dexmakerVersion = '1.0'
espressoVersion = '3.3.0'
testingSupportLibVersion = '0.1'
runnerVersion = '1.3.0'
rulesVersion = '1.3.0'
contributionVersion = '3.3.0'
uiautomatorVersion = '2.2.0'
androidxCoreVersion = '1.3.2'
2021-03-26 11:40:12 +01:00
androidxFragmentVersion = '1.3.2'
2021-01-20 11:01:00 +01:00
androidxViewpagerVersion = '1.0.0'
androidxSwiperefreshVersion = '1.1.0'
androidxPreferenceVersion = '1.0.0' // 1.1.0 and 1.1.2 does have a bug with the text size
2021-04-12 16:18:33 +02:00
androidxRecyclerViewVersion = '1.2.0'
2021-01-20 11:01:00 +01:00
androidxDocumentfileVersion = '1.0.1'
2021-02-03 16:16:52 +01:00
androidxBiometricVersion = '1.1.0'
2020-12-21 15:52:03 +01:00
androidxTestCoreVersion = '1.3.0'
2021-01-20 11:01:00 +01:00
jsonWebTokenApiVersion = '0.11.2'
2020-12-21 15:52:03 +01:00
2021-01-20 11:01:00 +01:00
dependencies = [
android : "com.google.android:android:${androidVersion}",
androidAnnotations : "androidx.annotation:annotation:${androidSupportAnnotationsVersion}",
appcompat : "androidx.appcompat:appcompat:${androidSupportAppcompatVersion}",
androidxBiometric : "androidx.biometric:biometric:${androidxBiometricVersion}",
2020-12-21 15:52:03 +01:00
androidxCore : "androidx.core:core-ktx:${androidxCoreVersion}",
2021-01-20 11:01:00 +01:00
androidxFragment : "androidx.fragment:fragment-ktx:${androidxFragmentVersion}",
androidxViewpager : "androidx.viewpager:viewpager:${androidxViewpagerVersion}",
androidxSwiperefresh : "androidx.swiperefreshlayout:swiperefreshlayout:${androidxSwiperefreshVersion}",
androidxPreference : "androidx.preference:preference:${androidxPreferenceVersion}",
awsAndroidS3 : "com.amazonaws:aws-android-sdk-s3:${awsAndroidSdkS3}",
2021-01-20 11:01:00 +01:00
documentFile : "androidx.documentfile:documentfile:${androidxDocumentfileVersion}",
recyclerView : "androidx.recyclerview:recyclerview:${androidxRecyclerViewVersion}",
2020-12-21 15:52:03 +01:00
androidxTestCore : "androidx.test:core:${androidxTestCoreVersion}",
2021-01-20 11:01:00 +01:00
commonsCodec : "commons-codec:commons-codec:${commonsCodecVersion}",
cryptolib : "org.cryptomator:cryptolib:${cryptolibVersion}",
dagger : "com.google.dagger:dagger:${daggerVersion}",
daggerCompiler : "com.google.dagger:dagger-compiler:${daggerVersion}",
design : "com.google.android.material:material:${androidSupportDesignVersion}",
dropbox : "com.dropbox.core:dropbox-core-sdk:${dropboxVersion}",
espresso : "androidx.test.espresso:espresso-core:${espressoVersion}",
googleApiClientAndroid: "com.google.api-client:google-api-client-android:${googleClientVersion}",
googleApiServicesDrive: "com.google.apis:google-api-services-drive:${googleApiServicesVersion}",
googlePlayServicesAuth: "com.google.android.gms:play-services-auth:${googlePlayServicesVersion}",
greenDao : "org.greenrobot:greendao:${greenDaoVersion}",
gson : "com.google.code.gson:gson:${gsonVersion}",
hamcrest : "org.hamcrest:hamcrest-all:${hamcrestVersion}",
javaxAnnotation : "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
junit : "org.junit.jupiter:junit-jupiter:${jUnitVersion}",
2020-12-21 15:52:03 +01:00
junitApi : "org.junit.jupiter:junit-jupiter-api:${jUnitVersion}",
junitEngine : "org.junit.jupiter:junit-jupiter-engine:${jUnitVersion}",
junitParams : "org.junit.jupiter:junit-jupiter-params:${jUnitVersion}",
junit4 : "org.junit.jupiter:junit-jupiter:${jUnit4Version}",
junit4Engine : "org.junit.vintage:junit-vintage-engine:${jUnitVersion}",
2021-01-20 11:01:00 +01:00
msgraph : "com.microsoft.graph:microsoft-graph:${msgraphVersion}",
mockito : "org.mockito:mockito-core:${mockitoVersion}",
2020-12-21 15:52:03 +01:00
mockitoInline : "org.mockito:mockito-inline:${mockitoInlineVersion}",
2021-01-20 11:01:00 +01:00
multidex : "androidx.multidex:multidex:${multidexVersion}",
okHttp : "com.squareup.okhttp3:okhttp:${okHttpVersion}",
okHttpDigest : "com.burgstaller:okhttp-digest:${okHttpDigestVersion}",
2020-12-21 15:52:03 +01:00
recyclerViewFastScroll: "com.simplecityapps:recyclerview-fastscroll:${recyclerViewFastScrollVersion}",
rxJava : "io.reactivex.rxjava2:rxjava:${rxJavaVersion}",
2021-01-20 11:01:00 +01:00
rxAndroid : "io.reactivex.rxjava2:rxandroid:${rxAndroidVersion}",
rxBinding : "com.jakewharton.rxbinding2:rxbinding:${rxBindingVersion}",
testingSupportLib : "com.android.support.test:testing-support-lib:${testingSupportLibVersion}",
timber : "com.jakewharton.timber:timber:${timberVersion}",
velocity : "org.apache.velocity:velocity:${velocityVersion}",
runner : "androidx.test:runner:${runnerVersion}",
rules : "androidx.test:rules:${rulesVersion}",
contribution : "androidx.test.espresso:espresso-contrib:${contributionVersion}",
uiAutomator : "androidx.test.uiautomator:uiautomator:${uiautomatorVersion}",
zxcvbn : "com.nulab-inc:zxcvbn:${zxcvbnVersion}",
scaleImageView : "com.davemorrissey.labs:subsampling-scale-image-view:${scaleImageViewVersion}",
lruFileCache : "com.tomclaw.cache:cache:${lruFileCacheVersion}",
jsonWebTokenApi : "io.jsonwebtoken:jjwt-api:${jsonWebTokenApiVersion}",
jsonWebTokenImpl : "io.jsonwebtoken:jjwt-impl:${jsonWebTokenApiVersion}",
jsonWebTokenJson : "io.jsonwebtoken:jjwt-orgjson:${jsonWebTokenApiVersion}"
]
2020-12-21 15:52:03 +01:00
}