Skip to content

Commit 7e41f72

Browse files
committed
DO NOT MERGE: AGP integration test.
This detects the problem of #7769. To actually merge this, I'd want to: - Make it work with the version of Gradle we already use, 8.5, or else upgrade the somewhat-standard version of Gradle that's used across a handful of Google project, including ours. - Integrate it into our CI and release processes, including testing with the version that we're building, as [in our Gradle integration tests for our module metadata](https://github.com/google/guava/blob/97c96e00bd8940b45399979cbd4162d3ef362532/integration-tests/gradle/build.gradle.kts#L1). - Put some patterns into a `.gitignore` file here, similar to [what we already have for the previous Gradle integration tests](https://github.com/google/guava/blob/master/integration-tests/gradle/.gitignore).
1 parent 9886e0e commit 7e41f72

File tree

8 files changed

+396
-0
lines changed

8 files changed

+396
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
plugins {
2+
id("com.android.application")
3+
}
4+
5+
android {
6+
namespace = "com.google.guava.agptest"
7+
8+
compileSdk = 35
9+
10+
defaultConfig {
11+
applicationId = "com.google.guava.agptest"
12+
minSdk = 21
13+
targetSdk = 35
14+
versionCode = 1
15+
versionName = "1.0"
16+
}
17+
}
18+
19+
dependencies {
20+
implementation("com.google.guava:guava:999.0.0-HEAD-android-SNAPSHOT")
21+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
3+
<uses-sdk android:minSdkVersion="21" />
4+
</manifest>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
plugins {
2+
id("com.android.application") version "8.9.0" apply false
3+
id("org.jetbrains.kotlin.android") version "2.1.10" apply false
4+
}
42.4 KB
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
6+
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

integration-tests/agp/gradlew

Lines changed: 249 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integration-tests/agp/gradlew.bat

Lines changed: 92 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)