build.gradle 631 B

1234567891011121314151617
  1. apply plugin: 'java'
  2. final String ANDROID_TOP = "${rootDir}/../../.."
  3. final String FRAMEWORK_PREBUILTS_DIR = "${ANDROID_TOP}/prebuilts/framework_intermediates/"
  4. sourceSets {
  5. main {
  6. java.srcDirs = ["${ANDROID_TOP}/frameworks/lib/systemui/SharedLibWrapper/src"]
  7. }
  8. }
  9. sourceCompatibility = 1.8
  10. dependencies {
  11. implementation fileTree(dir: "${FRAMEWORK_PREBUILTS_DIR}/quickstep/libs", include: 'sysui_shared.jar')
  12. compileOnly fileTree(dir: "$ANDROID_TOP/prebuilts/fullsdk-${org.gradle.internal.os.OperatingSystem.current().isMacOsX() ? "darwin" : "linux"}/platforms/${COMPILE_SDK}", include: 'android.jar')
  13. }