Fix dev CI errors - March 2025 #4393
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
updated distributionUrl to
https\://services.gradle.org/distributions/gradle-8.5-bin.zip
like here in CoreAdded extra-dependencies subproject in main gradle here
Otherwise they are not detected
Needed to add the core mechanism like this (see here), to make work StartupExtendedTest and other which use APOC Core jar
Needed to add the extended mechanism as well, see here
Needed to add the extra-dependencies mechanism here
The extra-dependencies doesn't work in the same way (i.e.
project(':core').tasks.shadowJar.archiveFile into layout.buildDirectory.dir
),we have to pick them from the
build/allJars
folderUpdated excludedTaskNames, otherwise the core mechanism doesn't create the jar (without errors..), see here
Moved stuff removed from TestContainerUtil to ExtendedTestContainerUtil.
moved
copyFilesToFolder
(removed from core here) to ExtendedTestUtil,generalized by calling it copyFilesToFolder instead of copyPluginsToFolder
Added
description = 'APOC :: Extra Dependencies'
to extra-dependencies/build.gradle, for consistencies and to make debug clearer.Updated deprecated 'task ' , deprecated , to
tasks.register('<nameTask>')
.Additional notes, Tried other ways which don't work
extended-it
gradle:extended-it
gradle: