Commit graph

118 commits

Author SHA1 Message Date
Harsh Shandilya
bf6fe08472
refactor(build): remove kotlin-library plugin from Android modules 2023-04-27 01:34:35 +05:30
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