-// Top-level build file where you can add configuration options common to all sub-projects/modules.
-
buildscript {
+ apply from: 'dependencies.gradle'
+
repositories {
google()
- jcenter()
+ mavenCentral()
+ gradlePluginPortal()
+ maven { url 'https://jitpack.io' }
}
dependencies {
- classpath 'com.android.tools.build:gradle:3.3.0'
-
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
+ classpath "com.android.tools.build:gradle:${AGP_VERSION}"
+ classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.10'
}
}
plugins {
- id 'se.patrikerdes.use-latest-versions' version '0.2.7'
- id 'com.github.ben-manes.versions' version '0.20.0'
+ id 'se.patrikerdes.use-latest-versions' version '0.2.17'
+ id 'com.github.ben-manes.versions' version '0.39.0'
}
dependencyUpdates {
allprojects {
repositories {
- jcenter()
+ google()
+ mavenCentral()
+ gradlePluginPortal()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
+
+subprojects {
+ tasks.withType(Test) {
+ maxParallelForks = 2
+ forkEvery = 80
+ maxHeapSize = "2048m"
+ minHeapSize = "1024m"
+ }
+}