Skip to content

Commit 378a298

Browse files
domdomeggmaskaravivek
authored andcommitted
Update build.gradle (commons-app#1992)
Reorder and group libraries
1 parent 102b2d7 commit 378a298

File tree

1 file changed

+44
-44
lines changed

1 file changed

+44
-44
lines changed

app/build.gradle

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -12,83 +12,83 @@ if(isRunningOnTravisAndIsNotPRBuild) {
1212
}
1313

1414
dependencies {
15+
// Utils
1516
implementation 'com.github.nicolas-raoul:Quadtree:ac16ea8035bf07'
16-
implementation 'fr.avianey.com.viewpagerindicator:library:2.4.1.1@aar'
17-
implementation 'in.yuvi:http.fluent:1.3'
18-
implementation 'com.github.chrisbanes:PhotoView:2.0.0'
19-
20-
implementation 'ch.acra:acra:4.9.2'
21-
2217
implementation 'commons-codec:commons-codec:1.10'
23-
implementation 'com.github.pedrovgs:renderers:3.3.3'
2418
implementation 'com.google.code.gson:gson:2.8.5'
25-
implementation 'com.jakewharton.timber:timber:4.4.0'
2619
implementation 'info.debatty:java-string-similarity:0.24'
27-
implementation 'com.borjabravo:readmoretextview:2.1.0'
28-
29-
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
30-
31-
implementation 'org.slf4j:slf4j-api:1.7.25'
32-
api ("com.github.tony19:logback-android-classic:1.1.1-6") {
33-
exclude group: 'com.google.android', module: 'android'
34-
}
35-
36-
implementation('com.mapbox.mapboxsdk:mapbox-android-sdk:5.5.0@aar') {
37-
transitive = true
38-
}
39-
implementation 'com.github.deano2390:MaterialShowcaseView:1.2.0'
40-
41-
//noinspection GradleCompatible
42-
implementation "com.android.support:support-v4:$SUPPORT_LIB_VERSION"
43-
implementation "com.android.support:appcompat-v7:$SUPPORT_LIB_VERSION"
44-
implementation "com.android.support:design:$SUPPORT_LIB_VERSION"
45-
implementation "com.android.support:customtabs:$SUPPORT_LIB_VERSION"
46-
implementation "com.android.support:cardview-v7:$SUPPORT_LIB_VERSION"
47-
implementation "com.jakewharton:butterknife:$BUTTERKNIFE_VERSION"
48-
kapt "com.jakewharton:butterknife-compiler:$BUTTERKNIFE_VERSION"
20+
implementation 'in.yuvi:http.fluent:1.3'
4921
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
5022
implementation 'com.squareup.okio:okio:1.14.0'
5123
implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
52-
// Because RxAndroid releases are few and far between, it is recommended you also
53-
54-
// explicitly depend on RxJava's latest version for bug fixes and new features.
5524
implementation 'io.reactivex.rxjava2:rxjava:2.2.0'
5625
implementation 'com.jakewharton.rxbinding2:rxbinding:2.1.1'
5726
implementation 'com.jakewharton.rxbinding2:rxbinding-support-v4:2.1.1'
5827
implementation 'com.jakewharton.rxbinding2:rxbinding-appcompat-v7:2.1.1'
5928
implementation 'com.jakewharton.rxbinding2:rxbinding-design:2.1.1'
6029
implementation 'com.facebook.fresco:fresco:1.10.0'
61-
implementation 'com.facebook.stetho:stetho:1.5.0'
30+
31+
// UI
32+
implementation 'fr.avianey.com.viewpagerindicator:library:2.4.1.1@aar'
33+
implementation 'com.github.chrisbanes:PhotoView:2.0.0'
34+
implementation 'com.github.pedrovgs:renderers:3.3.3'
35+
36+
implementation 'com.borjabravo:readmoretextview:2.1.0'
37+
implementation('com.mapbox.mapboxsdk:mapbox-android-sdk:5.5.0@aar') {
38+
transitive = true
39+
}
40+
implementation 'com.github.deano2390:MaterialShowcaseView:1.2.0'
41+
implementation 'com.dinuscxj:circleprogressbar:1.1.1'
42+
implementation 'com.karumi:dexter:5.0.0'
43+
implementation files('libs/simplemagic-1.9.jar')
44+
implementation "com.jakewharton:butterknife:$BUTTERKNIFE_VERSION"
45+
kapt "com.jakewharton:butterknife-compiler:$BUTTERKNIFE_VERSION"
46+
47+
// Logging
48+
implementation 'ch.acra:acra:4.9.2'
49+
implementation 'com.jakewharton.timber:timber:4.4.0'
50+
implementation 'org.slf4j:slf4j-api:1.7.25'
51+
api ("com.github.tony19:logback-android-classic:1.1.1-6") {
52+
exclude group: 'com.google.android', module: 'android'
53+
}
54+
55+
// Dependency injector
6256
implementation "com.google.dagger:dagger:$DAGGER_VERSION"
6357
implementation "com.google.dagger:dagger-android-support:$DAGGER_VERSION"
6458
kapt "com.google.dagger:dagger-android-processor:$DAGGER_VERSION"
6559
kapt "com.google.dagger:dagger-compiler:$DAGGER_VERSION"
60+
61+
// Unit testing
6662
testImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
6763
testImplementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
6864
testImplementation 'junit:junit:4.12'
6965
testImplementation 'org.robolectric:robolectric:3.7.1'
7066
testImplementation 'com.nhaarman:mockito-kotlin:1.5.0'
7167
testImplementation 'com.squareup.okhttp3:mockwebserver:3.10.0'
72-
implementation 'com.dinuscxj:circleprogressbar:1.1.1'
73-
74-
implementation 'com.tspoon.traceur:traceur:1.0.1'
7568

69+
// Android testing
7670
androidTestImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
7771
androidTestImplementation 'com.squareup.okhttp3:mockwebserver:3.10.0'
78-
androidTestImplementation "com.android.support:support-annotations:$SUPPORT_LIB_VERSION"
7972
androidTestImplementation 'com.android.support.test:rules:1.0.2'
8073
androidTestImplementation 'com.android.support.test:runner:1.0.2'
74+
androidTestImplementation "com.android.support:support-annotations:$SUPPORT_LIB_VERSION"
8175
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
76+
androidTestImplementation "org.mockito:mockito-core:2.10.0"
77+
78+
// Debugging
79+
implementation 'com.tspoon.traceur:traceur:1.0.1'
80+
implementation 'com.facebook.stetho:stetho:1.5.0'
8281
debugImplementation "com.squareup.leakcanary:leakcanary-android:$LEAK_CANARY"
8382
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$LEAK_CANARY"
8483
testImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$LEAK_CANARY"
8584

86-
androidTestImplementation "org.mockito:mockito-core:2.10.0"
87-
88-
//For handling runtime permissions
89-
implementation 'com.karumi:dexter:5.0.0'
90-
91-
implementation files('libs/simplemagic-1.9.jar')
85+
// Support libraries
86+
implementation "com.android.support:support-v4:$SUPPORT_LIB_VERSION"
87+
implementation "com.android.support:appcompat-v7:$SUPPORT_LIB_VERSION"
88+
implementation "com.android.support:design:$SUPPORT_LIB_VERSION"
89+
implementation "com.android.support:customtabs:$SUPPORT_LIB_VERSION"
90+
implementation "com.android.support:cardview-v7:$SUPPORT_LIB_VERSION"
91+
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
9292
}
9393

9494
android {

0 commit comments

Comments
 (0)