mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 07:43:40 +01:00
add ability to publish this plugin to Bintray
Former-commit-id: 61b03346bf2f3035d52f86c88d8d655099ed5eb7
This commit is contained in:
3
dependency-check-gradle/.gitignore
vendored
3
dependency-check-gradle/.gitignore
vendored
@@ -8,4 +8,5 @@
|
||||
out/
|
||||
build/
|
||||
|
||||
gradle-app.setting
|
||||
gradle-app.setting
|
||||
gradle.properties
|
||||
@@ -1,9 +1,16 @@
|
||||
plugins {
|
||||
id 'nu.studer.plugindev' version '1.0.3'
|
||||
}
|
||||
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'groovy'
|
||||
apply plugin: 'maven'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven {
|
||||
url 'http://dl.bintray.com/wei/maven'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -18,10 +25,37 @@ dependencies {
|
||||
group = 'com.tools.security'
|
||||
version = '0.0.1'
|
||||
|
||||
uploadArchives {
|
||||
repositories {
|
||||
mavenDeployer {
|
||||
repository(url: uri('../../../repo'))
|
||||
}
|
||||
}
|
||||
//-------------------------------
|
||||
// Local debug use only
|
||||
//
|
||||
//uploadArchives {
|
||||
// repositories {
|
||||
// mavenDeployer {
|
||||
// repository(url: uri('../../../repo'))
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
//-------------------------------
|
||||
|
||||
plugindev {
|
||||
pluginId = 'dependency.check'
|
||||
pluginName = 'dependency-check'
|
||||
pluginImplementationClass 'com.tools.security.plugin.DependencyCheckGradlePlugin'
|
||||
pluginDescription 'This is dependency check gradle plugin.'
|
||||
pluginLicenses 'Apache-2.0'
|
||||
pluginTags 'dependency check', 'security'
|
||||
authorId 'wmaintw'
|
||||
authorName 'Wei Ma'
|
||||
authorEmail 'wma@thoughtworks.com'
|
||||
projectUrl 'https://github.com/wmaintw/DependencyCheck'
|
||||
projectIssuesUrl 'https://github.com/wmaintw/DependencyCheck/issues'
|
||||
projectVcsUrl 'git@github.com:wmaintw/DependencyCheck.git'
|
||||
projectInceptionYear '2015'
|
||||
done()
|
||||
}
|
||||
|
||||
bintray {
|
||||
user = bintrayUser
|
||||
key = bintrayUserKey
|
||||
pkg.repo = bintrayRepo
|
||||
}
|
||||
Reference in New Issue
Block a user