cryptomator-android/buildsystem/dependencies.gradle

181 lines
7.9 KiB
Groovy
Raw Normal View History

2020-12-21 15:52:03 +01:00
allprojects {
2021-01-20 11:01:00 +01:00
repositories {
2021-07-13 18:56:22 +02:00
mavenCentral()
maven { url 'https://jitpack.io' }
// needed for 'com.microsoft.device.display' required by 'com.microsoft.graph:microsoft-graph'
exclusiveContent {
forRepository {
maven {
url 'https://pkgs.dev.azure.com/MicrosoftDeviceSDK/DuoSDK-Public/_packaging/Duo-SDK-Feed/maven/v1'
name 'Duo-SDK-Feed'
}
}
filter {
// this repository *only* contains artifacts with group "com.microsoft.device.display"
includeGroup "com.microsoft.device.display"
}
}
2021-01-20 11:01:00 +01:00
}
2020-12-21 15:52:03 +01:00
}
ext {
2022-01-26 10:32:55 +01:00
androidBuildToolsVersion = "30.0.3"
androidMinSdkVersion = 26
2022-05-09 15:31:03 +02:00
androidTargetSdkVersion = 31
androidCompileSdkVersion = 31
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-09-22 11:55:27 +02:00
androidSupportAppcompatVersion = '1.3.1'
2021-07-06 12:00:29 +02:00
androidSupportDesignVersion = '1.4.0'
2020-12-21 15:52:03 +01:00
2021-07-06 12:00:29 +02:00
coreDesugaringVersion = '1.1.5'
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
2022-05-10 12:13:39 +02:00
daggerVersion = '2.42'
2020-12-21 15:52:03 +01:00
2022-02-15 09:49:06 +01:00
gsonVersion = '2.9.0'
2020-12-21 15:52:03 +01:00
2022-02-12 23:13:40 +01:00
okHttpVersion = '4.9.3'
2022-05-09 15:58:46 +02:00
okHttpDigestVersion = '2.7'
2020-12-21 15:52:03 +01:00
2021-07-13 18:56:22 +02:00
velocityVersion = '2.3'
2020-12-21 15:52:03 +01:00
2021-08-25 17:49:07 +02:00
timberVersion = '5.0.1'
2020-12-21 15:52:03 +01:00
2022-05-03 11:11:33 +02:00
zxcvbnVersion = '1.7.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-07-13 18:56:22 +02:00
lruFileCacheVersion = '1.2'
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
2021-08-25 17:49:07 +02:00
cryptolibVersion = '2.0.2'
2020-12-21 15:52:03 +01:00
2022-04-11 14:52:13 +02:00
dropboxVersion = '5.2.0'
2020-12-21 15:52:03 +01:00
2022-02-12 23:13:40 +01:00
googleApiServicesVersion = 'v3-rev20220110-1.32.1'
2021-09-22 11:55:27 +02:00
googlePlayServicesVersion = '19.2.0'
2022-05-10 12:13:39 +02:00
googleClientVersion = '1.34.1' // keep in sync with https://github.com/SailReal/google-http-java-client
/*
update using https://github.com/SailReal/google-http-java-client with `mvn clean install`,
copying `google-http-client-*.jar` and `google-http-client-android-*.jar` into the lib folder of this project
*/
2022-05-10 12:13:39 +02:00
trackingFreeGoogleCLientVersion = '1.41.8'
2020-12-21 15:52:03 +01:00
2022-05-09 15:58:46 +02:00
msgraphVersion = '5.23.0'
2022-03-29 18:06:49 +02:00
msgraphAuthVersion = '3.0.2'
2020-12-21 15:52:03 +01:00
2022-05-09 15:58:46 +02:00
minIoVersion = '8.4.0'
staxVersion = '1.2.0' // needed for minIO
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-11-29 17:29:58 +01:00
jUnitVersion = '5.8.2'
2021-01-20 11:01:00 +01:00
assertJVersion = '1.7.1'
2022-05-03 11:11:33 +02:00
mockitoVersion = '4.5.1'
2021-10-28 21:07:56 +02:00
mockitoKotlinVersion = '4.0.0'
2021-01-20 11:01:00 +01:00
hamcrestVersion = '1.3'
dexmakerVersion = '1.0'
2021-07-06 12:00:29 +02:00
espressoVersion = '3.4.0'
2021-01-20 11:01:00 +01:00
testingSupportLibVersion = '0.1'
2021-07-06 12:00:29 +02:00
runnerVersion = '1.4.0'
rulesVersion = '1.4.0'
contributionVersion = '3.4.0'
2021-01-20 11:01:00 +01:00
uiautomatorVersion = '2.2.0'
2021-07-06 12:00:29 +02:00
androidxCoreVersion = '1.6.0'
2021-09-22 11:55:27 +02:00
androidxFragmentVersion = '1.3.6'
2021-01-20 11:01:00 +01:00
androidxViewpagerVersion = '1.0.0'
androidxSwiperefreshVersion = '1.1.0'
2021-05-05 15:06:41 +02:00
androidxPreferenceVersion = '1.1.1'
2021-07-06 12:00:29 +02:00
androidxRecyclerViewVersion = '1.2.1'
2021-01-20 11:01:00 +01:00
androidxDocumentfileVersion = '1.0.1'
2021-02-03 16:16:52 +01:00
androidxBiometricVersion = '1.1.0'
2021-07-06 12:00:29 +02:00
androidxTestCoreVersion = '1.4.0'
2020-12-21 15:52:03 +01:00
2022-05-03 11:11:33 +02:00
jsonWebTokenApiVersion = '0.11.5'
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}",
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}",
coreDesugaring : "com.android.tools:desugar_jdk_libs:${coreDesugaringVersion}",
2021-01-20 11:01:00 +01:00
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}",
trackingFreeGoogleCLient : files("lib/google-http-client-${trackingFreeGoogleCLientVersion}.jar"),
trackingFreeGoogleAndroidCLient: files("lib/google-http-client-android-${trackingFreeGoogleCLientVersion}.jar"),
2021-01-20 11:01:00 +01:00
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}",
junit4Engine : "org.junit.vintage:junit-vintage-engine:${jUnitVersion}",
minIo : "io.minio:minio:${minIoVersion}",
2021-01-20 11:01:00 +01:00
mockito : "org.mockito:mockito-core:${mockitoVersion}",
2021-07-05 17:45:51 +02:00
mockitoInline : "org.mockito:mockito-inline:${mockitoVersion}",
mockitoKotlin : "org.mockito.kotlin:mockito-kotlin:${mockitoKotlinVersion}",
msgraph : "com.microsoft.graph:microsoft-graph:${msgraphVersion}",
msgraphAuth : "com.microsoft.identity.client:msal:${msgraphAuthVersion}",
2021-01-20 11:01:00 +01:00
multidex : "androidx.multidex:multidex:${multidexVersion}",
okHttp : "com.squareup.okhttp3:okhttp:${okHttpVersion}",
2021-07-13 18:56:22 +02:00
okHttpDigest : "io.github.rburgst: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}",
stax : "stax:stax:${staxVersion}",
2021-01-20 11:01:00 +01:00
testingSupportLib : "com.android.support.test:testing-support-lib:${testingSupportLibVersion}",
timber : "com.jakewharton.timber:timber:${timberVersion}",
2021-07-13 18:56:22 +02:00
velocity : "org.apache.velocity:velocity-engine-core:${velocityVersion}",
2021-01-20 11:01:00 +01:00
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}",
2021-07-13 18:56:22 +02:00
lruFileCache : "com.github.solkin:disk-lru-cache:${lruFileCacheVersion}",
2021-01-20 11:01:00 +01:00
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
}