Commit graph

64 commits

Author SHA1 Message Date
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
df764932f7
Migrate to Metalava for validating API (#2195) 2022-10-21 06:32:23 +00:00
Harsh Shandilya
8a9ebf3f7e
build-logic: introduce versions plugin 2022-07-07 11:28:58 +05:30
Harsh Shandilya
179e7a5044
Tighten down dependency resolution (#1903) 2022-05-09 07:46:27 +00:00
Harsh Shandilya
84755a3721
build-logic: remove explicit Dokka dependency (#1873) 2022-04-26 13:17:30 +05:30
Harsh Shandilya
109de59118
Workaround AGP and Dokka conflict (#1872) 2022-04-25 20:13:37 +00:00
Harsh Shandilya
2e3e6ef052
Switch to R8 dev releases (#1738) 2022-02-21 18:22:48 +05:30
renovate[bot]
c83ce48196
chore(deps): update com.google.dagger to v2.41 (#1732)
* chore(deps): update com.google.dagger to v2.41

* build: switch Hilt to new plugin syntax

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-02-17 02:36:22 +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
52cba5864d
build: use Hilt through buildscript classpath 2021-12-03 12:59:58 +05:30
Harsh Shandilya
120dc5fca4
all: switch to new convention plugins 2021-12-03 12:59:57 +05:30
Harsh Shandilya
c938ee1837
build: switch root project to convention plugins 2021-11-16 00:22:17 +05:30
Harsh Shandilya
96a9211f9e
build-logic: migrate Spotless to a convention plugin 2021-11-15 23:57:40 +05:30
Harsh Shandilya
3ae105df92
Configure Spotless for all projects and tweak Dagger flags (#1427) 2021-06-01 09:35:05 +00:00
Aditya Wasan
373a46f73a
Add compose dependencies (#1421)
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-25 09:45:26 +00:00
Harsh Shandilya
36e23c4cb5
build: bump kgp-leak-patcher
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:35 +05:30
Harsh Shandilya
7050f0ea40
build: switch to Spotless for formatting
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:33 +05:30
Harsh Shandilya
0f465d4b95
Upgrade Kotlin and AndroidX dependencies (#1402) 2021-05-06 06:53:53 +00:00
Harsh Shandilya
cfbdb5f92a
Update to Gradle 7.0 (#1381) 2021-04-12 12:08:06 +00:00
Harsh Shandilya
4c8c0f44c8
Update all dependencies (#1358)
* build: update all dependencies

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* autofill-parser: add new hints

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

* build: force the right annotation version manually

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
2021-04-01 05:52:43 +05:30
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
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
0afd6551aa
Rework buildSrc and update some dependencies (#1296) 2021-02-03 21:57:55 +05:30
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
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
8446342b6b
build: configure binary-compatibility-validator
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-01 14:08:40 +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
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
2fcec8685b
Update dependencies
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-24 12:25:01 +05:30
Harsh Shandilya
c4f3cd7159
Uprev to Gradle 5.6.3
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-18 14:48:54 +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
Harsh Shandilya
0516e3153f
Uprev dependencies
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-09-08 22:03:24 +05:30
Harsh Shandilya
1b5c99df15
Bump Gradle from 5.5.1 to 5.6
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-08-17 11:35:36 +05:30
Harsh Shandilya
7f7aea064e
Bump gradle-versions-plugin from 0.21.0 to 0.22.0
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-08-11 11:03:46 +05:30
Harsh Shandilya
bd48acce00
Bump AGP from 3.5.0-rc02 to 3.5.0-rc03
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-08-11 11:03:12 +05:30
Harsh Shandilya
3a4d46ecb2
Bump AGP from 3.5.0-rc01 to 3.5.0-rc02
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-08-03 13:28:54 +05:30
Harsh Shandilya
0c1245cd4d
Update AGP
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-28 12:08:36 +05:30
Harsh Shandilya
dc63ab64a7
Uprev AGP to latest beta
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-28 12:08:25 +05:30