-
-
Notifications
You must be signed in to change notification settings - Fork 101
Enable Gradle Configuration Cache #2493
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
base: main
Are you sure you want to change the base?
Conversation
@DavideD Hey, need to check with codeql because it need pass the flag If anyone have problem with the module documentation do clean and assemble, if still failing ascii, pass the flag, I mark as incompatible, but gradle can fail inclusive with this mark. In documentation/build.gradle I recommend put |
Current CI action fail in session example test is not related with my changes. |
Thanks @kingg22, Could you rebase this to the latest changes, please? |
I think it is related. It only fails when I apply your PR. This is the error I'm seeing locally:
|
Hey @DavideD good to read u again! The error you see locally can be solved with gradlew clean hibernate-core:test --no-configuration-cache --no-build-cache The error is because your cache of previous builds and first time with configuration cache have problems. If you have similar errors, use the flag. ASCII doctor task as I mentioned, is a problem because it is incompatible. The error the CI has is a NPE in a unit test of session PostgreSQL, I think the docker database is dirty between tests. Going to do rebase in a few hours 👋🏻 |
…xplicit task without project use Using a valid input can be cacheable https://docs.gradle.org/current/userguide/configuration_cache.html#build_configuration_inputs
…with a custom test task configuration of properties is set up before execute test and print a summary after suite. Without use of project is cacheable
… on demand, caching run parallel don't have perfect support with test containers, have problems with ports
…guration cache, refactor use of project ascii doctor plugin is not compatible yet asciidoctor/asciidoctor-gradle-plugin#730
…re and explicit get input of properties Gradle need to know all input and prevent side effect with dynamic behaviors
…test with custom task, configure it instead
533c040
to
daa1316
Compare
close #2492