<lambda>null1 plugins {
2   `java-gradle-plugin`
3   `kotlin-dsl`
4   `groovy-gradle-plugin`
5 }
6 
7 val androidTop = "$rootDir/../../../../../../"
8 
9 // Due to a gradle bug, we also need to have a symlink to build, which is why
10 // SystemUIGoogle/studio-dev/SysUIGradleProject/buildSrc/build points to
11 // ../../../../../../../out/gradle/build/buildSrc/build.
12 // The symlink dest dir is created in studiow. See: https://github.com/gradle/gradle/issues/13847
13 buildDir = file("$androidTop/out/gradle/build/buildSrc/build")
14 
15 val libDir = "${androidTop}/vendor/unbundled_google/libraries/androidbuildinternal"
16 
<lambda>null17 dependencies {
18   implementation(localGroovy())
19   implementation(libs.scriptClasspath.android)
20   implementation(libs.scriptClasspath.kotlin)
21   implementation(libs.scriptClasspath.errorprone)
22   implementation(libs.scriptClasspath.nullaway)
23   implementation(libs.scriptClasspath.protobuf)
24   implementation(libs.scriptClasspath.hilt)
25   implementation(libs.guava)
26 
27   // dependencies for jar fetcher
28   implementation("com.google.api-client:google-api-client:1.33.0")
29   implementation("org.apache.commons:commons-compress:1.21")
30   implementation("com.google.oauth-client:google-oauth-client-jetty:1.33.0")
31   implementation(fileTree(libDir) { include("libandroid_build_v3_java.jar") })
32 }
33