Skip to content

Commit

Permalink
Configure plugins.gradle.org publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
timotei committed May 25, 2021
1 parent e3e93e1 commit dea483b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 1.14
### Changed
* Default OpenCover version is now 4.7.1189
* The plugin is now published on plugins.gradle.org

## 1.13
### Fixed
Expand Down
43 changes: 21 additions & 22 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
plugins {
id 'nu.studer.plugindev' version '1.0.12'
id 'net.researchgate.release' version '2.8.0'
id 'com.gradle.plugin-publish' version '0.15.0'
id 'java-gradle-plugin'
}

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

dependencies {
compile 'commons-io:commons-io:2.6'
Expand All @@ -13,28 +15,25 @@ dependencies {
group = 'com.ullink.gradle'
description 'gradle-opencover-plugin is a Gradle plugin for getting code coverage using OpenCover'

bintray {
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-opencover-plugin'
vcsUrl = 'https://github.com/Itiviti/gradle-opencover-plugin'
tags = ['opencover', 'nunit', 'c#', '.net']

plugindev {
pluginName 'com.ullink.gradle:gradle-opencover-plugin'
pluginDescription project.description
pluginLicenses 'Apache-2.0'
pluginTags 'gradle', 'plugin', 'opencover', 'c#', '.net', 'test'
authorId 'muryoh'
authorName 'Remy Masson'
authorEmail '[email protected]'
projectUrl "https://github.com/Ullink/${project.name}"
projectInceptionYear '2015'
pluginId = 'com.ullink.opencover-nunit'
pluginImplementationClass 'com.ullink.gradle.opencover.OpenCoverNUnitPlugin'
mavenCoordinates {
groupId = 'com.ullink.gradle'
}
}

done()
gradlePlugin {
plugins {
opencoverPlugin {
id = 'com.ullink.opencover-nunit'
description = project.description
displayName = 'Gradle Opencover Plugin'
implementationClass = 'com.ullink.gradle.opencover.OpenCoverNUnitPlugin'
}
}
}

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

0 comments on commit dea483b

Please sign in to comment.