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

Support for configuration cache #20

Open
jimirocks opened this issue Mar 27, 2024 · 0 comments
Open

Support for configuration cache #20

jimirocks opened this issue Mar 27, 2024 · 0 comments

Comments

@jimirocks
Copy link

Hello, here is what gradle reports when configuration cache is enabled:

 1 problem was found storing the configuration cache.
Execution failed for task ':uploadDist'.
- Task `:uploadDist` of type `io.jumpco.open.gradle.s3.S3Upload`: invocation of 'Task.project' at execution time is unsupported.
> java.lang.NullPointerException (no error message)
  See https://docs.gradle.org/8.6/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution

And of course upload fail with:

Caused by: java.lang.NullPointerException
	at io.jumpco.open.gradle.s3.S3Upload.getAwsAccessKeyId(S3Upload.java:84)
	at io.jumpco.open.gradle.s3.S3Upload_Decorated.getAwsAccessKeyId(Unknown Source)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant