summaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2018-11-01 23:12:54 -0700
committerSunny Goyal <sunnygoyal@google.com>2018-11-02 14:18:45 -0700
commit719eee2be266bd84bba33ce35142b0cad46e40ea (patch)
treefba75356c0acc6c1572a7901e9fe7c5bcba0379b /build.gradle
parentb1513bd811d4efd6ec9b0251c5663c544c278909 (diff)
downloadandroid_packages_apps_Trebuchet-719eee2be266bd84bba33ce35142b0cad46e40ea.tar.gz
android_packages_apps_Trebuchet-719eee2be266bd84bba33ce35142b0cad46e40ea.tar.bz2
android_packages_apps_Trebuchet-719eee2be266bd84bba33ce35142b0cad46e40ea.zip
Create iconloader library
Bug: 115891474 Test: Builds everything Change-Id: I1d75702d4e5a10d694eeb839784a629de2f74dd2
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle24
1 files changed, 14 insertions, 10 deletions
diff --git a/build.gradle b/build.gradle
index 476e92bf6..33409c5d0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,19 +4,17 @@ buildscript {
google()
}
dependencies {
- classpath 'com.android.tools.build:gradle:3.2.1'
- classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.6'
+ classpath GRADLE_CLASS_PATH
+ classpath PROTOBUF_CLASS_PATH
}
}
-final String SUPPORT_LIBS_VERSION = '1.0.0-alpha1'
-
apply plugin: 'com.android.application'
apply plugin: 'com.google.protobuf'
android {
- compileSdkVersion 28
- buildToolsVersion '28.0.3'
+ compileSdkVersion COMPILE_SDK.toInteger()
+ buildToolsVersion BUILD_TOOLS_VERSION
defaultConfig {
minSdkVersion 21
@@ -120,9 +118,15 @@ repositories {
}
dependencies {
- implementation "androidx.dynamicanimation:dynamicanimation:${SUPPORT_LIBS_VERSION}"
- implementation "androidx.recyclerview:recyclerview:${SUPPORT_LIBS_VERSION}"
- implementation 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-7'
+ implementation "androidx.dynamicanimation:dynamicanimation:${ANDROID_X_VERSION}"
+ implementation "androidx.recyclerview:recyclerview:${ANDROID_X_VERSION}"
+ implementation "androidx.preference:preference:${ANDROID_X_VERSION}"
+ implementation PROTOBUF_DEPENDENCY
+ implementation project(':IconLoader')
+
+ // This is already included in sysui_shared
+ aospImplementation fileTree(dir: "libs", include: 'plugin_core.jar')
+ l3goImplementation fileTree(dir: "libs", include: 'plugin_core.jar')
quickstepImplementation fileTree(dir: "quickstep/libs", include: 'sysui_shared.jar')
@@ -133,7 +137,7 @@ dependencies {
androidTestImplementation 'com.android.support.test:runner:1.0.0'
androidTestImplementation 'com.android.support.test:rules:1.0.0'
androidTestImplementation 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
- androidTestImplementation "androidx.annotation:annotation:${SUPPORT_LIBS_VERSION}"
+ androidTestImplementation "androidx.annotation:annotation:${ANDROID_X_VERSION}"
}
protobuf {