gradle-plugins/gradle-plugin-jlink/build.gradle

35 lines
1 KiB
Groovy
Raw Normal View History

2024-05-14 20:01:32 +02: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()
testImplementation testLibs.spock.core
testImplementation testLibs.spock.junit4
2024-05-14 20:01:32 +02:00
}
if (project.hasProperty('gradle.publish.key')) {
gradlePlugin {
website = 'https://xbib.org/joerg/gradle-plugins/src/branch/main/gradle-plugin-jlink'
vcsUrl = 'https://xbib.org/joerg/gradle-plugins'
plugins {
jlinkPlugin {
id = 'org.xbib.gradle.plugin.jlink'
2024-10-26 00:10:25 +02:00
implementationClass = 'org.xbib.gradle.plugin.jlink.JLinkPlugin'
2024-05-14 20:01:32 +02:00
version = project.version
2024-10-26 00:10:25 +02:00
description = 'Gradle JLink plugin'
displayName = 'Gradle JLink plugin'
2024-05-14 20:01:32 +02:00
tags.set(['jlink'])
}
}
}
}