Releases
v0.25.0
Compare
Sorry, something went wrong.
No results found
✨ Improvements
Support Gradle 9.1.0 and newer (minimum required Gradle version has been bumped to 8.3)
DockerLayerTask can now use parent images from dependencies
Before if you had a task like the following:
tasks.register(" fooOciLayer" , oci.dockerLayerTaskClass) {
from = " library/eclipse-temurin:25-jre-noble"
platform = oci.platform(" linux" , " amd64" )
command = " your command"
destinationDirectory = layout.buildDirectory.dir(" oci/layers" )
classifier = " foo@linux,amd64"
}
then this task will now be configured like:
tasks.register(" fooOciLayer" , oci.dockerLayerTaskClass) {
dependencies(oci.parentImageDependencies.create(" foo" ) {
runtime(" library/eclipse-temurin:25-jre-noble" )
})
platform = oci.platform(" linux" , " amd64" )
command = " your command"
classifier = " foo@linux,amd64"
}
Configure OciLayerTask.destinationDirectory to build/oci/layers by convention
ℹ️ Miscellaneous
You can’t perform that action at this time.