Skip to content

Commit

Permalink
debug github actions build
Browse files Browse the repository at this point in the history
  • Loading branch information
Gubaer committed Jan 25, 2025
1 parent baaa574 commit f4b5e20
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,16 @@ abstract class GraalVMDownloadTask extends DefaultTask {
return jdk
}
}
if (project.hasProperty(PROP_JDK)) {
if (project.hasProperty(PROP_JDK)) {
final value = project.property(PROP_JDK)
logger.info("Project has property ${PROP_JDK}, value is '${value}'")
final jdk = GraalVMJDK.fromString(value.trim())
if (jdk == null) {
throw new GradleException("Illegal value for project property '$PROP_JDK'. Got value '$value'")
}
return jdk
}
}
logger.info("Project doesn't have property ${PROP_JDK}. Using default value '${DEFAULT_GRAALVM_JDK}'")
return DEFAULT_GRAALVM_JDK
}

Expand Down

0 comments on commit f4b5e20

Please sign in to comment.