You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying this plugin out on a existing project, I'm having this error
> gradle clean assemble
FAILURE: Build failed with an exception.
* Where:
Build file '/..../some-project/build.gradle.kts' line: 1
* What went wrong:
An exception occurred applying plugin request [id: 'com.github.burrunan.s3-build-cache', version: '1.1']
> Failed to apply plugin 'com.github.burrunan.s3-build-cache'.
> class org.gradle.api.internal.project.DefaultProject_Decorated cannot be cast to class org.gradle.api.initialization.Settings (org.gradle.api.internal.project.DefaultProject_Decorated and org.gradle.api.initialization.Settings are in unnamed module of loader org.gradle.internal.classloader.VisitableURLClassLoader @48533e64)
* 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.
* Get more help at https://help.gradle.org
BUILD FAILED in 945ms
I've tried with gradle 7.0.2 and 6.9, same error.
JDK is 15
Missed that part of the documentation that needed to be applied in the settings.gradle.*. It's working now 👍
The only two minor changes I had to do to the configuration, in our case using settings.gradle.kts
buildCache {
local {
isEnabled = false // if left as `enabled`, Cannot access 'enabled': it is invisible (private in a supertype) in 'DirectoryBuildCache'
}
remote<com.github.burrunan.s3cache.AwsS3BuildCache> {
//...
isPush = isCiServer // if left as `push`, Cannot access 'push': it is invisible (private in a supertype) in 'AwsS3BuildCache'
}
}
Hello,
Trying this plugin out on a existing project, I'm having this error
I've tried with gradle 7.0.2 and 6.9, same error.
JDK is 15
If it helps, I'm attaching the output with the
--stacktrace
options3.cache.error.output.txt
The text was updated successfully, but these errors were encountered: