Refactor gradle configuration and update dependencies

- Enable java 11 language features
- Switch to groovy syntax
- Switch to new gradle plugins and dependency configuration
- Drop deprecated properties
- Switch from buildscript to project.ext closure for version property
- Update dependencies to latest stable versions
- Address build errors arising due to dependencies update

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2022-08-26 21:03:35 +05:30
parent fd693bf9d8
commit ecf16661dc
8 changed files with 92 additions and 94 deletions

View File

@@ -1,6 +1,7 @@
/*
* Aurora Store
* Copyright (C) 2021, Rahul Kumar Patel <whyorean@gmail.com>
* Copyright (C) 2022, The Calyx Institute
*
* Aurora Store is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -17,5 +18,28 @@
*
*/
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
jcenter() // Required for com.novoda:merlin:1.2.0
mavenCentral()
maven {
name 'JitPack'
url 'https://jitpack.io/'
}
maven {
name 'Google'
url 'https://maven.google.com/'
}
}
}
include ':app'
rootProject.name = "AuroraStore4"