-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
101 lines (94 loc) · 2.92 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
plugins {
id 'java-library'
id 'maven-publish'
}
group 'org.citydb'
version '1.1.6'
description 'Fork of the inactive swingx-ws library'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
withJavadocJar()
withSourcesJar()
}
repositories {
maven {
url 'https://3dcitydb.org/maven'
}
mavenCentral()
}
dependencies {
implementation 'org.citydb:swingx-all:1.6.10'
implementation 'commons-httpclient:commons-httpclient:3.1'
implementation 'com.sun.xml.ws:jaxws-ri:2.3.7'
implementation 'net.sf.json-lib:json-lib:0.9'
implementation 'jtidy:jtidy:4aug2000r7-dev'
implementation 'rome:rome:1.0'
implementation 'org.json:json:20231013'
compileOnly 'org.kohsuke.metainf-services:metainf-services:1.8'
annotationProcessor 'org.kohsuke.metainf-services:metainf-services:1.8'
}
javadoc {
failOnError = false
options.addStringOption('Xdoclint:none', '-quiet')
}
jar {
from(sourceSets.main.allSource) {
include '**/*'
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
manifest {
attributes('Implementation-Title': project.name,
'Implementation-Version': project.version
)
}
into('META-INF') {
from 'LICENSE'
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
pom {
name = project.name
description = project.description
url = 'https://github.com/3dcitydb'
licenses {
license {
name = 'GNU Lesser General Public License (LGPL), Version 2.1'
url = 'http://www.fsf.org/licensing/licenses/lgpl.txt'
distribution = 'repo'
}
}
developers {
developer {
id = 'clausnagel'
name = 'Claus Nagel'
email = '[email protected]'
roles = ['architect', 'developer']
timezone = '+1'
}
}
scm {
url = 'https://github.com/3dcitydb/swingx-ws'
connection = 'scm:git:https://github.com/3dcitydb/swingx-ws.git'
}
}
}
}
repositories {
maven {
url project.hasProperty('gitLab_maven_url') ? project.property('gitLab_maven_url') : System.getenv('GITLAB_MAVEN_URL')
name 'gitlab-maven'
credentials(HttpHeaderCredentials) {
name = 'Private-Token'
value = project.hasProperty('gitLab_private_token') ? project.property('gitLab_private_token') : System.getenv('GITLAB_PRIVATE_TOKEN')
}
authentication {
header(HttpHeaderAuthentication)
}
}
}
}