Skip to content

Commit

Permalink
Publish the plugin to plugins.gradle.org
Browse files Browse the repository at this point in the history
  • Loading branch information
timotei committed Jul 2, 2021
1 parent ea33d75 commit c6d18f8
Showing 1 changed file with 20 additions and 22 deletions.
42 changes: 20 additions & 22 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
plugins {
id 'nu.studer.plugindev' version '1.0.7'
id 'com.gradle.plugin-publish' version '0.15.0'
id 'net.researchgate.release' version '2.6.0'
}

apply plugin: 'java-gradle-plugin'
apply plugin: 'groovy'
apply plugin: 'com.gradle.plugin-publish'

group = 'com.ullink.gradle'
description 'gradle-nunit-plugin is a Gradle plugin that enables NUnit testing'
Expand All @@ -19,28 +20,25 @@ dependencies {
}
}

bintray {
// to remove when upgraded plugindev to 1.0.4
user project.properties.bintrayUser
key project.properties.bintrayApiKey
pkg.repo = 'gradle-plugins'
pkg.version.gpg.sign = true
pkg.userOrg = 'ullink'
pluginBundle {
website = 'https://github.com/Itiviti/gradle-nunit-plugin'
vcsUrl = 'https://github.com/Itiviti/gradle-nunit-plugin'
tags = ['nunit', 'c#', '.net']

mavenCoordinates {
groupId = 'com.ullink.gradle'
}
}

plugindev {
pluginId 'com.ullink.nunit'
pluginName 'com.ullink.gradle:gradle-nunit-plugin'
pluginImplementationClass 'com.ullink.gradle.nunit.NUnitPlugin'
pluginDescription project.description
pluginLicenses 'Apache-2.0'
pluginTags 'gradle', 'plugin', 'nunit', 'c#', '.net', 'test'
authorId 'muryoh'
authorName 'Remy Masson'
authorEmail '[email protected]'
projectUrl "https://github.com/Ullink/${project.name}"
projectInceptionYear '2015'
done()
gradlePlugin {
plugins {
nunitPlugin {
id = 'com.ullink.nunit'
description = project.description
displayName = 'Gradle NUnit Plugin'
implementationClass = 'com.ullink.gradle.nunit.NUnitPlugin'
}
}
}

project.tasks.afterReleaseBuild.dependsOn project.tasks.bintrayUpload
afterReleaseBuild.dependsOn project.tasks.publishPlugins

0 comments on commit c6d18f8

Please sign in to comment.