gradle-plugins/gradle-plugin-shadow/build.gradle

41 lines
1.1 KiB
Groovy
Raw Normal View History

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()
implementation libs.asm
implementation libs.asm.commons
implementation libs.asm.util
testImplementation gradleTestKit()
testImplementation libs.spock.core
testImplementation libs.spock.junit4
}
if (project.hasProperty('gradle.publish.key')) {
2022-06-01 10:13:13 +02:00
gradlePlugin {
plugins {
shadowPlugin {
id = 'org.xbib.gradle.plugin.shadow'
2022-06-01 10:13:13 +02:00
implementationClass = 'org.xbib.gradle.plugin.shadow.ShadowPlugin'
group = project.group
version = project.version
description = 'Shadow plugin for Gradle'
displayName = 'Shadow plugin for Gradle'
}
}
}
2023-05-16 14:01:42 +02:00
/*pluginBundle {
2022-06-01 10:13:13 +02:00
website = scmUrl
vcsUrl = scmUrl
tags = [ 'shadow' ]
2023-05-16 14:01:42 +02:00
}*/
}