gradle-plugins/gradle-plugin-git/build.gradle

36 lines
1.1 KiB
Groovy
Raw Permalink Normal View History

2021-11-09 14:08:25 +01:00
plugins {
id 'java-gradle-plugin'
alias(libs.plugins.publish)
2021-11-09 14:08:25 +01:00
}
apply plugin: 'java-gradle-plugin'
apply plugin: 'com.gradle.plugin-publish'
apply from: rootProject.file('gradle/compile/groovy.gradle')
2024-01-08 00:38:42 +01:00
apply from: rootProject.file('gradle/test/junit5.gradle')
2021-11-09 14:08:25 +01:00
dependencies {
api gradleApi()
api libs.groovy.git
2021-11-09 14:08:25 +01:00
testImplementation gradleTestKit()
2024-01-08 00:38:42 +01:00
testImplementation testLibs.spock.core
2023-10-23 16:58:25 +02:00
testImplementation testLibs.junit4
2021-11-09 14:08:25 +01:00
}
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-git'
vcsUrl = 'https://xbib.org/joerg/gradle-plugins'
2021-11-09 14:08:25 +01:00
plugins {
gitPlugin {
id = 'org.xbib.gradle.plugin.git'
2022-06-01 10:13:13 +02:00
implementationClass = 'org.xbib.gradle.plugin.git.GitPlugin'
2021-11-09 14:08:25 +01:00
version = project.version
2021-11-16 14:38:52 +01:00
description = 'Git client plugin based on JGit'
displayName = 'Git client plugin based on JGit'
2023-05-24 22:42:39 +02:00
tags.set(['git'])
2021-11-09 14:08:25 +01:00
}
}
}
}