plugins { id "java-gradle-plugin" id "com.gradle.plugin-publish" version "1.2.1" // Maven Publish Plugin applied by com.gradle.plugin-publish > 1.0 id "ivy-publish" } dependencies { implementation "com.fasterxml.jackson.core:jackson-core:2.13.5", "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.13.5" } java { targetCompatibility = 11 sourceCompatibility = 11 } repositories { mavenCentral() } gradlePlugin { website = 'https://code.implab.org/implab/gradle-container-plugin' vcsUrl = 'https://code.implab.org/implab/gradle-container-plugin' plugins { containerPlugin { id = 'org.implab.gradle-container' displayName = "Provdes convetional configuration to build a container image" description = 'Build and publish container images with docker or podman. Simple wrapper around cli.' implementationClass = 'org.implab.gradle.containers.ContainerPlugin' tags.set(['containers', 'image', 'docker', 'podman']) } containerBasePlugin { id = 'org.implab.gradle-container-base' displayName = "Provides tasks to build manipulate container images" description = 'Build and publish container images with docker or podman. Simple wrapper around cli.' implementationClass = 'org.implab.gradle.containers.ContainerBasePlugin' tags.set(['containers', 'image', 'docker', 'podman']) } conmposePlugin { id = 'org.implab.gradle-container-compose' displayName = "Provdes tasks to start and stop compose" description = 'Build and publish container images with docker or podman. Simple wrapper around cli.' implementationClass = 'org.implab.gradle.containers.ComposePlugin' tags.set(['containers', 'image', 'docker', 'podman']) } } } task printVersion { doLast { println "${->jar.archiveFileName.get()}" } } publishing { repositories { ivy { url "${System.properties["user.home"]}/ivy-repo" } } }