Commit Graph

11 Commits

Author SHA1 Message Date
Nik Clayton e749b362ca
refactor: Start creating core modules (#286)
The existing code base is a single monolithic module. This is relatively
simple to configure, but many of the tasks to compile the module and
produce the final app have to run in series.

This is unnecessarily slow.

This change starts to split the code in to multiple modules, which are:

- :core:account - AccountManager, to break a dependency cycle
- :core:common - low level types or utilities used in many other modules
- :core:database - database types, DAOs, and DI infrastructure
- :core:network - network types, API definitions, and DI infrastructure
- :core:preferences - shared preferences definitions and DI
infrastructure
- :core:testing - fakes and rules used across different modules

Benchmarking with gradle-profiler shows a ~ 17% reduction in incremental
build times after an ABI change. That will improve further as more code
is moved to modules.

The rough mechanics of the changes are:

- Create the modules, and move existing files in to them. This causes a
  lot of churn in import arguments.

- Convert build.gradle files to build.gradle.kts

- Separate out the data required to display a tab (`TabViewData`) from
  the data required to configure a tab (`TabData`) to avoid circular
  dependencies.

- Abstract the repeated build logic shared between the modules in to
  a set of plugins under `build-logic/`, to simplify configuration of
  the application and library builds.

- Be explicit that some nullable types are non-null at time of use.
  Nullable properties in types imported from modules generally can't be
  smart cast to non-null. There's a detailed discussion of why this
restriction exists at
https://discuss.kotlinlang.org/t/what-is-the-reason-behind-smart-cast-being-impossible-to-perform-when-referenced-class-is-in-another-module/2201.

The changes highlight design problems with the current code, including:

- The main application code is too tightly coupled to the network types
- Too many values are declared unnecessarily nullable
- Dependency cycles between code that make modularisation difficult

Future changes will add more modules.

See #291.
2023-12-04 16:58:36 +01:00
Nik Clayton 4a6981fc07
fix(deps): update logging dependencies 2023-11-17 11:09:44 +01:00
renovate[bot] f1eaa72dd6
fix(deps): update dependency io.github.oshai:kotlin-logging-jvm to v4.0.2 (#106)
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[io.github.oshai:kotlin-logging-jvm](https://togithub.com/oshai/kotlin-logging)
| `4.0.0-beta-28` -> `4.0.2` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/io.github.oshai:kotlin-logging-jvm/4.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.github.oshai:kotlin-logging-jvm/4.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.github.oshai:kotlin-logging-jvm/4.0.0-beta-28/4.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.github.oshai:kotlin-logging-jvm/4.0.0-beta-28/4.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>oshai/kotlin-logging
(io.github.oshai:kotlin-logging-jvm)</summary>

###
[`v4.0.1`](https://togithub.com/oshai/kotlin-logging/releases/tag/4.0.1)

[Compare
Source](https://togithub.com/oshai/kotlin-logging/compare/4.0.0...4.0.1)

#### What's Changed

- Bump org.jetbrains.dokka from 1.8.10 to 1.8.20 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/324](https://togithub.com/oshai/kotlin-logging/pull/324)
- Bump multiplatform from 1.8.20 to 1.8.22 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/326](https://togithub.com/oshai/kotlin-logging/pull/326)
- Bump com.diffplug.spotless from 6.17.0 to 6.19.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/325](https://togithub.com/oshai/kotlin-logging/pull/325)
- change android to depend on slf4j2 by default by
[@&#8203;oshai](https://togithub.com/oshai) in
[https://github.com/oshai/kotlin-logging/pull/328](https://togithub.com/oshai/kotlin-logging/pull/328)

**Full Changelog**:
https://github.com/oshai/kotlin-logging/compare/4.0.0...4.0.1

###
[`v4.0.0`](https://togithub.com/oshai/kotlin-logging/releases/tag/4.0.0)

[Compare
Source](https://togithub.com/oshai/kotlin-logging/compare/4.0.0-beta-30...4.0.0)

For TL;DR see
https://github.com/oshai/kotlin-logging#version-4x-vs-previous-versions

#### What's Changed

- 4.x changes by [@&#8203;oshai](https://togithub.com/oshai) in
[https://github.com/oshai/kotlin-logging/pull/269](https://togithub.com/oshai/kotlin-logging/pull/269)
- add missing klogger common methods by
[@&#8203;oshai](https://togithub.com/oshai) in
[https://github.com/oshai/kotlin-logging/pull/272](https://togithub.com/oshai/kotlin-logging/pull/272)
- removed some code duplication by
[@&#8203;oshai](https://togithub.com/oshai) in
[https://github.com/oshai/kotlin-logging/pull/273](https://togithub.com/oshai/kotlin-logging/pull/273)
- initial android support by [@&#8203;oshai](https://togithub.com/oshai)
in
[https://github.com/oshai/kotlin-logging/pull/271](https://togithub.com/oshai/kotlin-logging/pull/271)
- AGP 7.3.1 by [@&#8203;oshai](https://togithub.com/oshai) in
[https://github.com/oshai/kotlin-logging/pull/274](https://togithub.com/oshai/kotlin-logging/pull/274)
- add javaMain module and remove duplication by
[@&#8203;oshai](https://togithub.com/oshai) in
[https://github.com/oshai/kotlin-logging/pull/275](https://togithub.com/oshai/kotlin-logging/pull/275)
- fix log level check for
[#&#8203;276](https://togithub.com/oshai/kotlin-logging/issues/276) by
[@&#8203;oshai](https://togithub.com/oshai) in
[https://github.com/oshai/kotlin-logging/pull/277](https://togithub.com/oshai/kotlin-logging/pull/277)
- fix logger name in messages by
[@&#8203;oshai](https://togithub.com/oshai) in
[https://github.com/oshai/kotlin-logging/pull/280](https://togithub.com/oshai/kotlin-logging/pull/280)
- add withLoggingContextAsync by
[@&#8203;oshai](https://togithub.com/oshai) in
[https://github.com/oshai/kotlin-logging/pull/278](https://togithub.com/oshai/kotlin-logging/pull/278)
- add native simple test by [@&#8203;oshai](https://togithub.com/oshai)
in
[https://github.com/oshai/kotlin-logging/pull/281](https://togithub.com/oshai/kotlin-logging/pull/281)
- fixed some warnings by [@&#8203;oshai](https://togithub.com/oshai) in
[https://github.com/oshai/kotlin-logging/pull/282](https://togithub.com/oshai/kotlin-logging/pull/282)
- add js delegate by [@&#8203;oshai](https://togithub.com/oshai) in
[https://github.com/oshai/kotlin-logging/pull/283](https://togithub.com/oshai/kotlin-logging/pull/283)
- build(deps): bump log4j2 from 2.19.0 to 2.20.0 by
[@&#8203;yeikel](https://togithub.com/yeikel) in
[https://github.com/oshai/kotlin-logging/pull/284](https://togithub.com/oshai/kotlin-logging/pull/284)
- ci: add Gradle wrapper validation by
[@&#8203;yeikel](https://togithub.com/yeikel) in
[https://github.com/oshai/kotlin-logging/pull/285](https://togithub.com/oshai/kotlin-logging/pull/285)
- build(deps-dev): bump Junit from 5.9.1 to 5.9.2 by
[@&#8203;yeikel](https://togithub.com/yeikel) in
[https://github.com/oshai/kotlin-logging/pull/287](https://togithub.com/oshai/kotlin-logging/pull/287)
- build(deps-dev): bump mockito from 4.8.0 to 4.11.0 by
[@&#8203;yeikel](https://togithub.com/yeikel) in
[https://github.com/oshai/kotlin-logging/pull/286](https://togithub.com/oshai/kotlin-logging/pull/286)
- build: bump gradle wrapper to 7.6.1 by
[@&#8203;yeikel](https://togithub.com/yeikel) in
[https://github.com/oshai/kotlin-logging/pull/289](https://togithub.com/oshai/kotlin-logging/pull/289)
- Add dependabot configuration by
[@&#8203;yeikel](https://togithub.com/yeikel) in
[https://github.com/oshai/kotlin-logging/pull/291](https://togithub.com/oshai/kotlin-logging/pull/291)
- chore(dependabot): fix indentation by
[@&#8203;yeikel](https://togithub.com/yeikel) in
[https://github.com/oshai/kotlin-logging/pull/292](https://togithub.com/oshai/kotlin-logging/pull/292)
- Bump actions/checkout from 2 to 3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/299](https://togithub.com/oshai/kotlin-logging/pull/299)
- Bump com.android.library from 7.3.1 to 7.4.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/294](https://togithub.com/oshai/kotlin-logging/pull/294)
- Bump org.jetbrains.dokka from 1.7.10 to 1.8.10 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/297](https://togithub.com/oshai/kotlin-logging/pull/297)
- Bump com.diffplug.spotless from 5.12.4 to 6.17.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/300](https://togithub.com/oshai/kotlin-logging/pull/300)
- Bump io.github.gradle-nexus.publish-plugin from 1.1.0 to 1.3.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/298](https://togithub.com/oshai/kotlin-logging/pull/298)
- Bump actions/cache from 2.1.7 to 3.3.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/296](https://togithub.com/oshai/kotlin-logging/pull/296)
- Bump actions/setup-java from 1 to 3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/293](https://togithub.com/oshai/kotlin-logging/pull/293)
- Bump multiplatform from 1.8.10 to 1.8.20 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/302](https://togithub.com/oshai/kotlin-logging/pull/302)
- ci: use temurin by [@&#8203;yeikel](https://togithub.com/yeikel) in
[https://github.com/oshai/kotlin-logging/pull/301](https://togithub.com/oshai/kotlin-logging/pull/301)
- Allow turning off logging with `Level.OFF` by
[@&#8203;YarnSphere](https://togithub.com/YarnSphere) in
[https://github.com/oshai/kotlin-logging/pull/313](https://togithub.com/oshai/kotlin-logging/pull/313)
- change package - add kotlinlogging by
[@&#8203;oshai](https://togithub.com/oshai) in
[https://github.com/oshai/kotlin-logging/pull/320](https://togithub.com/oshai/kotlin-logging/pull/320)
- Bump multiplatform from 1.8.20 to 1.8.22 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/321](https://togithub.com/oshai/kotlin-logging/pull/321)
- Bump org.jetbrains.dokka from 1.8.10 to 1.8.20 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/322](https://togithub.com/oshai/kotlin-logging/pull/322)
- Bump com.diffplug.spotless from 6.17.0 to 6.19.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/317](https://togithub.com/oshai/kotlin-logging/pull/317)

#### New Contributors

- [@&#8203;dependabot](https://togithub.com/dependabot) made their first
contribution in
[https://github.com/oshai/kotlin-logging/pull/299](https://togithub.com/oshai/kotlin-logging/pull/299)

**Full Changelog**:
https://github.com/oshai/kotlin-logging/compare/3.0.5...4.0.0

###
[`v4.0.0-beta-30`](https://togithub.com/oshai/kotlin-logging/releases/tag/4.0.0-beta-30)

[Compare
Source](https://togithub.com/oshai/kotlin-logging/compare/4.0.0-beta-29...4.0.0-beta-30)

#### What's Changed

- Bump multiplatform from 1.8.20 to 1.8.22 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/321](https://togithub.com/oshai/kotlin-logging/pull/321)
- Bump org.jetbrains.dokka from 1.8.10 to 1.8.20 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/322](https://togithub.com/oshai/kotlin-logging/pull/322)
- Bump com.diffplug.spotless from 6.17.0 to 6.19.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/oshai/kotlin-logging/pull/317](https://togithub.com/oshai/kotlin-logging/pull/317)

**Full Changelog**:
https://github.com/oshai/kotlin-logging/compare/4.0.0-beta-29...4.0.0-beta-30

###
[`v4.0.0-beta-29`](https://togithub.com/oshai/kotlin-logging/releases/tag/4.0.0-beta-29)

#### What's Changed

- Allow turning off logging with `Level.OFF` by
[@&#8203;YarnSphere](https://togithub.com/YarnSphere) in
[https://github.com/oshai/kotlin-logging/pull/313](https://togithub.com/oshai/kotlin-logging/pull/313)
- change package - add kotlinlogging by
[@&#8203;oshai](https://togithub.com/oshai) in
[https://github.com/oshai/kotlin-logging/pull/320](https://togithub.com/oshai/kotlin-logging/pull/320)

**Full Changelog**:
https://github.com/oshai/kotlin-logging/compare/4.0.0-beta-27...4.0.0-beta-29

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDcuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQ2LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 10:50:55 +01:00
renovate[bot] b2b718e1f9
fix(deps): update dependency ch.qos.logback:logback-classic to v1.4.11 (#116)
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ch.qos.logback:logback-classic](http://logback.qos.ch)
([source](https://togithub.com/qos-ch/logback)) | `1.3.0` -> `1.4.11` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/ch.qos.logback:logback-classic/1.4.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/ch.qos.logback:logback-classic/1.4.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/ch.qos.logback:logback-classic/1.3.0/1.4.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/ch.qos.logback:logback-classic/1.3.0/1.4.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDcuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQ2LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 22:55:48 +01:00
renovate[bot] 1425616dff
fix(deps): update dependency com.ibm.icu:icu4j to v74 (#217)
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.ibm.icu:icu4j](https://icu.unicode.org/)
([source](https://togithub.com/unicode-org/icu)) | `73.2` -> `74.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.ibm.icu:icu4j/74.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.ibm.icu:icu4j/74.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.ibm.icu:icu4j/73.2/74.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.ibm.icu:icu4j/73.2/74.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>unicode-org/icu (com.ibm.icu:icu4j)</summary>

###
[`v74.1`](https://togithub.com/unicode-org/icu/compare/release-73-2...release-74-1)

[Compare
Source](https://togithub.com/unicode-org/icu/compare/release-73-2...release-74-1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 16:51:15 +01:00
renovate[bot] c818151c2a
fix(deps): update dependency org.junit.jupiter:junit-jupiter-params to v5.10.1 (#259)
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.junit.jupiter:junit-jupiter-params](https://junit.org/junit5/)
([source](https://togithub.com/junit-team/junit5)) | `5.10.0` ->
`5.10.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.junit.jupiter:junit-jupiter-params/5.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.junit.jupiter:junit-jupiter-params/5.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.junit.jupiter:junit-jupiter-params/5.10.0/5.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.junit.jupiter:junit-jupiter-params/5.10.0/5.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 16:47:54 +01:00
renovate[bot] 7e67186cbe
fix(deps): update dependency org.junit.jupiter:junit-jupiter-params to v5.10.0 (#121)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.junit.jupiter:junit-jupiter-params](https://junit.org/junit5/)
([source](https://togithub.com/junit-team/junit5)) | `5.9.2` -> `5.10.0`
|
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.junit.jupiter:junit-jupiter-params/5.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.junit.jupiter:junit-jupiter-params/5.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.junit.jupiter:junit-jupiter-params/5.9.2/5.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.junit.jupiter:junit-jupiter-params/5.9.2/5.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDcuMiIsInVwZGF0ZWRJblZlciI6IjM2LjEwNy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-05 14:40:54 +01:00
renovate[bot] c03935cccf
fix(deps): update dependency com.ibm.icu:icu4j to v73.2 (#120)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.ibm.icu:icu4j](https://icu.unicode.org/)
([source](https://togithub.com/unicode-org/icu)) | `73.1` -> `73.2` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.ibm.icu:icu4j/73.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.ibm.icu:icu4j/73.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.ibm.icu:icu4j/73.1/73.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.ibm.icu:icu4j/73.1/73.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>unicode-org/icu (com.ibm.icu:icu4j)</summary>

###
[`v73.2`](https://togithub.com/unicode-org/icu/compare/release-73-1...release-73-2)

[Compare
Source](https://togithub.com/unicode-org/icu/compare/release-73-1...release-73-2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDcuMiIsInVwZGF0ZWRJblZlciI6IjM2LjEwNy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-15 19:05:03 +02:00
Nik Clayton 1bf13b10f8
refactor: Transition from Tusky to Pachli
- Rename packages to app.pachli.*
- Switch to Pachli icons (blue / orange)
- Reset database schema version to 1
- Reset versionCode to 1 and versionName to "1.0"
- Update colour scheme, use colorPrimary etc through the app
- Use Material UI components for toolbars
- Use "Pachli" in strings (UI, constants, etc)
- Update copyright on code I contributed
- Update README
- Update fastlane metadata
2023-09-05 13:33:37 +02:00
Nik Clayton a441576bf6
style: Require trailing comma, and break lines
Requiring trailing commas on multi-line lists of items (declarations
and call sites) reduces future repository churn when those lines are
changed, but introduces additional churn now.

Bite the bullet and make the change, as well as adjusting lines that
were too long / indented incorrectly.

The changes were performed automatically, using the `ktlintFormat` task.

Based on https://github.com/tuskyapp/Tusky/pull/3968 by
https://github.com/tinsukE
2023-09-04 20:22:10 +02:00
Nik Clayton d7b504f31e
change: Add tools/mklanguages
The existing language list is incomplete, sorted incorrectly and does
not use the correct language names.

Add a small tool that parses the resource directories that contain
string translations, determines the correct language name and sort
order, and updates the correct application resources so language
lists are displayed correctly.
2023-09-04 20:22:05 +02:00