##// END OF EJS Templates
Bump gradle, tasks refactoring
Bump gradle, tasks refactoring

File last commit:

r8:e992157ede55 default
r8:e992157ede55 default
Show More
build.gradle
40 lines | 976 B | text/x-groovy | GroovyLexer
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"
}
}
}