Harsh Shandilya
7b5ded4064
refactor(build): commonize Lint config
2023-04-27 01:34:35 +05:30
Harsh Shandilya
50c00e53bc
fix(build): simplify Kotlin JVM target handling
2023-04-25 00:07:31 +05:30
Harsh Shandilya
27d5371472
chore(build): misc cleanups to application and dependency updates plugins
2023-04-23 14:55:01 +05:30
Harsh Shandilya
9348b7c444
fix(build): switch kotlin-library plugin to compilerOptions
DSL
2023-04-23 14:54:24 +05:30
Harsh Shandilya
57670ea047
fix(build): do not apply Android plugin in kapt plugin
2023-04-23 14:54:05 +05:30
Harsh Shandilya
57be46b590
chore(build): simplify library release signing setup
2023-04-23 14:53:24 +05:30
Harsh Shandilya
5e3c08f1da
feat(deps): migrate to Kotlin 1.8.20
2023-04-10 16:20:59 +05:30
Harsh Shandilya
8e14f8ccaf
feat(build): migrate to Crowdin V2 API
2023-03-26 19:00:38 +05:30
Harsh Shandilya
db7756638a
refactor(build): wire up CC-compatible task dependencies for Crowdin
2023-03-21 13:45:12 +05:30
Harsh Shandilya
e8bd4c9bc0
feat(build): pull out Crowdin tasks to their own classes
2023-03-21 13:45:12 +05:30
Harsh Shandilya
9f554376e7
fix(build): disable SAM conversion for build-logic
...
No longer required https://docs.gradle.org/8.1-rc-1/release-notes.html#:~:text=Support%20of%20Java%20lambdas
2023-03-21 13:45:12 +05:30
Harsh Shandilya
2f524fc2b7
fix(build): remove DSL_SCOPE_VIOLATION
suppression
...
This was a Gradle bug that is now fixed https://docs.gradle.org/8.1-rc-1/release-notes.html#:~:text=Access%20to%20version%20catalog%20for%20plugins%20in%20the%20plugins%20%7B%7D%20block
2023-03-21 13:43:09 +05:30
Harsh Shandilya
a6652134a2
fix(build): remove unneeded afterEvaluate
...
https://docs.gradle.org/8.1-rc-1/release-notes.html#:~:text=Easier%20customization%20of%20Kotlin%20options
2023-03-21 13:43:09 +05:30
Harsh Shandilya
66158adc13
chore(build): fix deprecation warning
...
Now visible due to this change: https://docs.gradle.org/8.1-rc-1/release-notes.html#:~:text=Useful%20deprecation%20warnings%20and%20errors%20from%20Kotlin%20script%20compilation
2023-03-21 13:43:09 +05:30
Harsh Shandilya
3e56fa2e12
refactor: use worker API for KtfmtFormatTask
2023-03-04 02:01:15 +05:30
Harsh Shandilya
bdf81cba52
feat(build): configure Lint baselines for all compatible projects
2023-03-01 17:16:02 +05:30
Harsh Shandilya
a6e845f461
chore(build): ensure Kotlin versions are aligned in build-logic
project
2023-02-27 21:25:37 +05:30
Harsh Shandilya
636fee5a8d
fix: remove deprecated API
2023-01-05 00:35:24 +05:30
Harsh Shandilya
a72a8ae892
Revert "Revert "fix: disable Sentry dependency report""
...
This reverts commit 5cccd535ae
.
2023-01-03 19:50:44 +05:30
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