Commit graph

47 commits

Author SHA1 Message Date
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
Harsh Shandilya
0889cbe7d2
Dependency upgrades
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-16 18:33:13 +05:30
Harsh Shandilya
7ffae0adcf
Bump gradle from 5.5 to 5.5.1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-11 02:58:41 +05:30
Harsh Shandilya
4207bfe2de
Uprev all dependencies
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-04 12:47:24 +05:30
Harsh Shandilya
2b23dea904
build: Allow alpha/beta/rc dependencies
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-04 12:47:08 +05:30
Harsh Shandilya
143a24efc6
Dependency updates
Gradle 5.5

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-06-28 23:42:03 +05:30
Harsh Shandilya
60a244a49f
Kotlin 1.3.40
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-06-28 23:42:03 +05:30
Harsh Shandilya
75a595f07f
Dependency updates
Mockito 2.28.2
AndroidX Test 1.2.0
AndroidX Espresso 3.2.0
AGP 3.4.1

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-31 12:27:48 +05:30
Harsh Shandilya
127a8b8c8a
Update mockito and fix dependency updates task
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-01 17:03:58 +05:30
Harsh Shandilya
a832a60c11
Dependency updates
Gradle 5.4.1
AGP 3.4.0
Kotlin 1.3.31

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-04-29 17:36:38 +05:30
Hussein Al Abry
e54010906f Use storage access framework (#469)
* use storage access framework

* UserPreference: Add back warning about using SDCard root directory

* UserPreference: Fix IDE warnings

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-04-25 09:11:32 +05:30
Harsh Shandilya
59ac91ebbc
Blacklist known broken upgrades
As I noted in #489, there are various compelling reasons
to not update these packages so let's hide the noise altogether.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-15 18:34:22 +05:30
Harsh Shandilya
cb47792ae6
Dependency updates
Mockito core 2.25.0
AGP 3.3.2

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-15 18:33:51 +05:30
Harsh Shandilya
ffe489c293 Dependency updates (#489)
* Configure dependencyUpdates task

Configured to emit JSON reports in build directory and to
only use stable releases.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>

* Update dependencies

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-02 19:08:57 +01:00
Harsh Shandilya
3c06063153 Rewrite Gradle configuration with Kotlin DSL (#488)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-03-02 18:05:51 +01:00
Renamed from build.gradle (Browse further)