gradle-plugins/gradle-plugin-jpackage/build.gradle

35 lines
1 KiB
Groovy
Raw Normal View History

2024-02-17 11:52:38 +01:00
plugins {
id 'java-gradle-plugin'
alias(libs.plugins.publish)
}
apply plugin: 'java-gradle-plugin'
apply plugin: 'com.gradle.plugin-publish'
apply from: rootProject.file('gradle/compile/groovy.gradle')
apply from: rootProject.file('gradle/test/junit5.gradle')
dependencies {
api gradleApi()
testImplementation gradleTestKit()
2024-05-14 20:01:32 +02:00
testImplementation testLibs.spock.core
testImplementation testLibs.spock.junit4
2024-02-17 11:52:38 +01:00
}
if (project.hasProperty('gradle.publish.key')) {
gradlePlugin {
website = 'https://xbib.org/joerg/gradle-plugins/src/branch/main/gradle-plugin-jpackage'
vcsUrl = 'https://xbib.org/joerg/gradle-plugins'
plugins {
2024-05-14 20:01:32 +02:00
jpackagePlugin {
2024-02-17 11:52:38 +01:00
id = 'org.xbib.gradle.plugin.jpackage'
implementationClass = 'org.xbib.gradle.plugin.jpackage.JPackagePlugin'
version = project.version
description = 'Gradle JPackage plugin'
displayName = 'Gradle JPackage plugin'
tags.set(['jpackage'])
}
}
}
}