Skip to content

0.25.0

Latest

Choose a tag to compare

@SgtSilvio SgtSilvio released this 01 Mar 21:02
· 6 commits to main since this release

✨ 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

  • Updated dependencies