Skip to content

Commit 34b91b5

Browse files
committed
Merge branch 'release/5.14.0'
2 parents 2613f76 + 7aa1264 commit 34b91b5

File tree

217 files changed

+2584
-587
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

217 files changed

+2584
-587
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ Are you a talented cross-platform mobile developer? We are looking for a Senior
99

1010
Contact us at https://duckduckgo.com/feedback if you have feedback, questions or want to chat.
1111

12+
## Building the Project
13+
We use git submodules and so when you are checking out the app, you'll need to ensure the submodules are initialized properly. You can use the `--recursive` flag when cloning the project to do this.
14+
15+
git clone --recursive https://github.com/duckduckgo/android.git
16+
17+
Alternatively, if you already have the project checked out, you can initialize the submodules manually.
18+
19+
git submodule update --init
20+
1221
## Reporting Bugs
1322

1423
We want our app to be as stable as possible thus your bug reports are immensely valuable. When reporting bugs let us know the:

app/build.gradle

Lines changed: 43 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -77,42 +77,53 @@ android {
7777
}
7878

7979
ext {
80-
supportLibrary = "28.0.0-rc01"
80+
androidX = "1.0.1"
81+
materialDesign = "1.1.0-alpha01"
8182
architectureComponents = "1.1.1"
8283
architectureComponentsExtensions = "1.1.1"
83-
androidKtx = "0.3"
84-
dagger = "2.15"
84+
androidKtx = "1.0.1"
85+
androidTestRunner = "1.0.2"
86+
constraintLayout = "2.0.0-alpha2"
87+
lifecycle = "2.0.0"
88+
room = "2.1.0-alpha02"
89+
90+
dagger = "2.18"
8591
retrofit = "2.3.0"
8692
ankoVersion = "0.10.4"
87-
glide = "4.6.1"
88-
androidTestRunner = "1.0.2"
93+
glide = "4.8.0"
8994
lottieVersion = "2.6.0-beta19"
9095
okHttp = "3.10.0"
96+
rxJava = "2.1.10"
97+
rxAndroid = "2.0.2"
98+
timber = "4.6.1"
99+
rxRelay = "2.0.0"
100+
leakCanary = "1.5.4"
101+
mockito = "2.23.0"
91102
}
92103

93104

94105
dependencies {
95-
implementation "com.android.support:support-v4:$supportLibrary"
96-
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4'
97-
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
106+
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
107+
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanary"
108+
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanary"
98109

99110
implementation fileTree(dir: 'libs', include: ['*.jar'])
100111
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
101-
implementation "com.android.support:appcompat-v7:$supportLibrary"
102-
implementation "com.android.support:design:$supportLibrary"
103-
implementation "com.android.support.constraint:constraint-layout:1.1.0"
112+
implementation "androidx.appcompat:appcompat:$androidX"
113+
implementation "com.google.android.material:material:$materialDesign"
114+
implementation "androidx.constraintlayout:constraintlayout:$constraintLayout"
104115
implementation "com.squareup.okhttp3:okhttp:$okHttp"
105116
implementation "com.squareup.retrofit2:retrofit:$retrofit"
106117
implementation "com.squareup.retrofit2:converter-moshi:$retrofit"
107118
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit"
108-
implementation "io.reactivex.rxjava2:rxjava:2.1.10"
109-
implementation "io.reactivex.rxjava2:rxandroid:2.0.2"
110-
implementation "com.jakewharton.timber:timber:4.6.1"
119+
implementation "io.reactivex.rxjava2:rxjava:$rxJava"
120+
implementation "io.reactivex.rxjava2:rxandroid:$rxAndroid"
121+
implementation "com.jakewharton.timber:timber:$timber"
111122
implementation "com.google.dagger:dagger-android:$dagger"
112123
implementation "com.google.dagger:dagger-android-support:$dagger"
113124

114125
// RxRelay
115-
implementation "com.jakewharton.rxrelay2:rxrelay:2.0.0"
126+
implementation "com.jakewharton.rxrelay2:rxrelay:$rxRelay"
116127

117128
// Anko
118129
implementation "org.jetbrains.anko:anko-commons:$ankoVersion"
@@ -122,16 +133,16 @@ dependencies {
122133
implementation "androidx.core:core-ktx:$androidKtx"
123134

124135
// ViewModel and LiveData
125-
implementation "android.arch.lifecycle:extensions:$architectureComponentsExtensions"
126-
kapt "android.arch.lifecycle:compiler:$architectureComponents"
127-
testImplementation "android.arch.core:core-testing:$architectureComponents"
128-
androidTestImplementation "android.arch.core:core-testing:$architectureComponents"
136+
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle"
137+
kapt "androidx.lifecycle:lifecycle-compiler:$lifecycle"
138+
testImplementation "androidx.arch.core:core-testing:$lifecycle"
139+
androidTestImplementation "androidx.arch.core:core-testing:$lifecycle"
129140

130141
// Room
131-
implementation "android.arch.persistence.room:runtime:$architectureComponents"
132-
kapt "android.arch.persistence.room:compiler:$architectureComponents"
133-
testImplementation "android.arch.persistence.room:testing:$architectureComponents"
134-
androidTestImplementation "android.arch.persistence.room:testing:$architectureComponents"
142+
implementation "androidx.room:room-runtime:$room"
143+
kapt "androidx.room:room-compiler:$room"
144+
testImplementation "androidx.room:room-testing:$room"
145+
androidTestImplementation "androidx.room:room-testing:$room"
135146

136147
// Dagger
137148
kapt "com.google.dagger:dagger-android-processor:$dagger"
@@ -147,18 +158,20 @@ dependencies {
147158
implementation "com.airbnb.android:lottie:$lottieVersion"
148159

149160
// Apache commons
150-
implementation 'org.apache.commons:commons-math3:3.6.1'
161+
implementation "org.apache.commons:commons-math3:3.6.1"
151162

152-
testImplementation "org.mockito:mockito-core:2.15.0"
163+
testImplementation "org.mockito:mockito-core:$mockito"
153164
testImplementation "com.nhaarman:mockito-kotlin-kt1.1:1.5.0"
154165
testImplementation "junit:junit:4.12"
155166

156-
androidTestImplementation "com.android.support.test:runner:$androidTestRunner"
157-
androidTestImplementation "com.android.support.test:rules:$androidTestRunner"
158-
androidTestUtil "com.android.support.test:orchestrator:1.0.2"
159-
androidTestImplementation "com.android.support.test.espresso:espresso-core:3.0.2"
160-
androidTestImplementation "org.mockito:mockito-android:2.15.0"
167+
androidTestImplementation 'androidx.test:runner:1.1.0'
168+
androidTestImplementation 'androidx.test:rules:1.1.0'
169+
androidTestUtil "androidx.test:orchestrator:1.1.0"
170+
androidTestImplementation "androidx.test.espresso:espresso-core:3.1.0"
171+
androidTestImplementation "org.mockito:mockito-android:$mockito"
161172
androidTestImplementation "com.squareup.okhttp3:mockwebserver:$okHttp"
162173
androidTestImplementation "com.nhaarman:mockito-kotlin-kt1.1:1.5.0"
163174

175+
kapt "com.android.tools.build.jetifier:jetifier-core:$jetifier"
176+
annotationProcessor "com.android.tools.build.jetifier:jetifier-core:$jetifier"
164177
}

0 commit comments

Comments
 (0)