Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix submission info failure condition with gradle >= 7.6 #194

Open
alexstaeding opened this issue Dec 17, 2022 · 0 comments
Open

Fix submission info failure condition with gradle >= 7.6 #194

alexstaeding opened this issue Dec 17, 2022 · 0 comments
Labels

Comments

@alexstaeding
Copy link
Member

Gradle 7.6 introduced a change that affects the way the errors are presented for SubmissionWriteInfoTask. The names of the missing properties are no longer shown:

Old:

Could not evaluate onlyIf predicate for task ':mainWriteSubmissionInfo'.
> 
  There were some errors preparing your submission, please check your Gradle buildscript (e.g. build.gradle.kts).
  The following required properties were not set:
  studentId
  firstName
  lastName

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

Now:

Could not evaluate onlyIf predicate for task ':mainWriteSubmissionInfo'.
> Could not evaluate spec for 'Task satisfies onlyIf spec'.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant