Commit graph

114 commits

Author SHA1 Message Date
Harsh Shandilya
96a9211f9e
build-logic: migrate Spotless to a convention plugin 2021-11-15 23:57:40 +05:30
Harsh Shandilya
06ae72d771
gradle: bump to 7.3 2021-11-15 23:54:11 +05:30
Harsh Shandilya
51956be665
Update dependencies (#1540) 2021-11-13 17:50:15 +05:30
Harsh Shandilya
bbadf4a68d
Upgrade dependencies (#1537)
* app: use MaterialAlertDialogBuilder for preference dialogs

* build: upgrade all dependencies
2021-11-08 10:54:01 +05:30
Harsh Shandilya
6df3ba0083
Upgrade plugin dependencies and fix Javadoc generation (#1517)
* build: upgrade all plugins

* autofill-parser/openpgp-ktx: apply Dokka plugin

* Move repository configuration to settings.gradle.kts

* Replace deprecated lintOptions

* Reorder repositories
2021-10-09 13:13:14 +05:30
Harsh Shandilya
c7fdd913c5
Add installGitHooks task for pre-push Git hooks (#1516)
* build: add a pre-push task and Gradle task to install it

* Document `installGitHooks` in contributing.md
2021-10-08 10:38:09 +05:30
Harsh Shandilya
62d78dd52a
Upgrade AndroidX dependencies (#1514)
Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-10-06 11:32:02 +00:00
Harsh Shandilya
f00a53c29b
Bump dependencies for Kotlin 1.5.30 (#1497) 2021-09-03 17:49:05 +05:30
Harsh Shandilya
8c56a1d7b8
Update AndroidX deps (#1491) 2021-08-24 16:03:29 +00:00
Harsh Shandilya
42220383d3
Bump Gradle and Timber (#1488)
* build: bump to Gradle 7.2

* gradle: bump to Timber 5.0.1
2021-08-18 10:08:40 +05:30
Aditya Wasan
b7abd561f5
Add KeyPair and KeyManager to manage keys in the app (#1487)
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-08-17 04:14:43 +05:30
Harsh Shandilya
a82f8dda86
Disable explicit API for tests (#1483)
* build: disable explicit API for test tasks

* Remove `internal` modifier from test classes
2021-08-13 18:40:34 +05:30
Harsh Shandilya
1071e0e749
Revamp PSL updates (#1475)
* build: import Mozilla's Gradle plugin for PSL updates

* autofill-parser: add tests for PublicSuffixListLoader

* autofill-parser: regenerate publicsuffixes list

* github: switch to Gradle plugin for PSL updates
2021-07-29 21:23:59 +05:30
Harsh Shandilya
403bb383b5
Upgrade to AGP 7.0.0 (#1474) 2021-07-29 09:54:31 +00:00
Harsh Shandilya
d2832aad13
Bump plugin dependencies (#1467) 2021-07-21 19:39:23 +00:00
Harsh Shandilya
392ad847bf
Cleanup and fix CI tests (#1464) 2021-07-19 16:31:37 +05:30
Harsh Shandilya
fd6d0e52fc
Upgrade dependencies and temporarily disable Compose (#1457) 2021-07-15 06:44:05 +00:00
Harsh Shandilya
9c388e4974
Upgrade remaining dependencies (#1450) 2021-07-02 21:26:19 +00:00
Harsh Shandilya
af27a330da
build: upgrade dependencies (#1444)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-06-25 00:28:05 +05:30
Harsh Shandilya
3ae105df92
Configure Spotless for all projects and tweak Dagger flags (#1427) 2021-06-01 09:35:05 +00:00
Harsh Shandilya
a740cb570a
build: escalate warnings to errors
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-27 04:29:13 +05:30
Aditya Wasan
373a46f73a
Add compose dependencies (#1421)
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-25 09:45:26 +00:00
Harsh Shandilya
8f4cab4917
build: upgrade AGP
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22 22:13:29 +05:30
SphericalKat
f377510afb
chore(build): add mock shared preference dependency
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-05-17 14:19:02 +05:30
Harsh Shandilya
7e2eb2425e
all: reformat with Spotless again
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-15 15:40:20 +05:30
Harsh Shandilya
2fcb285e27
spotless: don't set the ratchetFrom option
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-15 15:40:20 +05:30
Harsh Shandilya
f25dabc5e7
Bump Robolectric, Gradle and kotlinx.coroutines (#1408) 2021-05-15 06:59:35 +00:00
Harsh Shandilya
859dc008bc
Upgrade Gradle and androidx.annotation (#1407) 2021-05-12 16:11:32 +05:30
Harsh Shandilya
a9cf7d645d
build: bump zxing-android and move to MavenCentral
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:34 +05:30
Harsh Shandilya
7050f0ea40
build: switch to Spotless for formatting
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:33 +05:30
Harsh Shandilya
00e0881e47
build: fix Crowdin plugin resolving variables eagerly
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:33 +05:30
Harsh Shandilya
2ab47ca6ad
build: remove deprecated IR toggle
It's enabled by default in Kotlin 1.5.0

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:33 +05:30
Harsh Shandilya
c56784a742
build: remove unused JCenter include
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:32 +05:30
Harsh Shandilya
9d4a490c44
build: bump gradle-maven-publish-plugin to 0.15.1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-07 19:05:40 +05:30
Harsh Shandilya
0f465d4b95
Upgrade Kotlin and AndroidX dependencies (#1402) 2021-05-06 06:53:53 +00:00
Harsh Shandilya
ec7daf895e
build: trigger a Crowdin build before syncing strings
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-02 07:36:18 +05:30
Harsh Shandilya
4880e1db27
Upgrade to Kotlin 1.5 (#1397)
* build: upgrade Kotlin to 1.5.0 and Hilt to 2.35.1

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* all: address kotlin.time.seconds deprecation

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* autofill-parser/openpgp-ktx: require Kotlin 1.5

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* all: address string method deprecations

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* build: disable NewApi lint

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-28 10:27:14 +05:30
Harsh Shandilya
d27ba408d8
build: add dependencies for format-common
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18 03:01:14 +05:30
Harsh Shandilya
a13176a23d
build: enable explicit API automatically on all library projects
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18 03:01:14 +05:30
Harsh Shandilya
cada2353c1
build: add src/*/kotlin to Java sources
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-17 20:33:06 +05:30
Harsh Shandilya
1b0eb304de
buildSrc: update binary-compatibility-validator
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-16 20:42:23 +05:30
Harsh Shandilya
893af65b45
buildSrc: replace dependencies with direct references
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-16 17:02:30 +05:30
Harsh Shandilya
fb7788ba7e
Fix library deployment workflow (#1383) 2021-04-15 14:11:43 +05:30
Harsh Shandilya
cfbdb5f92a
Update to Gradle 7.0 (#1381) 2021-04-12 12:08:06 +00:00
Harsh Shandilya
fbed718ce0
Update build dependencies (#1376)
* build: update dependencies

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* github: bump actions/upload-artifact

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-08 09:17:17 +05:30
Amogh Lele
7acbf0eda8
Switch to sublime text's fuzzy matching (#1372)
* refactor(search): use sublime text's fuzzy matching algorithm

Signed-off-by: SphericalKat <amolele@gmail.com>

* chore(changelog): update

Signed-off-by: SphericalKat <amolele@gmail.com>

* build: fetch sublime-fuzzy from Maven Central

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* chore(changelog): update

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>

Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-07 11:02:41 +05:30
Harsh Shandilya
4c8c0f44c8
Update all dependencies (#1358)
* build: update all dependencies

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* autofill-parser: add new hints

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* build: force the right annotation version manually

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
2021-04-01 05:52:43 +05:30
Harsh Shandilya
a87060140f
buildSrc: add removeIncompleteStrings step to Crowdin plugin
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 14:58:18 +05:30
Harsh Shandilya
a8216feadc
build: update AGP to 4.1.3
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 14:58:17 +05:30
Harsh Shandilya
c85a31f885
buildSrc: properly apply ktfmt plugin and reformat
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 14:58:17 +05:30