33 lines
958 B
Groovy
33 lines
958 B
Groovy
|
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()
|
||
|
}
|
||
|
|
||
|
if (project.hasProperty('gradle.publish.key')) {
|
||
|
gradlePlugin {
|
||
|
website = 'https://xbib.org/joerg/gradle-plugins/src/branch/main/gradle-plugin-jdeps'
|
||
|
vcsUrl = 'https://xbib.org/joerg/gradle-plugins'
|
||
|
plugins {
|
||
|
jdepsPlugin {
|
||
|
id = 'org.xbib.gradle.plugin.jdeps'
|
||
|
implementationClass = 'org.xbib.gradle.plugin.jdeps.JDepsPlugin'
|
||
|
version = project.version
|
||
|
description = 'Gradle JDeps plugin'
|
||
|
displayName = 'Gradle JDeps plugin'
|
||
|
tags.set(['jdeps'])
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|