buildscript {
+ apply from: 'dependencies.gradle'
+
repositories {
google()
- jcenter()
+ mavenCentral()
+ gradlePluginPortal()
+ maven { url 'https://jitpack.io' }
}
dependencies {
- classpath 'com.android.tools.build:gradle:3.5.3'
- classpath 'com.novoda:bintray-release:0.9.2'
+ 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.13'
- id 'com.github.ben-manes.versions' version '0.27.0'
-}
-
-ext {
- // TODO keep version name and version code in sync with Android-x86 manifest
- VERSION_CODE = 196
- VERSION_NAME = "5.0"
-
- MIN_SDK_VERSION = 21
- SDK_VERSION = 29
- BUILD_TOOLS_VERSION = "28.0.3"
-
- SUPPORT_V4_VERSION = "1.0.0"
- APPCOMPAT_VERSION = "1.1.0"
- MATERIAL_VERSION = "1.0.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"
+ }
+}