Closed clemens-tolboom closed 11 months ago
Installed gradle 8.4 (Ubuntu 22.04) but did not change behaviour.
Second try was to change the distributionUrl in the file ./gradle/wrapper/gradle-wrapper.properties from: distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-bin.zip
to
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
I do get less errors but ./gradlew clean docker still fails:
Failed to apply plugin 'com.palantir.docker'. Could not find matching constructor for: org.gradle.api.internal.artifacts.publish.ArchivePublishArtifact(org.gradle.api.tasks.bundling.Zip_Decorated)
Editing the plugin in ./build.gradle to
id 'com.palantir.docker' version '0.35.0'
Did not resolve issue.
Could not get unknown property 'archiveName' for task ':bootJar' of type org.springframework.boot.gradle.tasks.bundling.BootJar.
I did a stab at it working from the deprecation warning out.
One lingered (forgot which one) so upgraded gradle to 8.0 which failed too.
Comparing with EMX2 weird thing is their docker
part is same. We use boot jar instead of default.
To test the process we need to run
./gradlew --warning-mode all clean build docker assemble
to cover most tasks.
See https://github.com/molgenis/molgenis-service-armadillo/branches/all?query=chore%2Fremo
Is merged through PR #578
We are using v 7.6.3
gives 3 warnings in total. Make sure all tasks are touched
Upgrade