Skip to content

Commit

Permalink
[gradle] Downgrade gradle in tests to 8.3 because of issue on Windows
Browse files Browse the repository at this point in the history
It fails DesktopApplicationTest.proguard test on Windows:
Execution failed for task ':createReleaseDistributable'.
> java.io.IOException: Unable to delete directory 'C:\Users\runneradmin\AppData\Local\Temp\junit15199828818905379674\build\compose\binaries\main-release\app'
Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory.
- C:\Users\runneradmin\AppData\Local\Temp\junit15199828818905379674\build\compose\binaries\main-release\app\simple\simple.exe
- C:\Users\runneradmin\AppData\Local\Temp\junit15199828818905379674\build\compose\binaries\main-release\app\simple

More info: gradle/gradle#26912
  • Loading branch information
terrakok committed Mar 4, 2024
1 parent e73b0e8 commit 9bdaa37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-12, windows-2022]
gradle: [7.4, 8.6]
gradle: [7.4, 8.3]
agp: [7.3.1, 8.2.2]
runs-on: ${{ matrix.os }}
steps:
Expand Down
7 changes: 6 additions & 1 deletion gradle-plugins/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ compose.tests.js.compiler.compatible.kotlin.version=1.9.22
# __SUPPORTED_GRADLE_VERSIONS__
# Don't forget to edit versions in .github/workflows/gradle-plugin.yml as well
# minimal and current gradle version
compose.tests.gradle.versions=7.4, 8.6
#
# !!! we can't update to the gradle upper than 8.3 because of on issue:
# https://github.com/gradle/gradle/issues/26912
# It fails DesktopApplicationTest.proguard test on Windows
# Should be fixed in 8.7
compose.tests.gradle.versions=7.4, 8.3
compose.tests.agp.versions=7.3.1, 8.2.2

# A version of Gradle plugin, that will be published,
Expand Down

0 comments on commit 9bdaa37

Please sign in to comment.