Skip to content

Commit

Permalink
Quick hack for the build breaking in IntelliJ IDEA on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
climategadgets committed Apr 17, 2024
1 parent f95c2bb commit f0b3c5c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ repositories {
mavenCentral()
}

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")
Expand Down
2 changes: 1 addition & 1 deletion submodules/automation-hat-driver
2 changes: 1 addition & 1 deletion submodules/servomaster
Submodule servomaster updated 1 files
+8 −0 build.gradle.kts
2 changes: 1 addition & 1 deletion submodules/xbee-api-reactive

0 comments on commit f0b3c5c

Please sign in to comment.