Skip to content

Commit

Permalink
fixes problem with local build
Browse files Browse the repository at this point in the history
Don't understand why. Explicit check for ==null required here.
  • Loading branch information
Gubaer committed Jan 25, 2025
1 parent 24efb36 commit bd3035c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ abstract class GraalVMDownloadTask extends DefaultTask {
final jdk = configuredGraalVMJDK.name
final platform = configuredGraalVMPlatform.name
final prop = "graalvm.download.${jdk}.${platform}"
if (!providers.hasProperty(prop)) {
if (providers.hasProperty(prop) == null) {
throw new GradleException("Missing project property '${prop}' for download URL. Can't download GraalVM.")
}
final url = providers.gradleProperty(prop).get()
Expand Down

0 comments on commit bd3035c

Please sign in to comment.