forked from bouviervj/topojson-j
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
89 lines (75 loc) · 2.24 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
plugins {
id 'java-library'
id 'maven-publish'
id 'to.wetransform.semantic-release-version' version '2.1.1'
}
group = 'com.github.wetransform-os'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven {
url 'https://repo.osgeo.org/repository/release/'
}
mavenCentral()
}
dependencies {
implementation 'org.lz4:lz4-java:1.8.0' // Apache 2.0
implementation 'com.github.albfernandez:javadbf:1.14.1' // LGPL 3.0
implementation 'com.google.code.gson:gson:2.11.0' // Apache 2.0
implementation 'org.apache.commons:commons-lang3:3.16.0' // Apache 2.0
// GeoTools (LGPL 2.1)
implementation 'org.geotools:gt-main:29.6'
implementation 'org.geotools:gt-epsg-hsql:29.6'
implementation 'org.geotools:gt-opengis:29.6'
// implementation 'org.geotools:gt-geometry:24.2'
implementation 'org.geotools:gt-referencing:29.6'
implementation 'javax.xml.bind:jaxb-api:2.3.1'
implementation 'com.sun.xml.bind:jaxb-core:2.3.0.1'
implementation 'com.sun.xml.bind:jaxb-impl:2.3.9'
testImplementation 'junit:junit:4.13.2'
}
java {
withSourcesJar()
}
sourceSets {
main {
java {
srcDirs 'src'
}
}
test {
java {
srcDirs 'unittest'
}
}
}
publishing {
publications {
maven(MavenPublication) {
from components.java
pom {
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
}
}
}
repositories {
maven {
url = project.version.endsWith('-SNAPSHOT') ?
'https://artifactory.wetransform.to/artifactory/libs-snapshot-local' :
'https://artifactory.wetransform.to/artifactory/libs-release-local'
credentials {
username project.hasProperty('wetfArtifactoryUser') ? wetfArtifactoryUser : ''
password project.hasProperty('wetfArtifactoryPassword') ? wetfArtifactoryPassword : ''
}
}
}
}
wrapper {
gradleVersion = '8.10'
distributionType = Wrapper.DistributionType.ALL
}