Skip to content

Commit

Permalink
[BUG] Gradle Check Failed on Windows due to JDK19 pulling by gradle
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
  • Loading branch information
reta committed Nov 9, 2022
1 parent 3423f44 commit e672769
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import org.gradle.plugins.ide.eclipse.model.EclipseJdt
import org.gradle.plugins.ide.eclipse.model.SourceFolder
import org.gradle.api.Project;
import org.gradle.process.ExecResult;
import org.gradle.internal.os.OperatingSystem
import org.gradle.util.DistributionLocator
import org.gradle.util.GradleVersion

Expand Down Expand Up @@ -398,6 +399,10 @@ gradle.projectsEvaluated {
allprojects {
project.tasks.withType(JavaForkOptions) {
maxHeapSize project.property('options.forkOptions.memoryMaximumSize')
// Temporary workaround to ublock the builds (see https://github.com/gradle/gradle/issues/22659)
if (OperatingSystem.current().isWindows()) {
executable null
}
}

if (project.path == ':test:framework') {
Expand Down

0 comments on commit e672769

Please sign in to comment.