Commit graph

129 commits

Author SHA1 Message Date
Harsh Shandilya
53476f612b
feat: add slack-lint-checks 2023-06-04 01:52:57 +05:30
Harsh Shandilya
bd464556b6
feat(build): use JVM toolchains to enforce Java 17 usage
This simplifies project setup in both CI and for individual contributors
2023-05-24 01:53:12 +05:30
Harsh Shandilya
6b8ca1601d
feat(build): move to AGP 8.2.x 2023-05-20 23:50:39 +05:30
Harsh Shandilya
72696ae557
feat(build): raise target bytecode to Java 17 2023-05-16 15:54:35 +05:30
Harsh Shandilya
ec696c1d8d
feat: raise min SDK to 26
Autofill is only available on API 26 and above and I do not want to deal with
bugs on these older Android releases.
2023-05-12 20:28:36 +05:30
Harsh Shandilya
ff0b489dd9
feat(build): raise Kotlin target to match version 2023-05-06 01:58:43 +05:30
renovate[bot]
d04e1fa368
fix(deps): update dependency com.facebook:ktfmt to v0.44 (#2490)
* fix(deps): update dependency com.facebook:ktfmt to v0.44

* chore: reformat with ktfmt 0.44

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2023-04-29 01:28:41 +00:00
Harsh Shandilya
0542963ae0
fix(build): implement certificate pinning 2023-04-27 15:57:23 +05:30
Harsh Shandilya
5659ad9863
feat(build): add Slack's Compose Lints 2023-04-27 14:45:06 +05:30
Harsh Shandilya
f0ac9f97e2
feat(build): remove Detekt
This no longer adds value for me and instead results in unnecessary
bikeshedding.
2023-04-27 14:45:06 +05:30
Harsh Shandilya
ca327555cd
refactor(build): introduce a standalone plugin for Kotlin JVM libraries 2023-04-27 01:34:35 +05:30
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