-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
58 lines (47 loc) · 1.49 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
buildscript {
ext {
javaVersion = '1.8'
encoding = 'UTF-8'
cxfVersion = "3.3.2"
}
}
plugins {
id 'no.nils.wsdl2java' version '0.10'
id 'org.shipkit.java' version '2.2.5'
}
apply plugin: 'java-library'
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
compileJava.options.encoding = encoding
compileTestJava.options.encoding = encoding
group = 'eximius.bir1'
description = 'Java API for Internet REGON Database (BIR1)'
repositories {
mavenCentral()
jcenter()
}
dependencies {
wsdl2java (
[group: 'javax.xml.ws', name: 'jaxws-api', version: '2.3.1'],
[group: 'javax.annotation', name: 'javax.annotation-api', version: '1.3.2'],
[group: 'javax.jws', name: 'javax.jws-api', version: '1.1'],
)
implementation (
[group: 'com.sun.xml.ws', name: 'jaxws-rt', version: '2.3.0']
)
}
wsdl2java {
wsdlDir = file("$projectDir/src/main/resources/wsdl")
wsdlsToGenerate = [
["https://wyszukiwarkaregontest.stat.gov.pl/wsBIR/wsdl/UslugaBIRzewnPubl-ver11-test.wsdl"],
// ["$wsdlDir/UslugaBIRzewnPubl.xsd"]
]
generatedWsdlDir = file("$projectDir/generated")
}
wsdl2javaExt {
cxfVersion = project.ext.cxfVersion
}
clean.delete << file("$projectDir/generated")
// For @javax.xml.bind.annotation.XmlSchema(namespace = "http://CIS/BIR/PUBL/2014/07/DataContract", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
// FIXME
tasks.withType(Javadoc).all { enabled = false }