OSDN Git Service

Extract TOGGLE_DASHBOARD to TaskbarIntent constant
[android-x86/packages-apps-Taskbar.git] / build.gradle
index 8146b5a..6c8024e 100644 (file)
@@ -1,5 +1,3 @@
-// Top-level build file where you can add configuration options common to all sub-projects/modules.
-
 buildscript {
     repositories {
         google()
@@ -7,16 +5,30 @@ buildscript {
     }
 
     dependencies {
-        classpath 'com.android.tools.build:gradle:3.3.2'
-
-        // NOTE: Do not place your application dependencies here; they belong
-        // in the individual module build.gradle files
+        classpath 'com.android.tools.build:gradle:3.5.3'
+        classpath 'com.novoda:bintray-release:0.9.2'
     }
 }
 
 plugins {
-    id 'se.patrikerdes.use-latest-versions' version '0.2.9'
-    id 'com.github.ben-manes.versions' version '0.21.0'
+    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 = 198
+    VERSION_NAME = "5.0.1"
+
+    MIN_SDK_VERSION = 21
+    BUILD_TOOLS_VERSION = "28.0.3"
+
+    // Keep at 29 for now, since bumping to 30 will break freeform mode on Android 11
+    SDK_VERSION = 29
+
+    SUPPORT_V4_VERSION = "1.0.0"
+    APPCOMPAT_VERSION = "1.1.0"
+    MATERIAL_VERSION = "1.0.0"
 }
 
 dependencyUpdates {
@@ -26,6 +38,7 @@ dependencyUpdates {
 allprojects {
     repositories {
         jcenter()
+        google()
     }
 }