Skip to content

Commit b25f1e8

Browse files
committed
Rename the viaduct Android package to viaduct.
Before it was named `httpconfig` for historical reasons, this one seems more natural.
1 parent 2b2a581 commit b25f1e8

6 files changed

Lines changed: 9 additions & 13 deletions

File tree

.buildconfig-android.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ projects:
6363
- name: rust-log-forwarder
6464
type: aar
6565
description: Forward logs from Rust
66-
httpconfig:
66+
viaduct:
6767
path: components/viaduct/android
68-
artifactId: httpconfig
68+
artifactId: viaduct
6969
publications:
70-
- name: httpconfig
70+
- name: viaduct
7171
type: aar
72-
description: Component allowing the configuration of Rust HTTP stack.
72+
description: Rust HTTP bridge.
7373
push:
7474
path: components/push/android
7575
artifactId: push

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
- init_backend and `viaduct_init_backend_hyper` no longer throw an error if they're called multiple times.
3232
Instead, we report the error via the Rust components error ping.
3333
This is a breaking change for iOS, since the functions no longer throw.
34+
- Renamed the Android package to `mozilla.appservices.viaduct`
3435

3536
## 🔧 What's Fixed 🔧
3637

components/remote_settings/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ dependencies {
5353
} else {
5454
testImplementation libs.mozilla.concept.fetch
5555
}
56-
testImplementation project(":httpconfig")
56+
testImplementation project(":viaduct")
5757
}

components/viaduct/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply from: "$appServicesRootDir/build-scripts/component-common.gradle"
22
apply from: "$appServicesRootDir/publish.gradle"
33

44
android {
5-
namespace 'org.mozilla.appservices.httpconfig'
5+
namespace 'org.mozilla.appservices.viaduct'
66
}
77

88
dependencies {

components/viaduct/android/src/main/java/mozilla/appservices/httpconfig/FetchBackend.kt renamed to components/viaduct/android/src/main/java/mozilla/appservices/viaduct/FetchBackend.kt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,8 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
package mozilla.appservices.httpconfig
5+
package mozilla.appservices.viaduct
66

7-
import mozilla.appservices.viaduct.Backend
8-
import mozilla.appservices.viaduct.ClientSettings
9-
import mozilla.appservices.viaduct.Method
10-
import mozilla.appservices.viaduct.Request
11-
import mozilla.appservices.viaduct.Response
127
import java.util.concurrent.TimeUnit
138
import mozilla.components.concept.fetch.Client as FetchClient
149
import mozilla.components.concept.fetch.Header as FetchHeader

components/viaduct/android/src/main/java/mozilla/appservices/httpconfig/HttpConfig.kt renamed to components/viaduct/android/src/main/java/mozilla/appservices/viaduct/HttpConfig.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
package mozilla.appservices.httpconfig
5+
package mozilla.appservices.viaduct
66

77
import mozilla.appservices.viaduct.initBackend
88
import mozilla.components.concept.fetch.Client

0 commit comments

Comments
 (0)