OSDN Git Service

Attempting to add Project Sakura logo
[android-x86/packages-apps-Taskbar.git] / build.gradle
index c7435fc..13539e4 100644 (file)
@@ -1,25 +1,45 @@
-// 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.0.1'
-
-        // 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.17'
+    id 'com.github.ben-manes.versions' version '0.39.0'
+}
+
+dependencyUpdates {
+    revision = 'release'
+}
+
 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"
+    }
+}