2021-11-09 14:08:25 +01:00
|
|
|
plugins {
|
2022-02-19 23:05:50 +01:00
|
|
|
alias(libs.plugins.publish)
|
2021-11-09 14:08:25 +01:00
|
|
|
}
|
|
|
|
|
2021-11-16 15:11:29 +01:00
|
|
|
apply plugin: 'com.gradle.plugin-publish'
|
2021-11-09 14:08:25 +01:00
|
|
|
|
2022-02-19 23:05:50 +01:00
|
|
|
apply from: rootProject.file('gradle/compile/groovy.gradle')
|
2024-01-08 00:38:42 +01:00
|
|
|
apply from: rootProject.file('gradle/test/junit5.gradle')
|
2022-02-19 23:05:50 +01:00
|
|
|
|
2021-11-09 14:08:25 +01:00
|
|
|
dependencies {
|
|
|
|
api gradleApi()
|
|
|
|
testImplementation gradleTestKit()
|
|
|
|
}
|
|
|
|
|
|
|
|
if (project.hasProperty('gradle.publish.key')) {
|
2022-06-01 10:13:13 +02:00
|
|
|
gradlePlugin {
|
2023-05-24 22:42:39 +02:00
|
|
|
website = 'https://xbib.org/joerg/gradle-plugins/src/branch/main/gradle-plugin-docker'
|
|
|
|
vcsUrl = 'https://xbib.org/joerg/gradle-plugins'
|
2022-06-01 10:13:13 +02:00
|
|
|
plugins {
|
|
|
|
dockerPlugin {
|
|
|
|
id = 'org.xbib.gradle.plugin.docker'
|
|
|
|
implementationClass = 'org.xbib.gradle.plugin.docker.DockerPlugin'
|
|
|
|
version = project.version
|
|
|
|
description = 'Docker plugin for build and push by Dockerfile'
|
|
|
|
displayName = 'Docker Plugin for build and push by Dockerfile'
|
2023-05-24 22:42:39 +02:00
|
|
|
tags.set(['docker'])
|
2022-06-01 10:13:13 +02:00
|
|
|
}
|
2021-11-09 14:08:25 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|