build.gradle
40 lines
| 976 B
| text/x-groovy
|
GroovyLexer
/ container / build.gradle
cin
|
r0 | plugins { | ||
id "java-gradle-plugin" | ||||
cin
|
r8 | id "com.gradle.plugin-publish" version "1.2.1" | ||
// Maven Publish Plugin applied by com.gradle.plugin-publish > 1.0 | ||||
id "ivy-publish" | ||||
cin
|
r0 | } | ||
repositories { | ||||
mavenCentral() | ||||
} | ||||
gradlePlugin { | ||||
cin
|
r8 | website = 'https://code.implab.org/implab/gradle-container-plugin' | ||
vcsUrl = 'https://code.implab.org/implab/gradle-container-plugin' | ||||
cin
|
r0 | plugins { | ||
containerPlugin { | ||||
id = 'org.implab.gradle-container' | ||||
cin
|
r4 | displayName = "Container building plugin" | ||
description = 'Build and publish container images with docker or podman. Simple wrapper around cli.' | ||||
cin
|
r0 | implementationClass = 'org.implab.gradle.containers.ContainerPlugin' | ||
cin
|
r8 | tags.set(['containers', 'image', 'docker', 'podman']) | ||
cin
|
r0 | } | ||
} | ||||
} | ||||
cin
|
r8 | |||
task printVersion { | ||||
doLast { | ||||
println "${->jar.archiveFileName.get()}" | ||||
} | ||||
} | ||||
cin
|
r0 | |||
cin
|
r8 | publishing { | ||
repositories { | ||||
ivy { | ||||
url "${System.properties["user.home"]}/ivy-repo" | ||||
} | ||||
} | ||||
cin
|
r0 | } | ||