Skip to content

0.3.0

Compare
Choose a tag to compare
@SgtSilvio SgtSilvio released this 14 Dec 11:58
· 539 commits to main since this release

✨ Improvements

  • Compatibility with Gradle 8.5
  • Refactored oci.imageDependencies
    • Refactored image dependency tagging
      • Before vs now:
        add("library:eclipse-temurin:20.0.1_9-jre-jammy", tag("library/eclipse-temurin:20"))
        add("library:eclipse-temurin:20.0.1_9-jre-jammy").tag("20")
      • Before vs now:
        add("library:eclipse-temurin:20.0.1_9-jre-jammy", tag("eclipse-temurin:20"))
        add("library:eclipse-temurin:20.0.1_9-jre-jammy").name("eclipse-temurin").tag("20")
      • No internal API or additional tasks (OciTagComponentTask) required
    • Removed OciImageDependenciesContainer
      • Before vs now:
        oci.imageDependencies.register("images") { default("library:eclipse-temurin:20.0.1_9-jre-jammy") }
        oci.imageDependencies.register("images") { add("library:eclipse-temurin:20.0.1_9-jre-jammy") }
      • Before vs now:
        oci.imageDependencies.register("images") { scope("v2")("library:eclipse-temurin:20.0.1_9-jre-jammy") }
        oci.imageDependencies.register("imagesV2") { add("library:eclipse-temurin:20.0.1_9-jre-jammy") }
      • Before vs now:
        oci.imageDependencies.forTest(tasks.test) { default("library:eclipse-temurin:20.0.1_9-jre-jammy") }
        oci.imageDependencies.forTest(tasks.test) { add("library:eclipse-temurin:20.0.1_9-jre-jammy") }
      • Before vs now:
        oci.imageDependencies.forTest(tasks.test) { scope("v2")("library:eclipse-temurin:20.0.1_9-jre-jammy") }
        oci.imageDependencies.forTest(tasks.test, "v2") { add("library:eclipse-temurin:20.0.1_9-jre-jammy") }
  • Added OciPushTask.Registry
    • Moved OciPushTask.registryUrl to OciPushTask.registry.url
    • Moved OciPushTask.credentials to OciPushTask.registry.credentials
    • Added OciPushTask.registry { }
    • Added OciPushTask.registry.from(OciRegistry)

ℹ️ Miscellaneous

  • Updated dependencies