Skip to content

Commit 03aded3

Browse files
committed
Merge branch 'release/4.0.0'
2 parents 3697a95 + b8e44c3 commit 03aded3

File tree

104 files changed

+3527
-908
lines changed

Some content is hidden

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

104 files changed

+3527
-908
lines changed

app/build.gradle

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ apply plugin: 'kotlin-kapt'
66
apply from: '../versioning.gradle'
77

88
ext {
9-
VERSION_NAME = "0.10.0"
9+
VERSION_NAME = "4.0.0"
1010
}
1111

1212
android {
1313
compileSdkVersion 27
1414
buildToolsVersion "26.0.2"
1515
defaultConfig {
16-
applicationId "com.duckduckgo.app"
16+
applicationId "com.duckduckgo.mobile.android"
1717
minSdkVersion 21
1818
targetSdkVersion 27
1919
versionCode buildVersionCode()
@@ -32,7 +32,6 @@ android {
3232
}
3333
buildTypes {
3434
debug {
35-
testCoverageEnabled = true
3635
}
3736
release {
3837
minifyEnabled false
@@ -75,6 +74,7 @@ ext {
7574
architectureComponents = "1.0.0"
7675
dagger = "2.14.1"
7776
retrofit = "2.3.0"
77+
ankoVersion = "0.10.4"
7878
}
7979

8080

@@ -95,6 +95,13 @@ dependencies {
9595
implementation "com.google.dagger:dagger-android-support:$dagger"
9696
releaseImplementation 'com.faendir:acra:4.10.0'
9797

98+
// RxRelay
99+
implementation "com.jakewharton.rxrelay2:rxrelay:2.0.0"
100+
101+
// Anko
102+
compile "org.jetbrains.anko:anko-commons:$ankoVersion"
103+
compile "org.jetbrains.anko:anko-design:$ankoVersion"
104+
98105
// ViewModel and LiveData
99106
implementation "android.arch.lifecycle:extensions:$architectureComponents"
100107
kapt "android.arch.lifecycle:compiler:$architectureComponents"
@@ -105,6 +112,7 @@ dependencies {
105112
implementation "android.arch.persistence.room:runtime:$architectureComponents"
106113
kapt "android.arch.persistence.room:compiler:$architectureComponents"
107114
testImplementation "android.arch.persistence.room:testing:$architectureComponents"
115+
androidTestImplementation "android.arch.persistence.room:testing:$architectureComponents"
108116

109117
// Dagger
110118
kapt "com.google.dagger:dagger-android-processor:$dagger"

app/schemas/com.duckduckgo.app.global.db.AppDatabase/4.json renamed to app/schemas/com.duckduckgo.app.global.db.AppDatabase/1.json

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"formatVersion": 1,
33
"database": {
4-
"version": 4,
5-
"identityHash": "df2202389ba5b11018b57a417457b11b",
4+
"version": 1,
5+
"identityHash": "cf29693b9b6c4b791ee9c6cc434e0ee6",
66
"entities": [
77
{
88
"tableName": "https_upgrade_domain",
@@ -114,11 +114,43 @@
114114
},
115115
"indices": [],
116116
"foreignKeys": []
117+
},
118+
{
119+
"tableName": "bookmarks",
120+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `title` TEXT, `url` TEXT NOT NULL)",
121+
"fields": [
122+
{
123+
"fieldPath": "id",
124+
"columnName": "id",
125+
"affinity": "INTEGER",
126+
"notNull": true
127+
},
128+
{
129+
"fieldPath": "title",
130+
"columnName": "title",
131+
"affinity": "TEXT",
132+
"notNull": false
133+
},
134+
{
135+
"fieldPath": "url",
136+
"columnName": "url",
137+
"affinity": "TEXT",
138+
"notNull": true
139+
}
140+
],
141+
"primaryKey": {
142+
"columnNames": [
143+
"id"
144+
],
145+
"autoGenerate": true
146+
},
147+
"indices": [],
148+
"foreignKeys": []
117149
}
118150
],
119151
"setupQueries": [
120152
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
121-
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"df2202389ba5b11018b57a417457b11b\")"
153+
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"cf29693b9b6c4b791ee9c6cc434e0ee6\")"
122154
]
123155
}
124156
}

app/schemas/com.duckduckgo.app.global.db.AppDatabase/2.json

Lines changed: 0 additions & 71 deletions
This file was deleted.

app/schemas/com.duckduckgo.app.global.db.AppDatabase/3.json

Lines changed: 0 additions & 98 deletions
This file was deleted.

0 commit comments

Comments
 (0)