Browse Source

[gradle] Downgrade gradle in tests to 8.3 because of issue on Windows

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: https://github.com/gradle/gradle/issues/26912
pull/4309/head
Konstantin Tskhovrebov 3 months ago
parent
commit
9bdaa37b97
  1. 2
      .github/workflows/gradle-plugin.yml
  2. 7
      gradle-plugins/gradle.properties

2
.github/workflows/gradle-plugin.yml

@ -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:

7
gradle-plugins/gradle.properties

@ -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,

Loading…
Cancel
Save