|
| 1 | +allprojects { |
| 2 | + repositories { |
| 3 | + jcenter() |
| 4 | + } |
| 5 | +} |
| 6 | + |
| 7 | +ext { |
| 8 | + androidBuildToolsVersion = "29.0.2" |
| 9 | + androidMinSdkVersion = 23 |
| 10 | + androidTargetSdkVersion = 29 |
| 11 | + androidCompileSdkVersion = 29 |
| 12 | + |
| 13 | + // android and java libs |
| 14 | + androidVersion = '4.1.1.4' |
| 15 | + multidexVersion = '2.0.1' |
| 16 | + javaxAnnotationVersion = '1.0' |
| 17 | + |
| 18 | + // support lib |
| 19 | + androidSupportAnnotationsVersion = '1.1.0' |
| 20 | + androidSupportAppcompatVersion = '1.2.0' // check https://stackoverflow.com/questions/41025200/android-view-inflateexception-error-inflating-class-android-webkit-webview/57968071#57968071 !!!!!! |
| 21 | + androidSupportDesignVersion = '1.2.1' |
| 22 | + |
| 23 | + // app frameworks and utilities |
| 24 | + |
| 25 | + rxJavaVersion = '2.2.20' |
| 26 | + rxAndroidVersion = '2.1.1' |
| 27 | + rxBindingVersion = '2.2.0' |
| 28 | + |
| 29 | + daggerVersion = '2.30.1' |
| 30 | + |
| 31 | + gsonVersion = '2.8.6' |
| 32 | + |
| 33 | + okHttpVersion = '4.9.0' |
| 34 | + okHttpDigestVersion = '2.5' |
| 35 | + |
| 36 | + velocityVersion = '1.7' |
| 37 | + |
| 38 | + timberVersion = '4.7.1' |
| 39 | + |
| 40 | + zxcvbnVersion = '1.3.1' |
| 41 | + |
| 42 | + scaleImageViewVersion = '3.10.0' |
| 43 | + |
| 44 | + lruFileCacheVersion = '1.0' |
| 45 | + |
| 46 | + // KEEP IN SYNC WITH GENERATOR VERSION IN root build.gradle |
| 47 | + greenDaoVersion = '3.3.0' |
| 48 | + |
| 49 | + // cloud provider libs |
| 50 | + |
| 51 | + // do not update to 1.4.0 until dropping minsdk 4.x |
| 52 | + cryptolibVersion = '1.3.0' |
| 53 | + |
| 54 | + dropboxVersion = '3.1.5' |
| 55 | + |
| 56 | + googleApiServicesVersion = 'v3-rev197-1.25.0' |
| 57 | + googlePlayServicesVersion = '19.0.0' |
| 58 | + googleClientVersion = '1.31.1' |
| 59 | + |
| 60 | + msgraphVersion = '2.5.0' |
| 61 | + msaAuthVersion = '0.10.0' |
| 62 | + |
| 63 | + commonsCodecVersion = '1.15' |
| 64 | + |
| 65 | + recyclerViewFastScrollVersion = '2.0.1' |
| 66 | + |
| 67 | + // testing dependencies |
| 68 | + |
| 69 | + jUnitVersion = '5.7.0' |
| 70 | + jUnit4Version = '4.13.1' |
| 71 | + assertJVersion = '1.7.1' |
| 72 | + mockitoVersion = '3.6.28' |
| 73 | + mockitoInlineVersion = '3.6.28' |
| 74 | + hamcrestVersion = '1.3' |
| 75 | + dexmakerVersion = '1.0' |
| 76 | + espressoVersion = '3.3.0' |
| 77 | + testingSupportLibVersion = '0.1' |
| 78 | + runnerVersion = '1.3.0' |
| 79 | + rulesVersion = '1.3.0' |
| 80 | + contributionVersion = '3.3.0' |
| 81 | + uiautomatorVersion = '2.2.0' |
| 82 | + |
| 83 | + androidxCoreVersion = '1.3.2' |
| 84 | + androidxFragmentVersion = '1.2.5' |
| 85 | + androidxViewpagerVersion = '1.0.0' |
| 86 | + androidxSwiperefreshVersion = '1.1.0' |
| 87 | + androidxPreferenceVersion = '1.0.0' // 1.1.0 and 1.1.2 does have a bug with the text size |
| 88 | + androidxRecyclerViewVersion = '1.1.0' |
| 89 | + androidxDocumentfileVersion = '1.0.1' |
| 90 | + androidxBiometricVersion = '1.0.1' |
| 91 | + androidxTestCoreVersion = '1.3.0' |
| 92 | + |
| 93 | + jsonWebTokenApiVersion = '0.11.2' |
| 94 | + |
| 95 | + dependencies = [ |
| 96 | + android : "com.google.android:android:${androidVersion}", |
| 97 | + androidAnnotations : "androidx.annotation:annotation:${androidSupportAnnotationsVersion}", |
| 98 | + appcompat : "androidx.appcompat:appcompat:${androidSupportAppcompatVersion}", |
| 99 | + androidxBiometric : "androidx.biometric:biometric:${androidxBiometricVersion}", |
| 100 | + androidxCore : "androidx.core:core-ktx:${androidxCoreVersion}", |
| 101 | + androidxFragment : "androidx.fragment:fragment-ktx:${androidxFragmentVersion}", |
| 102 | + androidxViewpager : "androidx.viewpager:viewpager:${androidxViewpagerVersion}", |
| 103 | + androidxSwiperefresh : "androidx.swiperefreshlayout:swiperefreshlayout:${androidxSwiperefreshVersion}", |
| 104 | + androidxPreference : "androidx.preference:preference:${androidxPreferenceVersion}", |
| 105 | + documentFile : "androidx.documentfile:documentfile:${androidxDocumentfileVersion}", |
| 106 | + recyclerView : "androidx.recyclerview:recyclerview:${androidxRecyclerViewVersion}", |
| 107 | + androidxTestCore : "androidx.test:core:${androidxTestCoreVersion}", |
| 108 | + commonsCodec : "commons-codec:commons-codec:${commonsCodecVersion}", |
| 109 | + cryptolib : "org.cryptomator:cryptolib:${cryptolibVersion}", |
| 110 | + dagger : "com.google.dagger:dagger:${daggerVersion}", |
| 111 | + daggerCompiler : "com.google.dagger:dagger-compiler:${daggerVersion}", |
| 112 | + design : "com.google.android.material:material:${androidSupportDesignVersion}", |
| 113 | + dropbox : "com.dropbox.core:dropbox-core-sdk:${dropboxVersion}", |
| 114 | + espresso : "androidx.test.espresso:espresso-core:${espressoVersion}", |
| 115 | + googleApiClientAndroid: "com.google.api-client:google-api-client-android:${googleClientVersion}", |
| 116 | + googleApiServicesDrive: "com.google.apis:google-api-services-drive:${googleApiServicesVersion}", |
| 117 | + googlePlayServicesAuth: "com.google.android.gms:play-services-auth:${googlePlayServicesVersion}", |
| 118 | + greenDao : "org.greenrobot:greendao:${greenDaoVersion}", |
| 119 | + gson : "com.google.code.gson:gson:${gsonVersion}", |
| 120 | + hamcrest : "org.hamcrest:hamcrest-all:${hamcrestVersion}", |
| 121 | + javaxAnnotation : "javax.annotation:jsr250-api:${javaxAnnotationVersion}", |
| 122 | + junit : "org.junit.jupiter:junit-jupiter:${jUnitVersion}", |
| 123 | + junitApi : "org.junit.jupiter:junit-jupiter-api:${jUnitVersion}", |
| 124 | + junitEngine : "org.junit.jupiter:junit-jupiter-engine:${jUnitVersion}", |
| 125 | + junitParams : "org.junit.jupiter:junit-jupiter-params:${jUnitVersion}", |
| 126 | + junit4 : "org.junit.jupiter:junit-jupiter:${jUnit4Version}", |
| 127 | + junit4Engine : "org.junit.vintage:junit-vintage-engine:${jUnitVersion}", |
| 128 | + msgraph : "com.microsoft.graph:microsoft-graph:${msgraphVersion}", |
| 129 | + msaAuth : "com.microsoft.graph:msa-auth-for-android-adapter:${msaAuthVersion}", |
| 130 | + mockito : "org.mockito:mockito-core:${mockitoVersion}", |
| 131 | + mockitoInline : "org.mockito:mockito-inline:${mockitoInlineVersion}", |
| 132 | + multidex : "androidx.multidex:multidex:${multidexVersion}", |
| 133 | + okHttp : "com.squareup.okhttp3:okhttp:${okHttpVersion}", |
| 134 | + okHttpDigest : "com.burgstaller:okhttp-digest:${okHttpDigestVersion}", |
| 135 | + recyclerViewFastScroll: "com.simplecityapps:recyclerview-fastscroll:${recyclerViewFastScrollVersion}", |
| 136 | + rxJava : "io.reactivex.rxjava2:rxjava:${rxJavaVersion}", |
| 137 | + rxAndroid : "io.reactivex.rxjava2:rxandroid:${rxAndroidVersion}", |
| 138 | + rxBinding : "com.jakewharton.rxbinding2:rxbinding:${rxBindingVersion}", |
| 139 | + testingSupportLib : "com.android.support.test:testing-support-lib:${testingSupportLibVersion}", |
| 140 | + timber : "com.jakewharton.timber:timber:${timberVersion}", |
| 141 | + velocity : "org.apache.velocity:velocity:${velocityVersion}", |
| 142 | + runner : "androidx.test:runner:${runnerVersion}", |
| 143 | + rules : "androidx.test:rules:${rulesVersion}", |
| 144 | + contribution : "androidx.test.espresso:espresso-contrib:${contributionVersion}", |
| 145 | + uiAutomator : "androidx.test.uiautomator:uiautomator:${uiautomatorVersion}", |
| 146 | + zxcvbn : "com.nulab-inc:zxcvbn:${zxcvbnVersion}", |
| 147 | + scaleImageView : "com.davemorrissey.labs:subsampling-scale-image-view:${scaleImageViewVersion}", |
| 148 | + lruFileCache : "com.tomclaw.cache:cache:${lruFileCacheVersion}", |
| 149 | + jsonWebTokenApi : "io.jsonwebtoken:jjwt-api:${jsonWebTokenApiVersion}", |
| 150 | + jsonWebTokenImpl : "io.jsonwebtoken:jjwt-impl:${jsonWebTokenApiVersion}", |
| 151 | + jsonWebTokenJson : "io.jsonwebtoken:jjwt-orgjson:${jsonWebTokenApiVersion}" |
| 152 | + ] |
| 153 | + |
| 154 | +} |
0 commit comments