mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-26 19:11:29 +01:00
add ability to publish this plugin to Bintray
Former-commit-id: 61b03346bf2f3035d52f86c88d8d655099ed5eb7
This commit is contained in:
1
dependency-check-gradle/.gitignore
vendored
1
dependency-check-gradle/.gitignore
vendored
@@ -9,3 +9,4 @@ out/
|
|||||||
build/
|
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: 'idea'
|
||||||
apply plugin: 'groovy'
|
apply plugin: 'groovy'
|
||||||
apply plugin: 'maven'
|
apply plugin: 'maven'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
maven {
|
||||||
|
url 'http://dl.bintray.com/wei/maven'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
@@ -18,10 +25,37 @@ dependencies {
|
|||||||
group = 'com.tools.security'
|
group = 'com.tools.security'
|
||||||
version = '0.0.1'
|
version = '0.0.1'
|
||||||
|
|
||||||
uploadArchives {
|
//-------------------------------
|
||||||
repositories {
|
// Local debug use only
|
||||||
mavenDeployer {
|
//
|
||||||
repository(url: uri('../../../repo'))
|
//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