Add: new gradle dependency versioning file and cleanup project buildgradle

This commit is contained in:
Carlos Martinez
2021-06-15 20:42:53 -04:00
parent 84356c0cc6
commit dbc6c5a10b
2 changed files with 123 additions and 15 deletions

View File

@@ -1,25 +1,19 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.5.10"
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.1"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
apply from: 'versions.gradle'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
addRepos(repositories)
dependencies {
classpath deps.project.kotlin
classpath deps.project.gradle
}
ext.kotlin_version = build_versions.kotlin
}
allprojects {
repositories {
google()
mavenCentral()
jcenter() // Warning: this repository is going to shut down soon
}
addRepos(repositories)
}
task clean(type: Delete) {