OSDN Git Service

Attempting to add Project Sakura logo
[android-x86/packages-apps-Taskbar.git] / build.gradle
index 4c3b8ad..13539e4 100644 (file)
@@ -1,37 +1,22 @@
 buildscript {
+    apply from: 'dependencies.gradle'
+
     repositories {
         google()
-        jcenter()
+        mavenCentral()
+        gradlePluginPortal()
         maven { url 'https://jitpack.io' }
     }
 
     dependencies {
-        classpath 'com.android.tools.build:gradle:4.0.1'
-     // classpath 'com.novoda:bintray-release:0.9.2'
-        classpath 'com.github.marandaneto.bintray-release:bintray-release:1.0.3'
+        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.14'
-    id 'com.github.ben-manes.versions' version '0.33.0'
-}
-
-ext {
-    // TODO keep version name and version code in sync with Android-x86 manifest
-    VERSION_CODE = 201
-    VERSION_NAME = "6.0"
-
-    MIN_SDK_VERSION = 21
-    BUILD_TOOLS_VERSION = "29.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.2.0"
-    MATERIAL_VERSION = "1.2.1"
-    POWERMOCK_VERSION = "2.0.7"
+    id 'se.patrikerdes.use-latest-versions' version '0.2.17'
+    id 'com.github.ben-manes.versions' version '0.39.0'
 }
 
 dependencyUpdates {
@@ -40,8 +25,9 @@ dependencyUpdates {
 
 allprojects {
     repositories {
-        jcenter()
         google()
+        mavenCentral()
+        gradlePluginPortal()
     }
 }