Skip to content

Commit 3eb1c42

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). - Maybe put some patterns into `.gitignore`, as possibly I should have along with the previous Gradle integraiotn tests?
1 parent 9886e0e commit 3eb1c42

File tree

8 files changed

+397
-0
lines changed

8 files changed

+397
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
plugins {
2+
id("com.android.application")
3+
id("org.jetbrains.kotlin.android")
4+
}
5+
6+
android {
7+
namespace = "com.google.guava.agptest"
8+
9+
compileSdk = 35
10+
11+
defaultConfig {
12+
applicationId = "com.google.guava.agptest"
13+
minSdk = 21
14+
targetSdk = 35
15+
versionCode = 1
16+
versionName = "1.0"
17+
}
18+
}
19+
20+
dependencies {
21+
implementation("com.google.guava:guava:999.0.0-HEAD-android-SNAPSHOT")
22+
}
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)