Commit graph

29 commits

Author SHA1 Message Date
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)