gradle 8.12 broke my GHA using <Dagger.io> due I t...
# community-support
e
gradle 8.12 broke my GHA using Dagger.io due I think to
Copy code
> org.gradle.process.internal.DefaultExecActionFactory.of(org.gradle.api.internal.file.FileResolver, org.gradle.api.internal.file.FileCollectionFactory,
> org.gradle.internal.concurrent.ExecutorFactory,
> org.gradle.api.internal.file.temp.TemporaryFileProvider)
Any ideas?
v
Not without any helpful information. For example, what is the actual error, not just a little snippet of it? What is the
--stacktrace
? Optimally, just share a build
--scan
URL.
🙏 1
e
I think I found the problem. Gradle 8.12 changed the signature of this internal method. Since it's an internal method, the fault is really in the consumer, so I created this ticket: https://github.com/kotest/kotest-gradle-plugin/issues/58
👌 1
For the plugin's author's benefit, can someone recommend a better way to do this, without using an internal method?
p
The implementation uses many internal factories but should use injection of the services. Don’t try to be „smarter“ by creating the service yourself but let Gradle handle it. Also, it access the project in the task action.
v
Also, maybe just don't use an alpha-state plugin. :-)