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" } 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 = "Container building plugin" 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']) } } } task printVersion { doLast { println "${->jar.archiveFileName.get()}" } } publishing { repositories { ivy { url "${System.properties["user.home"]}/ivy-repo" } } }