Harsh Shandilya
fbfe7dcb1e
buildSrc: simplify CrowdinDownloadPlugin
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-20 14:58:11 +05:30
Harsh Shandilya
71a0e02378
build: pin sshauthentication-api to v5.7.1
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 23:08:43 +05:30
Harsh Shandilya
bc65b59bac
Migrate to sshauthentication-api's JitPack coordinates ( #1348 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 09:05:04 +00:00
Harsh Shandilya
774fda83ac
all: reformat with ktfmt
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 11:40:30 +05:30
Harsh Shandilya
be31ae37f4
all: update copyrights
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 11:26:48 +05:30
Harsh Shandilya
cd378d1bbc
build: apply Ktfmt Gradle plugin
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 11:26:48 +05:30
Harsh Shandilya
5e28cf45e4
build: upgrade Kotlin and AGP
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 07:07:33 +05:30
Harsh Shandilya
34bba4be98
Plugins: constify fields
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18 07:07:30 +05:30
Harsh Shandilya
1084fc49b4
Update Gradle and tighten repository inclusion rules ( #1347 )
...
* build: remove now migrated indirect dependencies from JCenter
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: update Gradle 6.8.3
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: set explicit inclusions for Jitpack
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-17 00:34:13 +05:30
Harsh Shandilya
64fbd2ed44
build: use Kotlin's new JVM IR backend ( #1335 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-01 08:04:49 +00:00
Harsh Shandilya
5f4998834f
Update AndroidX dependencies ( #1324 )
...
* build: AndroidX update day
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Update buildSrc/src/main/java/Dependencies.kt
2021-02-24 21:38:03 +01:00
Harsh Shandilya
7fbe4be711
Update to SSHJ 0.31.0 ( #1314 )
...
Co-authored-by: Fabian Henneke <fabian@hen.ne.ke>
2021-02-10 13:00:30 +05:30
Harsh Shandilya
7f4ade8255
Replace JCenter with Maven Central ( #1303 )
2021-02-06 17:34:17 +05:30
Harsh Shandilya
c021869f97
Update MDC + Gradle and switch versioning to semver4j ( #1306 )
2021-02-06 12:32:57 +05:30
Harsh Shandilya
723acbf767
Miscellaneous cleanups and updates ( #1302 )
...
* build: upgrade to Gradle 6.8.1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* github: remove animation commands from PR workflow
The emulator runner action handles this for us
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade LeakCanary and WhatTheStack
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-04 23:11:39 +05:30
Harsh Shandilya
0afd6551aa
Rework buildSrc and update some dependencies ( #1296 )
2021-02-03 21:57:55 +05:30
Harsh Shandilya
7936ca1e78
Upgrade dependencies ( #1289 )
2021-01-28 14:48:58 +05:30
Harsh Shandilya
33d3683ae2
Codestyle churn ( #1283 )
...
* editorconfig: delete
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* idea: adjust codestyle
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* all: reformat with simplified import ordering rules
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-22 22:58:09 +05:30
Harsh Shandilya
3a2cfd22e6
Migrate versioning to Gradle plugin and automate version bumps ( #1282 )
2021-01-20 20:27:04 +05:30
Harsh Shandilya
405e1d1772
build: upgrade dependencies ( #1279 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-15 07:04:11 +01:00
Harsh Shandilya
8bd156dea6
Rework settings to use ModernAndroidPreferences ( #1236 )
...
Co-authored-by: Fabian Henneke <fabian@hen.ne.ke>
2021-01-12 11:19:28 +05:30
Harsh Shandilya
360f96306b
build: upgrade dependencies ( #1266 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-01-01 14:36:18 +01:00
Harsh Shandilya
1a774eae23
Automate Crowdin localisation sync ( #1265 )
...
* build: add a Gradle plugin for Crowdin
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build/crowdin: add skipCleanup extension property
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build/crowdin: also handle nonFree source set
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build/crowdin: fixup directory names for nonFree variant
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* app: sync translations from Crowdin
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* github: add Crowdin sync workflow
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-30 11:06:51 +01:00
Harsh Shandilya
255704c54a
build: upgrade to Kotlin 1.4.21 ( #1240 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-08 15:14:44 +01:00
Harsh Shandilya
6a6201f2ed
Dependency updates ( #1229 )
2020-12-03 22:02:01 +05:30
Harsh Shandilya
ed0fc19725
build: upgrade dependencies
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-30 13:57:58 +05:30
Harsh Shandilya
09c54007d0
build: restore JitPack repository
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-29 17:54:58 +05:30
Harsh Shandilya
853ec27a0b
build: remove APS maven repository
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-29 17:51:18 +05:30
Harsh Shandilya
61b5285e4e
build: use vendored openpgp-ktx
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-29 17:51:16 +05:30
Harsh Shandilya
fa2a93769f
build: move publishing config to buildSrc for re-use
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-29 17:18:34 +05:30
Harsh Shandilya
8c6809584d
Update Gradle and Kotlin ( #1212 )
2020-11-19 20:41:37 +05:30
Harsh Shandilya
d3c1a73050
build: refactor for configuration cache compatibility ( #1208 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-15 09:34:14 +01:00
Harsh Shandilya
f5d04f2e59
Update runtime dependencies to latest revisions ( #1203 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-14 12:00:28 +05:30
Harsh Shandilya
2845e01cd4
build: update openpgp-ktx and versions plugin ( #1185 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-04 02:50:13 +05:30
Harsh Shandilya
cff8d41c91
build: compile against SDK 30 and resolve deprecations
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-01 22:51:02 +05:30
Harsh Shandilya
18b6e93bb5
build: update CL, BC, WTS and AndroidX test
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-11-01 22:50:20 +05:30
Harsh Shandilya
f19ca706e6
Update kotlinx.coroutines and WhatTheStack ( #1177 )
...
* build: bump coroutines, AndroidX test and WhatTheStack
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* github: run dependency analysis workflow in pull_request_target context
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Downgrade AndroidX test back
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-27 09:42:32 +05:30
Harsh Shandilya
6c1e41ba10
Revamp build configuration ( #1156 )
...
* release: move scripts to scripts directory
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Move CI secrets to secrets directory
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* gradle: uprev to 6.7
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* gradle: suppress warnings about unsupported options
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: update dependencies
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: move Gradle plugins to ext
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: move configuration tasks to buildSrc
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* CHANGELOG: add entry for #1137
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Fix lint warnings
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-16 17:18:11 +02:00
Harsh Shandilya
e730a779d9
build: update runtime dependencies and Gradle plugins ( #1139 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-07 07:43:10 +02:00
Harsh Shandilya
d792fa5135
build: uprev dependencies
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-02 15:51:13 +05:30
Harsh Shandilya
8446342b6b
build: configure binary-compatibility-validator
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-01 14:08:40 +05:30
Harsh Shandilya
e212404dbe
Dependencies: downgrade annotation to 1.1.0
...
We don't use the new annotation added in the alpha and since this dependency is shared between the library and app it's best to stick to stable until necessary
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-20 21:49:10 +05:30
Harsh Shandilya
bad8e2b404
Misc cleanups to build and extension functions ( #1108 )
2020-09-18 18:14:52 +05:30
Vincent Breitmoser
0810273444
Autofill: Extract AutofillParser into separate subproject ( #1101 )
...
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-09-16 23:47:55 +05:30
Harsh Shandilya
9cb8551a90
build: update Kotlin and dependency-updates plugin ( #1094 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-10 22:37:16 +05:30
Harsh Shandilya
2e07eb1c38
Update dependencies and add EditorConfig file ( #1082 )
...
* build: uprev Gradle
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* editorconfig: init
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: remove unused dependency analysis plugin
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: update ConstraintLayout and AndroidX testing libraries
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-06 13:42:34 +02:00
Fabian Henneke
3840f43fa0
Refactor Git operations and auth ( #1066 )
...
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-03 14:18:14 +05:30
Fabian Henneke
9083ec896e
Prevent double tap events during password selection ( #1073 )
2020-09-03 11:38:02 +05:30
Fabian Henneke
cbb96397d1
Add Keystore backend for SSH public key authentication ( #1070 )
2020-09-01 13:42:27 +05:30
Harsh Shandilya
80e43e5675
Update dependencies ( #1039 )
...
* build: uprev dependencies
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Address deprecation warnings
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Update autofill, appcompat and core
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-21 21:48:53 +05:30
Harsh Shandilya
7a7e58f6dd
Revert "Reland symlink support ( #1020 )"
...
This does not work below API 27.
Fixes #1032
This reverts commit 087ab547c1
.
2020-08-21 01:11:06 +05:30
Fabian Henneke
14e3754ef3
Update sshj to 0.30.0 and improve algorithm order ( #1026 )
...
Updates sshj to 0.30.0, which brings support for rsa-sha2-* key types
and bugfixes related to RSA certificates and Android Keystore backed
keys.
Along the way, this improves the algorithm preferences to be consistent
with the Mozilla Intermediate SSH configuration (as far as possible,
given that most certificate types and some encryption algorithms are
not yet supported).
We also add "ext-info-c" to the kex algorithm proposal to work around
certain kinds of "user agent sniffing" that limits the support of
rsa-sha2-* key types.
2020-08-18 01:28:04 +05:30
Harsh Shandilya
e2a372bc63
build: update openpgp-ktx to 2.1.0 ( #1025 )
2020-08-17 13:28:43 +05:30
Harsh Shandilya
7bb40d109a
build: update to Kotlin 1.4 ( #1021 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-15 22:45:31 +02:00
Fabian Henneke
087ab547c1
Reland symlink support ( #1020 )
...
* Add symlink support to JGit (#1016 )
* Add symlink support to JGit
* Fix a typo
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
* Prevent crash when following a broken symlink
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-14 13:27:16 +05:30
Harsh Shandilya
57f1c65fdf
Restore workaround for preventing empty commits ( #1019 )
...
* Revert "Add symlink support to JGit (#1016 )"
This reverts commit 5032696cec
.
* Restore workaround for empty commits and document commands
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Update app/src/main/java/com/zeapo/pwdstore/git/GitCommandExecutor.kt
2020-08-13 22:16:47 +02:00
Fabian Henneke
5032696cec
Add symlink support to JGit ( #1016 )
...
* Add symlink support to JGit
* Fix a typo
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-13 15:51:09 +05:30
Harsh Shandilya
8f957ca994
Uprev Gradle and dependencies ( #1007 )
...
* build: uprev Gradle
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: uprev dependencies
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* app/proguard: remove Tink rules
I'm assuming the R8 problems fixed by the Tink upgrade cover this as well
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-11 10:33:30 +02:00
Harsh Shandilya
6ca02eb371
Upgrade to Kotlin 1.4 ( #978 )
...
* build: uprev to Kotlin 1.4
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Remove explicit type argument
Not required anymore with Kotlin 1.4
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: enable Kotlin 1.4 language features
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* all: add trailing commas where reasonable
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-07-29 17:10:46 +05:30
Harsh Shandilya
356a8cd8c6
Migrate to Gradle Kotlin DSL ( #936 )
2020-07-23 14:39:36 +05:30
Harsh Shandilya
b2d352e3ea
Revert back to Groovy DSL
...
The Kotlin DSL's API is extremely terrible and makes the simplest tasks annoying. It also introduces a very noticeable build overhead that I'd rather not have.
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-06 19:41:15 +05:30
Harsh Shandilya
7a80be7732
treewide: Fix typo in license header
...
While we're here, also clarify we're strictly GPL-3.0 and not automatically
opting into future revisions of the license.
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02 20:10:07 +05:30
Harsh Shandilya
ee3535482a
treewide: Add copyrights
...
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02 18:11:22 +05:30
Harsh Shandilya
f1f59dc1ed
Add Spotless to regulate codestyle ( #550 )
...
* Add Spotless to regulate codestyle
* treewide: Run spotless
* Add spotlessCheck to CI test
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02 18:04:18 +05:30