gradle-plugins/gradle-plugin-cmake/build.gradle

31 lines
925 B
Groovy
Raw Permalink Normal View History

2024-01-09 22:30:26 +01:00
plugins {
alias(libs.plugins.publish)
}
apply plugin: 'com.gradle.plugin-publish'
2024-02-11 14:28:27 +01:00
apply from: rootProject.file('gradle/compile/groovy.gradle')
2024-01-09 22:30:26 +01:00
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-cmake'
vcsUrl = 'https://xbib.org/joerg/gradle-plugins'
plugins {
cmakePlugin {
id = 'org.xbib.gradle.plugin.cmake'
implementationClass = 'org.xbib.gradle.plugin.cmake.CMakePlugin'
version = project.version
description = 'Gradle plugin for build with cmake'
displayName = 'Gradle Plugin for build with cmake'
tags.set(['cmake'])
}
}
}
}