gradle-plugins/gradle-plugin-docker/build.gradle

55 lines
1.3 KiB
Groovy
Raw Normal View History

2021-11-09 14:08:25 +01:00
plugins {
id 'java-gradle-plugin'
id 'groovy'
2021-11-16 15:11:29 +01:00
id 'com.gradle.plugin-publish' version '0.18.0'
2021-11-09 14:08:25 +01:00
}
2021-11-16 15:11:29 +01:00
apply plugin: 'groovy'
apply plugin: 'java-gradle-plugin'
apply plugin: 'com.gradle.plugin-publish'
2021-11-09 14:08:25 +01:00
dependencies {
api gradleApi()
testImplementation gradleTestKit()
}
compileGroovy {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
compileTestGroovy {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
gradlePlugin {
plugins {
dockerPlugin {
id = 'org.xbib.gradle.plugin.docker'
implementationClass = 'org.xbib.gradle.plugin.docker.DockerPlugin'
}
}
}
if (project.hasProperty('gradle.publish.key')) {
pluginBundle {
2021-11-16 15:11:29 +01:00
mavenCoordinates {
groupId = "org.xbib.gradle.plugin"
artifactId = "gradle-plugin-docker"
version = project.version
}
2021-11-16 14:38:52 +01:00
website = 'https://github.com/jprante/gradle-plugins'
vcsUrl = 'https://github.com/jprante/gradle-plugins'
2021-11-09 14:08:25 +01:00
plugins {
dockerPlugin {
id = 'org.xbib.gradle.plugin.docker'
version = project.version
2021-11-16 14:38:52 +01:00
description = 'Docker plugin for build and push by Dockerfile'
displayName = 'Docker Plugin for build and push by Dockerfile'
2021-11-16 15:11:29 +01:00
tags = ['docker']
2021-11-09 14:08:25 +01:00
}
}
}
}