Reformat code

[ci skip]
This commit is contained in:
Julian Raufelder 2021-01-20 11:01:00 +01:00
parent 9f5b2c44dd
commit e68c22d0f3
No known key found for this signature in database
GPG Key ID: 17EE71F6634E381D

View File

@ -1,154 +1,155 @@
allprojects { allprojects {
repositories { repositories {
jcenter() jcenter()
} }
} }
ext { ext {
androidBuildToolsVersion = "29.0.2" androidBuildToolsVersion = "29.0.2"
androidMinSdkVersion = 23 androidMinSdkVersion = 23
androidTargetSdkVersion = 29 androidTargetSdkVersion = 29
androidCompileSdkVersion = 29 androidCompileSdkVersion = 29
// android and java libs // android and java libs
androidVersion = '4.1.1.4' androidVersion = '4.1.1.4'
multidexVersion = '2.0.1' multidexVersion = '2.0.1'
javaxAnnotationVersion = '1.0' javaxAnnotationVersion = '1.0'
// support lib // support lib
androidSupportAnnotationsVersion = '1.1.0' androidSupportAnnotationsVersion = '1.1.0'
androidSupportAppcompatVersion = '1.2.0' // check https://stackoverflow.com/questions/41025200/android-view-inflateexception-error-inflating-class-android-webkit-webview/57968071#57968071 !!!!!! androidSupportAppcompatVersion = '1.2.0'
androidSupportDesignVersion = '1.2.1' // check https://stackoverflow.com/questions/41025200/android-view-inflateexception-error-inflating-class-android-webkit-webview/57968071#57968071 !!!!!!
androidSupportDesignVersion = '1.2.1'
// app frameworks and utilities // app frameworks and utilities
rxJavaVersion = '2.2.20' rxJavaVersion = '2.2.20'
rxAndroidVersion = '2.1.1' rxAndroidVersion = '2.1.1'
rxBindingVersion = '2.2.0' rxBindingVersion = '2.2.0'
daggerVersion = '2.30.1' daggerVersion = '2.30.1'
gsonVersion = '2.8.6' gsonVersion = '2.8.6'
okHttpVersion = '4.9.0' okHttpVersion = '4.9.0'
okHttpDigestVersion = '2.5' okHttpDigestVersion = '2.5'
velocityVersion = '1.7' velocityVersion = '1.7'
timberVersion = '4.7.1' timberVersion = '4.7.1'
zxcvbnVersion = '1.3.1' zxcvbnVersion = '1.3.1'
scaleImageViewVersion = '3.10.0' scaleImageViewVersion = '3.10.0'
lruFileCacheVersion = '1.0' lruFileCacheVersion = '1.0'
// KEEP IN SYNC WITH GENERATOR VERSION IN root build.gradle // KEEP IN SYNC WITH GENERATOR VERSION IN root build.gradle
greenDaoVersion = '3.3.0' greenDaoVersion = '3.3.0'
// cloud provider libs // cloud provider libs
// do not update to 1.4.0 until dropping minsdk 4.x // do not update to 1.4.0 until dropping minsdk 4.x
cryptolibVersion = '1.3.0' cryptolibVersion = '1.3.0'
dropboxVersion = '3.1.5' dropboxVersion = '3.1.5'
googleApiServicesVersion = 'v3-rev197-1.25.0' googleApiServicesVersion = 'v3-rev197-1.25.0'
googlePlayServicesVersion = '19.0.0' googlePlayServicesVersion = '19.0.0'
googleClientVersion = '1.31.1' googleClientVersion = '1.31.1'
msgraphVersion = '2.5.0' msgraphVersion = '2.5.0'
msaAuthVersion = '0.10.0' msaAuthVersion = '0.10.0'
commonsCodecVersion = '1.15' commonsCodecVersion = '1.15'
recyclerViewFastScrollVersion = '2.0.1' recyclerViewFastScrollVersion = '2.0.1'
// testing dependencies // testing dependencies
jUnitVersion = '5.7.0' jUnitVersion = '5.7.0'
jUnit4Version = '4.13.1' jUnit4Version = '4.13.1'
assertJVersion = '1.7.1' assertJVersion = '1.7.1'
mockitoVersion = '3.6.28' mockitoVersion = '3.6.28'
mockitoInlineVersion = '3.6.28' mockitoInlineVersion = '3.6.28'
hamcrestVersion = '1.3' hamcrestVersion = '1.3'
dexmakerVersion = '1.0' dexmakerVersion = '1.0'
espressoVersion = '3.3.0' espressoVersion = '3.3.0'
testingSupportLibVersion = '0.1' testingSupportLibVersion = '0.1'
runnerVersion = '1.3.0' runnerVersion = '1.3.0'
rulesVersion = '1.3.0' rulesVersion = '1.3.0'
contributionVersion = '3.3.0' contributionVersion = '3.3.0'
uiautomatorVersion = '2.2.0' uiautomatorVersion = '2.2.0'
androidxCoreVersion = '1.3.2' androidxCoreVersion = '1.3.2'
androidxFragmentVersion = '1.2.5' androidxFragmentVersion = '1.2.5'
androidxViewpagerVersion = '1.0.0' androidxViewpagerVersion = '1.0.0'
androidxSwiperefreshVersion = '1.1.0' androidxSwiperefreshVersion = '1.1.0'
androidxPreferenceVersion = '1.0.0' // 1.1.0 and 1.1.2 does have a bug with the text size androidxPreferenceVersion = '1.0.0' // 1.1.0 and 1.1.2 does have a bug with the text size
androidxRecyclerViewVersion = '1.1.0' androidxRecyclerViewVersion = '1.1.0'
androidxDocumentfileVersion = '1.0.1' androidxDocumentfileVersion = '1.0.1'
androidxBiometricVersion = '1.0.1' androidxBiometricVersion = '1.0.1'
androidxTestCoreVersion = '1.3.0' androidxTestCoreVersion = '1.3.0'
jsonWebTokenApiVersion = '0.11.2' jsonWebTokenApiVersion = '0.11.2'
dependencies = [ dependencies = [
android : "com.google.android:android:${androidVersion}", android : "com.google.android:android:${androidVersion}",
androidAnnotations : "androidx.annotation:annotation:${androidSupportAnnotationsVersion}", androidAnnotations : "androidx.annotation:annotation:${androidSupportAnnotationsVersion}",
appcompat : "androidx.appcompat:appcompat:${androidSupportAppcompatVersion}", appcompat : "androidx.appcompat:appcompat:${androidSupportAppcompatVersion}",
androidxBiometric : "androidx.biometric:biometric:${androidxBiometricVersion}", androidxBiometric : "androidx.biometric:biometric:${androidxBiometricVersion}",
androidxCore : "androidx.core:core-ktx:${androidxCoreVersion}", androidxCore : "androidx.core:core-ktx:${androidxCoreVersion}",
androidxFragment : "androidx.fragment:fragment-ktx:${androidxFragmentVersion}", androidxFragment : "androidx.fragment:fragment-ktx:${androidxFragmentVersion}",
androidxViewpager : "androidx.viewpager:viewpager:${androidxViewpagerVersion}", androidxViewpager : "androidx.viewpager:viewpager:${androidxViewpagerVersion}",
androidxSwiperefresh : "androidx.swiperefreshlayout:swiperefreshlayout:${androidxSwiperefreshVersion}", androidxSwiperefresh : "androidx.swiperefreshlayout:swiperefreshlayout:${androidxSwiperefreshVersion}",
androidxPreference : "androidx.preference:preference:${androidxPreferenceVersion}", androidxPreference : "androidx.preference:preference:${androidxPreferenceVersion}",
documentFile : "androidx.documentfile:documentfile:${androidxDocumentfileVersion}", documentFile : "androidx.documentfile:documentfile:${androidxDocumentfileVersion}",
recyclerView : "androidx.recyclerview:recyclerview:${androidxRecyclerViewVersion}", recyclerView : "androidx.recyclerview:recyclerview:${androidxRecyclerViewVersion}",
androidxTestCore : "androidx.test:core:${androidxTestCoreVersion}", androidxTestCore : "androidx.test:core:${androidxTestCoreVersion}",
commonsCodec : "commons-codec:commons-codec:${commonsCodecVersion}", commonsCodec : "commons-codec:commons-codec:${commonsCodecVersion}",
cryptolib : "org.cryptomator:cryptolib:${cryptolibVersion}", cryptolib : "org.cryptomator:cryptolib:${cryptolibVersion}",
dagger : "com.google.dagger:dagger:${daggerVersion}", dagger : "com.google.dagger:dagger:${daggerVersion}",
daggerCompiler : "com.google.dagger:dagger-compiler:${daggerVersion}", daggerCompiler : "com.google.dagger:dagger-compiler:${daggerVersion}",
design : "com.google.android.material:material:${androidSupportDesignVersion}", design : "com.google.android.material:material:${androidSupportDesignVersion}",
dropbox : "com.dropbox.core:dropbox-core-sdk:${dropboxVersion}", dropbox : "com.dropbox.core:dropbox-core-sdk:${dropboxVersion}",
espresso : "androidx.test.espresso:espresso-core:${espressoVersion}", espresso : "androidx.test.espresso:espresso-core:${espressoVersion}",
googleApiClientAndroid: "com.google.api-client:google-api-client-android:${googleClientVersion}", googleApiClientAndroid: "com.google.api-client:google-api-client-android:${googleClientVersion}",
googleApiServicesDrive: "com.google.apis:google-api-services-drive:${googleApiServicesVersion}", googleApiServicesDrive: "com.google.apis:google-api-services-drive:${googleApiServicesVersion}",
googlePlayServicesAuth: "com.google.android.gms:play-services-auth:${googlePlayServicesVersion}", googlePlayServicesAuth: "com.google.android.gms:play-services-auth:${googlePlayServicesVersion}",
greenDao : "org.greenrobot:greendao:${greenDaoVersion}", greenDao : "org.greenrobot:greendao:${greenDaoVersion}",
gson : "com.google.code.gson:gson:${gsonVersion}", gson : "com.google.code.gson:gson:${gsonVersion}",
hamcrest : "org.hamcrest:hamcrest-all:${hamcrestVersion}", hamcrest : "org.hamcrest:hamcrest-all:${hamcrestVersion}",
javaxAnnotation : "javax.annotation:jsr250-api:${javaxAnnotationVersion}", javaxAnnotation : "javax.annotation:jsr250-api:${javaxAnnotationVersion}",
junit : "org.junit.jupiter:junit-jupiter:${jUnitVersion}", junit : "org.junit.jupiter:junit-jupiter:${jUnitVersion}",
junitApi : "org.junit.jupiter:junit-jupiter-api:${jUnitVersion}", junitApi : "org.junit.jupiter:junit-jupiter-api:${jUnitVersion}",
junitEngine : "org.junit.jupiter:junit-jupiter-engine:${jUnitVersion}", junitEngine : "org.junit.jupiter:junit-jupiter-engine:${jUnitVersion}",
junitParams : "org.junit.jupiter:junit-jupiter-params:${jUnitVersion}", junitParams : "org.junit.jupiter:junit-jupiter-params:${jUnitVersion}",
junit4 : "org.junit.jupiter:junit-jupiter:${jUnit4Version}", junit4 : "org.junit.jupiter:junit-jupiter:${jUnit4Version}",
junit4Engine : "org.junit.vintage:junit-vintage-engine:${jUnitVersion}", junit4Engine : "org.junit.vintage:junit-vintage-engine:${jUnitVersion}",
msgraph : "com.microsoft.graph:microsoft-graph:${msgraphVersion}", msgraph : "com.microsoft.graph:microsoft-graph:${msgraphVersion}",
msaAuth : "com.microsoft.graph:msa-auth-for-android-adapter:${msaAuthVersion}", msaAuth : "com.microsoft.graph:msa-auth-for-android-adapter:${msaAuthVersion}",
mockito : "org.mockito:mockito-core:${mockitoVersion}", mockito : "org.mockito:mockito-core:${mockitoVersion}",
mockitoInline : "org.mockito:mockito-inline:${mockitoInlineVersion}", mockitoInline : "org.mockito:mockito-inline:${mockitoInlineVersion}",
multidex : "androidx.multidex:multidex:${multidexVersion}", multidex : "androidx.multidex:multidex:${multidexVersion}",
okHttp : "com.squareup.okhttp3:okhttp:${okHttpVersion}", okHttp : "com.squareup.okhttp3:okhttp:${okHttpVersion}",
okHttpDigest : "com.burgstaller:okhttp-digest:${okHttpDigestVersion}", okHttpDigest : "com.burgstaller:okhttp-digest:${okHttpDigestVersion}",
recyclerViewFastScroll: "com.simplecityapps:recyclerview-fastscroll:${recyclerViewFastScrollVersion}", recyclerViewFastScroll: "com.simplecityapps:recyclerview-fastscroll:${recyclerViewFastScrollVersion}",
rxJava : "io.reactivex.rxjava2:rxjava:${rxJavaVersion}", rxJava : "io.reactivex.rxjava2:rxjava:${rxJavaVersion}",
rxAndroid : "io.reactivex.rxjava2:rxandroid:${rxAndroidVersion}", rxAndroid : "io.reactivex.rxjava2:rxandroid:${rxAndroidVersion}",
rxBinding : "com.jakewharton.rxbinding2:rxbinding:${rxBindingVersion}", rxBinding : "com.jakewharton.rxbinding2:rxbinding:${rxBindingVersion}",
testingSupportLib : "com.android.support.test:testing-support-lib:${testingSupportLibVersion}", testingSupportLib : "com.android.support.test:testing-support-lib:${testingSupportLibVersion}",
timber : "com.jakewharton.timber:timber:${timberVersion}", timber : "com.jakewharton.timber:timber:${timberVersion}",
velocity : "org.apache.velocity:velocity:${velocityVersion}", velocity : "org.apache.velocity:velocity:${velocityVersion}",
runner : "androidx.test:runner:${runnerVersion}", runner : "androidx.test:runner:${runnerVersion}",
rules : "androidx.test:rules:${rulesVersion}", rules : "androidx.test:rules:${rulesVersion}",
contribution : "androidx.test.espresso:espresso-contrib:${contributionVersion}", contribution : "androidx.test.espresso:espresso-contrib:${contributionVersion}",
uiAutomator : "androidx.test.uiautomator:uiautomator:${uiautomatorVersion}", uiAutomator : "androidx.test.uiautomator:uiautomator:${uiautomatorVersion}",
zxcvbn : "com.nulab-inc:zxcvbn:${zxcvbnVersion}", zxcvbn : "com.nulab-inc:zxcvbn:${zxcvbnVersion}",
scaleImageView : "com.davemorrissey.labs:subsampling-scale-image-view:${scaleImageViewVersion}", scaleImageView : "com.davemorrissey.labs:subsampling-scale-image-view:${scaleImageViewVersion}",
lruFileCache : "com.tomclaw.cache:cache:${lruFileCacheVersion}", lruFileCache : "com.tomclaw.cache:cache:${lruFileCacheVersion}",
jsonWebTokenApi : "io.jsonwebtoken:jjwt-api:${jsonWebTokenApiVersion}", jsonWebTokenApi : "io.jsonwebtoken:jjwt-api:${jsonWebTokenApiVersion}",
jsonWebTokenImpl : "io.jsonwebtoken:jjwt-impl:${jsonWebTokenApiVersion}", jsonWebTokenImpl : "io.jsonwebtoken:jjwt-impl:${jsonWebTokenApiVersion}",
jsonWebTokenJson : "io.jsonwebtoken:jjwt-orgjson:${jsonWebTokenApiVersion}" jsonWebTokenJson : "io.jsonwebtoken:jjwt-orgjson:${jsonWebTokenApiVersion}"
] ]
} }