Skip to content

Commit 8fd4497

Browse files
authored
Merge pull request #252 from gradle/no/latest-version
Add support for AGP 7.2.0-beta03
2 parents 96cc802 + d29182e commit 8fd4497

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

.github/workflows/build-verification.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ name: Verify Build
22

33
on:
44
push:
5-
branches: [ master, citest ]
5+
branches: [ main, citest ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main ]
88
workflow_dispatch:
99

10+
env:
11+
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
1012
jobs:
1113
generate_versions:
1214
name: Generate versions
1315
runs-on: ubuntu-latest
14-
env:
15-
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
1616
steps:
1717
- uses: actions/checkout@v2
1818
- uses: gradle/gradle-build-action@v2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
Some Android plugin versions have issues with Gradle's build cache feature. When applied to an Android project this plugin applies workarounds for these issues based on the Android plugin and Gradle versions. For other versions, please see [older versions.](#older-android-gradle-plugin-versions)
1717

1818
* Supported Gradle versions: 7.0+
19-
* Supported Android Gradle Plugin versions: 7.0.4, 7.1.2, 7.2.0-beta02
19+
* Supported Android Gradle Plugin versions: 7.0.4, 7.1.2, 7.2.0-beta03
2020
* Supported Kotlin versions: 1.4.32+
2121

2222
We only test against the latest patch versions of each minor version of Android Gradle Plugin. This means that although it may work perfectly well with an older patch version (say 7.0.1), we do not test against these older patch versions, so the latest patch version is the only version from that minor release that we technically support.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def isCI = (System.getenv('CI') ?: 'false').toBoolean()
1919

2020
// Maps supported Android plugin versions to the versions of Gradle that support it
2121
def supportedVersions = [
22-
"7.2.0-beta02": ["7.3.3"],
22+
"7.2.0-beta03": ["7.3.3"],
2323
"7.1.2": ["7.3.3"],
2424
"7.0.4": ["7.3.3"],
2525
]

release/changes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* Drop support for older AGP versions
2+
* Add support for AGP 7.0.4, 7.1.1 and 7.2.0-beta03

src/test/groovy/org/gradle/android/WorkaroundTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class WorkaroundTest extends Specification {
1212
workarounds.collect { it.class.simpleName.replaceAll(/Workaround/, "") }.sort() == expectedWorkarounds.sort()
1313
where:
1414
androidVersion | expectedWorkarounds
15-
"7.2.0-beta02" | ['ZipMergingTask', 'LibraryJniLibs', 'DataBindingMergeDependencyArtifacts', 'BundleLibraryClasses', 'MergeSourceSetFolders', 'MergeJavaResources', 'RoomSchemaLocation', 'StripDebugSymbols', 'MergeNativeLibs', 'CompileLibraryResources']
15+
"7.2.0-beta03" | ['ZipMergingTask', 'LibraryJniLibs', 'DataBindingMergeDependencyArtifacts', 'BundleLibraryClasses', 'MergeSourceSetFolders', 'MergeJavaResources', 'RoomSchemaLocation', 'StripDebugSymbols', 'MergeNativeLibs', 'CompileLibraryResources']
1616
"7.1.2" | ['ZipMergingTask', 'LibraryJniLibs', 'DataBindingMergeDependencyArtifacts', 'BundleLibraryClasses', 'MergeSourceSetFolders', 'MergeJavaResources', 'RoomSchemaLocation', 'StripDebugSymbols', 'MergeNativeLibs', 'CompileLibraryResources']
1717
"7.0.4" | ['ZipMergingTask', 'LibraryJniLibs', 'DataBindingMergeDependencyArtifacts', 'BundleLibraryClasses', 'MergeSourceSetFolders', 'MergeJavaResources', 'RoomSchemaLocation', 'StripDebugSymbols', 'MergeNativeLibs', 'CompileLibraryResources']
1818
}

0 commit comments

Comments
 (0)