plugins { alias(libs.plugins.publish) } 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-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']) } } } }