forked from npetzall/xjc-classref-mapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
68 lines (58 loc) · 1.51 KB
/
build.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
plugins {
id "com.jfrog.bintray" version "1.6"
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven'
apply plugin: 'maven-publish'
sourceCompatibility = 1.7
targetCompatibility = 1.7
group 'npetzall.xjc.plugin'
version '0.0.2'
repositories {
mavenLocal()
jcenter()
mavenCentral()
}
dependencies {
compile 'org.glassfish.jaxb:jaxb-xjc:2.2.11'
testCompile 'org.testng:testng:6.9.9'
testCompile 'org.assertj:assertj-core:3.1.0'
}
test {
testLogging.showStandardStreams = true
beforeTest { descriptor ->
logger.lifecycle("Running test: " + descriptor)
}
}
task sourceJar(type: Jar) {
from sourceSets.main.allJava
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourceJar {
classifier "sources"
}
}
}
}
bintray {
user = bintrayUser
key = bintrayKey
publications = ['mavenJava']
pkg {
repo = 'maven'
name = 'xjc-classref-mapper'
desc = 'Adds class-ref bindings as CElementInfo(elementmapping), and removes all generated code in the class-ref package'
licenses = ['MIT']
websiteUrl = 'https://github.com/npetzall/xjc-classref-mapper'
issueTrackerUrl = 'https://github.com/npetzall/xjc-classref-mapper/issues'
vcsUrl = 'https://github.com/npetzall/xjc-classref-mapper.git'
githubRepo = 'npetzall/xjc-classref-mapper'
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.14'
}