Commit graph

148 commits

Author SHA1 Message Date
Harsh Shandilya
5cccd535ae
Revert "fix: disable Sentry dependency report"
This reverts commit 5c35acdfbc.
2022-12-29 22:51:27 +05:30
Harsh Shandilya
fbb8eedb9d
feat(gradle): bump to 8.0 RC1 2022-12-29 22:51:27 +05:30
Harsh Shandilya
5c35acdfbc
fix: disable Sentry dependency report
Incompatible with configuration cache
2022-12-19 11:40:28 +05:30
Harsh Shandilya
1c1b04dad9
refactor: simplify KtfmtCheckTask 2022-12-08 21:31:17 +05:30
Harsh Shandilya
e949ab94a5
Revert "fix(deps): update kotlin to v1.7.22 (#2278)"
Let's just wait for a real update

This reverts commit 54bb4676a7.
2022-12-08 18:58:16 +05:30
Harsh Shandilya
acdad21bf6
refactor(build-logic): use ExtensionContainer#configure extension 2022-12-02 02:17:20 +05:30
Harsh Shandilya
afd0eebdd3
refactor(build-logic): move all code to a single top-level project 2022-12-02 01:57:02 +05:30
renovate[bot]
54bb4676a7
fix(deps): update kotlin to v1.7.22 (#2278)
* fix(deps): update kotlin to v1.7.22

* fix(gradle): allow Kotlin 1.7.22 for Compose Compiler

(cherry picked from commit 6c218c20bfd21e0a9ad75e3dfc98525d4ac40a7f)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-12-01 15:19:41 +00:00
Harsh Shandilya
06f8aea595
fix(build-logic): re-enable Test task state tracking 2022-11-25 01:22:01 +05:30
Harsh Shandilya
ff85f751a3
fix(build-logic): set hook source file path sensitivity to NONE
The file path is irrelevant, we only care about the script contents
2022-10-31 11:18:26 +05:30
Harsh Shandilya
56fd18b17d
feat: rip out Spotless
Spotless' configuration cache support is irritating since it requires you to wipe config cache
every time you initialise a Gradle daemon.
2022-10-29 08:10:44 +05:30
Harsh Shandilya
fd20480f55
feat(build): add a homebrew ktfmt plugin
The general idea of the implementation is borrowed from https://github.com/cortinico/ktfmt-gradle
2022-10-29 08:00:28 +05:30
Harsh Shandilya
edc110dcc1
chore(gradle): add missing suppressions and license headers 2022-10-24 14:46:38 +05:30
Harsh Shandilya
df764932f7
Migrate to Metalava for validating API (#2195) 2022-10-21 06:32:23 +00:00
Harsh Shandilya
48ae52f9cf
refactor(build-logic): make GitHooksTask more lazy 2022-10-07 18:06:22 +05:30
Harsh Shandilya
fe666e9ecb
refactor(build-logic): move PSL download to task action 2022-10-07 17:28:37 +05:30
Harsh Shandilya
ebada9bfeb
chore(deps): upgrade to Compose Compiler 1.3.2 2022-10-05 20:28:51 +05:30
renovate[bot]
a4c122a4b1
fix(deps): update kotlin to v1.7.20 (#2154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-10-03 14:13:16 +05:30
renovate[bot]
3573c891da
chore(deps): update dependency com.facebook:ktfmt to v0.41 (#2147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-24 09:07:57 +05:30
Harsh Shandilya
8786e6abff
Upgrade AndroidX dependencies (#2139) 2022-09-21 19:26:15 +00:00
Harsh Shandilya
85a4c027e4
Fix bundle collection task (#2122) 2022-09-10 20:08:05 +00:00
renovate[bot]
c289b01a86
fix(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.22.0 (#2121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-09-10 06:33:23 +00:00
renovate[bot]
76f77073ec
fix(deps): update dependency androidx.compose.compiler:compiler to v1.3.1 (#2114)
* fix(deps): update dependency androidx.compose.compiler:compiler to v1.3.1

* Remove Compose Compiler version check suppression

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-09-08 04:38:33 +00:00
Harsh Shandilya
a828846345
Upgrade ktfmt and setup automatic updates (#2103) 2022-09-02 16:34:02 +00:00
Harsh Shandilya
140175823f
Fix some StrictMode violations and start logging them (#2031) 2022-07-24 11:46:22 +00:00
Harsh Shandilya
ade73fd5bc
Compile against SDK 33 (#2023)
* Compile against SDK 33

* autofill-parser: fix warnings for SDK 33 upgrade

* app: fix warnings for SDK 33 upgrade

* Mark all clipboard content as sensitive from crypto activities

* Skip Snackbar on Android 13 and above

* detekt: raise `TooManyFunctions` limit to 15
2022-07-20 01:29:12 +05:30
Harsh Shandilya
af362dd6e3
gradle: add detekt as a dependency to the check task 2022-07-17 13:57:13 +05:30
Harsh Shandilya
c2faeffd84
detekt: init 2022-07-17 13:56:54 +05:30
Harsh Shandilya
549ee790d3
all: re-do package structure yet again 2022-07-15 01:13:47 +05:30
Harsh Shandilya
f973f32a4d gradle: add play-sdk-proto module to gMaven filter 2022-07-09 10:16:01 +00:00
Harsh Shandilya
786ee94a9e
Switch to R8 dev releases (#1986) 2022-07-07 08:58:45 +00:00
Harsh Shandilya
91f29f6a40
gradle: re-enable ui-compose 2022-07-07 11:28:59 +05:30
Harsh Shandilya
78a1381b63
gradle: bump all versions 2022-07-07 11:28:59 +05:30
Harsh Shandilya
8a9ebf3f7e
build-logic: introduce versions plugin 2022-07-07 11:28:58 +05:30
Harsh Shandilya
c625b2114a
build-logic: switch to full publish plugin 2022-06-20 14:32:14 +05:30
Harsh Shandilya
c7e2174c44
Fix Crowdin GitHub Actions job (#1961)
* github: turn off configuration cache for Crowdin job

* gradle: bump ktfmt
2022-06-16 13:15:31 +05:30
Harsh Shandilya
fefe570c41
build-logic: rework implementation details of versioning plugin 2022-06-12 17:56:26 +05:30
Harsh Shandilya
68cf22fb75
build-logic: rewrite version overrides to edit the version catalog 2022-06-12 16:31:42 +05:30
Harsh Shandilya
426fc924fb
Upgrade ktfmt (#1942)
* build-logic: upgrade ktfmt

* all: reformat
2022-06-09 13:51:29 +05:30
Harsh Shandilya
98f49e7b69
kotlin-plugins: convert to full plugins 2022-06-05 03:58:16 +05:30
Harsh Shandilya
fe3ca3f7d8
automation-plugins: convert to full plugins 2022-06-05 03:58:15 +05:30
Harsh Shandilya
504c8b466c
android-plugins: convert to full plugins 2022-06-05 03:58:15 +05:30
Harsh Shandilya
fee7510496
Miscellaneous cleanups (#1934)
* build-logic: cleanups

* coroutine-utils-testing: cleanups

* coroutine-utils: cleanups

* crypto-common: cleanups

* crypto-pgpainless: cleanups

* format-common: cleanups
2022-06-04 09:11:52 +00:00
renovate[bot]
1f3d597bc1
chore(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.20.0 (#1932)
* chore(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.20.0

* Simplify maven-publish configuration

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-06-02 20:20:28 +00:00
Harsh Shandilya
88151f4bdd
Simplify BouncyCastle workaround and upgrade Fragment (#1926)
* Simplify bouncycastle workaround

* Upgrade fragment-ktx to 1.5.x
2022-05-27 07:30:10 +00:00
Harsh Shandilya
53fb1eba9f
Disable sentry autoinstall (#1925) 2022-05-26 13:47:59 +00:00
Harsh Shandilya
e5085c9989
gradle: bump dependencies (#1924) 2022-05-26 06:23:46 +00:00
Harsh Shandilya
9d3312611e
Instate shadow jobs (#1923) 2022-05-25 12:29:04 +00:00
Harsh Shandilya
37b80d5d19
Upgrade to AGP 7.2.0 (#1920) 2022-05-19 07:23:59 +00:00
Harsh Shandilya
179e7a5044
Tighten down dependency resolution (#1903) 2022-05-09 07:46:27 +00:00
Harsh Shandilya
41213da780
Upgrade to ktfmt 0.37 (#1897) 2022-05-05 03:17:15 +00:00
Harsh Shandilya
c555609f16
Misc cleanups (#1891) 2022-05-02 20:18:16 +00:00
Harsh Shandilya
d4a4ac06ed
crypto-pgpainless: prepare for error handling (#1877) 2022-04-27 17:02:36 +00:00
Harsh Shandilya
84755a3721
build-logic: remove explicit Dokka dependency (#1873) 2022-04-26 13:17:30 +05:30
Harsh Shandilya
758e3210a3
Allow sentry mapping upload task to be configured at build-time (#1870) 2022-04-25 11:33:35 +05:30
Harsh Shandilya
aaf6ceb8ec
all: reformat with ktfmt 0.36 2022-04-25 10:47:02 +05:30
Harsh Shandilya
11720e9542
build-logic: upgrade ktfmt 2022-04-25 10:45:07 +05:30
Harsh Shandilya
62902ca80b
Reorganize crypto-common code and fix a couple minor bugs (#1868) 2022-04-24 15:55:34 +00:00
Harsh Shandilya
493e869022
Remove support for external storage and raise target SDK to 31 (#1863) 2022-04-21 23:34:14 +05:30
renovate[bot]
18cff9c144
chore(deps): update dependency org.pgpainless:pgpainless-core to v1.2.0 (#1832)
* chore(deps): update dependency org.pgpainless:pgpainless-core to v1.2.0

* gradle: bump bouncycastle to 1.71

* Transparently update older BC versions

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-04-09 13:49:31 +00:00
renovate[bot]
48885a1ec5
chore(deps): update org.jetbrains.kotlin to v1.6.20 (#1817)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-04-01 17:16:07 +00:00
Harsh Shandilya
a149704331
Bump ktfmt to 0.35 (#1797) 2022-03-24 07:42:07 +00:00
Harsh Shandilya
861ca58a58
Configure Sentry with more information (#1782)
* build-logic: remove error path in Sentry plugin

* gradle: fix UnstableApiUsage warning

* build-logic: configure Sentry Gradle Plugin

* app: set traces sample-rate to 1.0

* sentry-stub: init

* app: populate Sentry user field with feature flags
2022-03-13 12:11:01 +00:00
Harsh Shandilya
2edaf3d14b
build-logic: rename copy files to destination rather than move (#1773) 2022-03-08 20:39:18 +00:00
renovate[bot]
8f2c5cfccb
chore(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.19.0 (#1756)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-02-26 17:46:25 +00:00
Harsh Shandilya
778834d5e4
Upgrade ktfmt to 0.33 (#1753)
* build: upgrade ktfmt to 0.33

* all: reformat with ktfmt 0.33
2022-02-26 01:58:20 +05:30
Harsh Shandilya
acc448ce74
Use explicit Gradle tasks to handle build artifact collection (#1745) 2022-02-23 14:25:03 +05:30
Harsh Shandilya
f08ad35d2e
Expand tests for multiple identity keys (#1743) 2022-02-22 14:33:03 +05:30
Harsh Shandilya
3d0006d610
Introduce Sentry for error reporting (#1737) 2022-02-20 19:01:19 +05:30
Harsh Shandilya
c9992a64fc
Turn on Configuration Cache (#1733) 2022-02-17 04:43:04 +00:00
renovate[bot]
b12abc6ac7
chore(deps): update dependency gradle to v7.4 (#1717)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-02-08 12:03:18 +00:00
Harsh Shandilya
cfb4d6be2b
Workaround configuration cache bug in AGP (#1711) 2022-02-05 05:26:26 +00:00
Harsh Shandilya
664e1fbba0
Begin rework for configuration cache compatibility (#1709) 2022-02-05 01:57:41 +05:30
Harsh Shandilya
2b293e5805
Port build to Gradle 7.4-rc-2 (#1707) 2022-02-04 13:59:36 +00:00
Harsh Shandilya
d89d500319
Move Compose code to ui-compose module (#1687) 2022-01-26 17:11:04 +00:00
Aditya Wasan
abc62c2b6b
Refactor randomized password generator into a separate module (#1663) 2022-01-13 16:43:53 +00:00
Harsh Shandilya
0def9a04f2
Delete empty values directories in Crowdin cleanup (#1656) 2022-01-09 20:30:53 +00:00
Harsh Shandilya
910212b3ae
Raise timeouts for Crowdin task again (#1652)
* build-logic: raise HTTP timeouts for Crowdin again

* github: allow running Crowdin job manually
2022-01-09 08:23:38 +00:00
Harsh Shandilya
674a7d299b
Misc cleanups to build-logic and expand BCV exclusion list (#1622)
* build-logic: remove `kotlin-dsl-precompiled-script-plugins` plugin

* build-logic: use generated accessors for extensions

* build: exclude non-published library projects from API dump

There's no point in tracking binary compatibility for libraries that are only used internally
2021-12-26 06:29:57 +00:00
Harsh Shandilya
736f84acb4
Misc cleanups and fixes (#1611) 2021-12-23 12:22:17 +00:00
Harsh Shandilya
75cc49d51f
Increase timeouts for Crowdin API build task (#1602) 2021-12-23 07:15:29 +00:00
Harsh Shandilya
126bed1a8b
Upgrade to Gradle 7.3.3 (#1600)
* gradle: upgrade to 7.3.3

* build-logic: make Kotlin and Java targets match
2021-12-22 16:17:19 +00:00
Harsh Shandilya
64fed530b2
Batch dependency upgrades (#1590) 2021-12-14 17:08:01 +00:00
Harsh Shandilya
7d39bc0ae2
Miscellaneous build and CI cleanups (#1587) 2021-12-11 00:12:54 +05:30
Harsh Shandilya
1df01a2f54
Upgrade workflows to use Java 17 (#1579) 2021-12-07 15:21:54 +00:00
Harsh Shandilya
09a10678de
build: add kotlinx-kover for library code coverage 2021-12-07 14:48:08 +05:30
Harsh Shandilya
208eed4269
Turn on explicit API for Kotlin JVM projects (#1568) 2021-12-03 09:38:33 +00:00
Harsh Shandilya
d9727f7a4c
gradle: bump to 7.3.1 2021-12-03 12:59:59 +05:30
Harsh Shandilya
7d03924de6
build-logic: configure SlimTests correctly 2021-12-03 12:59:58 +05:30
Harsh Shandilya
4d327646a4
build-logic: add android plugins 2021-12-03 12:59:57 +05:30
Harsh Shandilya
4fb066dff5
build-logic/kotlin-plugins: add android and kapt plugins 2021-12-03 12:59:57 +05:30
Harsh Shandilya
70cdd61797
build-logic: add crowdin and psl convention plugins 2021-12-03 12:59:57 +05:30
Harsh Shandilya
dfee170bd8
build-logic: add android convention plugins 2021-12-03 12:59:56 +05:30
Harsh Shandilya
553a9e8492
build-logic: configure repositories to include Google Maven 2021-12-03 12:59:56 +05:30
Harsh Shandilya
c3279e65b7
build-logic: add automation convention plugins 2021-11-16 00:22:17 +05:30
Harsh Shandilya
cfeca2d3ee
build-logic: add Kotlin convention plugins 2021-11-16 00:22:17 +05:30
Harsh Shandilya
c2e2e4f842
Convert build-logic to a proper included build 2021-11-16 00:22:16 +05:30
Harsh Shandilya
96a9211f9e
build-logic: migrate Spotless to a convention plugin 2021-11-15 23:57:40 +05:30