OSDN Git Service

Update dependencies + compile with SDK 30
[android-x86/packages-apps-Taskbar.git] / build.gradle
1 buildscript {
2     repositories {
3         google()
4         jcenter()
5         maven { url 'https://jitpack.io' }
6     }
7
8     dependencies {
9         classpath 'com.android.tools.build:gradle:4.1.0'
10      // classpath 'com.novoda:bintray-release:0.9.2'
11         classpath 'com.github.marandaneto.bintray-release:bintray-release:1.0.3'
12     }
13 }
14
15 plugins {
16     id 'se.patrikerdes.use-latest-versions' version '0.2.15'
17     id 'com.github.ben-manes.versions' version '0.33.0'
18 }
19
20 ext {
21     // TODO keep version name and version code in sync with Android-x86 manifest
22     VERSION_CODE = 201
23     VERSION_NAME = "6.0"
24
25     MIN_SDK_VERSION = 21
26     COMPILE_SDK_VERSION = 30
27     BUILD_TOOLS_VERSION = "30.0.2"
28
29     // Keep at 29 for now, since bumping to 30 will break freeform mode on Android 11
30     TARGET_SDK_VERSION = 29
31
32     SUPPORT_V4_VERSION = "1.0.0"
33     APPCOMPAT_VERSION = "1.2.0"
34     MATERIAL_VERSION = "1.2.1"
35     POWERMOCK_VERSION = "2.0.7"
36 }
37
38 dependencyUpdates {
39     revision = 'release'
40 }
41
42 allprojects {
43     repositories {
44         jcenter()
45         google()
46     }
47 }
48
49 task clean(type: Delete) {
50     delete rootProject.buildDir
51 }
52
53 subprojects {
54     tasks.withType(Test) {
55         maxParallelForks = 2
56         forkEvery = 80
57         maxHeapSize = "2048m"
58         minHeapSize = "1024m"
59     }
60 }