forked from scubacabra/gradle-jaxb-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpublishing.gradle
41 lines (37 loc) · 1.29 KB
/
publishing.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'
publishing {
publications {
plugin(MavenPublication) {
from components.java
artifact groovyDocJar {
classifier "groovydoc"
}
artifact groovySourceJar {
classifier "sources"
}
}
}
}
bintray {
user = bintray_username
key = bintray_api_key
publications = ['plugin'] // When uploading Maven-based publication files
pkg {
repo = 'gradle-plugins'
name = 'gradle-jaxb-plugin'
desc = """Jaxb plugin for gradle, using the xjc ant task, dynamic dependency tree generation and episode binding per unique namespace -- keeping
duplicated generated files out of your hair and de-coupling xsd dependencies"""
licenses = ['GPL-2.0']
publicDownloadNumbers = true
websiteUrl = 'https://github.com/jacobono/gradle-jaxb-plugin'
issueTrackerUrl = 'https://github.com/jacobono/gradle-jaxb-plugn/issues'
vcsUrl = 'https://github.com/jacobono/gradle-jaxb-plugn.git'
labels = ['xsd', 'gradle', 'plugins', 'jaxb']
version {
attributes = [ 'gradle-plugin': 'com.github.jacobono.jaxb:org.gradle.jacobo.plugins:gradle-jaxb-plugin' ]
}
}
dryRun = true // whether to run this as dry-run, without deploying
publish = true //If version should be auto published after an upload
}