From e63a471bdb5b4a07e90eb277da199ed06011591f Mon Sep 17 00:00:00 2001 From: Vadim Tkachenko Date: Tue, 16 Apr 2024 17:42:46 -0700 Subject: [PATCH] Quick hack for the build breaking in IntelliJ IDEA on macOS --- build.gradle.kts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index d18782c..5ec52d2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,6 +17,14 @@ sonarqube { } } +doctor { + javaHome { + // Build breaks in IntelliJ IDEA on macOS even if JAVA_HOME is set correctly + // (it picks up JetBrains JDK instead) + failOnError.set(false) + } +} + subprojects { apply(plugin = "java") apply(plugin = "maven-publish")