1
-
1
+ // This file applies configuration common to projects in buildSrc
2
2
apply plugin : " kotlin"
3
- apply from : " ../kotlin-dsl-dependency.gradle"
4
3
apply plugin : " java-gradle-plugin"
5
4
6
5
buildscript {
@@ -14,53 +13,10 @@ buildscript {
14
13
15
14
dependencies {
16
15
implementation(project(" :jetpad-integration" ))
17
-
18
- // Gradle APIs
19
- implementation(gradleApi())
20
- compileOnly(findGradleKotlinDsl())
21
-
22
- // Android Gradle Plugin APIs used by Stable AIDL
23
- implementation(libs. androidGradlePluginApi)
24
-
25
- // Plugins we use and configure
26
- implementation(libs. androidGradlePluginz)
27
- implementation(libs. androidToolsCommon) // for com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
28
- implementation(libs. androidToolsRepository) // com.android.repository for Stable AIDL plugin
29
- implementation(libs. androidToolsSdkCommon) // com.android.ide.common for Stable AIDL plugin
30
- implementation(libs. kotlinGradlePluginz)
31
-
32
- // variety of json parsers
33
- implementation(libs. gson)
34
- implementation(libs. jsonSimple)
35
-
36
- // XML parsers used in MavenUploadHelper.kt
37
- implementation(libs. dom4j) {
38
- // Optional dependency where Ivy fails to parse the POM file.
39
- exclude(group :" net.java.dev.msv" , module :" xsdlib" )
40
- }
41
- implementation(libs. xerces)
42
-
43
- implementation(libs. shadow) // used by BundleInsideHelper.kt
44
- implementation(libs. apacheAnt) // used in AarManifestTransformerTask.kt for unziping
45
- implementation(libs. toml)
46
- implementation(libs. apacheCommonIo) // used in CheckApiEquivalenceTask.kt
47
- implementation(libs. dexMemberList) // used in ReportLibraryMetricsTask.kt
48
-
49
- implementation(libs. protobufGradlePluginz) // needed to compile inspection plugin
50
- implementation(libs. kotlinPoet) // needed to compile material-icon-generator
51
- implementation(libs. xmlpull) // needed to compile material-icon-generator
52
-
53
- implementation(libs. protobuf) // needed to compile baseline-profile gradle plugins
54
- implementation(libs. agpTestingPlatformCoreProto) // needed to compile baseline-profile gradle plugins
55
-
56
- // dependencies that aren't used by buildSrc directly but that we resolve here so that the
57
- // root project doesn't need to re-resolve them and their dependencies on every build
58
- runtimeOnly(libs. hiltAndroidGradlePluginz)
59
- runtimeOnly(libs. javapoet) // for hiltAndroidGradlePluginz to workaround https://github.com/google/dagger/issues/3068
60
- runtimeOnly(libs. kspGradlePluginz)
61
- runtimeOnly(libs. wireGradlePluginz)
62
16
}
63
17
18
+ apply from : " ../shared-dependencies.gradle"
19
+
64
20
java {
65
21
sourceCompatibility = JavaVersion . VERSION_11
66
22
targetCompatibility = JavaVersion . VERSION_11
0 commit comments