@@ -2,7 +2,7 @@ apply plugin: 'java-library'
2
2
apply plugin : ' maven-publish'
3
3
4
4
group = ' earth.worldwind'
5
- version = ' 2.3.0 ' + (project. hasProperty(' snapshot' ) ? ' -SNAPSHOT' : ' ' )
5
+ version = ' 2.3.1 ' + (project. hasProperty(' snapshot' ) ? ' -SNAPSHOT' : ' ' )
6
6
7
7
ant {
8
8
property(file : ' release-build.properties' )
14
14
gdalVersion = ' 3.10.0'
15
15
jacksonVersion = ' 1.9.13'
16
16
junitVersion = ' 4.5'
17
- // systemGDAL = true
18
17
}
19
18
20
19
repositories {
@@ -24,11 +23,11 @@ repositories {
24
23
}
25
24
26
25
dependencies {
27
- implementation group : ' org.jogamp.jogl' , name : ' jogl-all-main' , version : " $project . joglVersion "
28
- implementation group : ' org.jogamp.gluegen' , name : ' gluegen-rt-main' , version : " $project . joglVersion "
29
-
26
+ implementation " org.jogamp.jogl: jogl-all-main: $project . joglVersion "
27
+ implementation " org.jogamp.gluegen: gluegen-rt-main: $project . joglVersion "
28
+
30
29
if (project. hasProperty(' systemGDAL' )) {
31
- implementation files(" C: \\ Program Files \\ GDAL \\ java \\ gdal.jar" )
30
+ implementation files(" ${ ant.properties['gdal.jar.dir'] } / gdal.jar" )
32
31
} else {
33
32
implementation " org.gdal:gdal:$project . gdalVersion "
34
33
}
@@ -50,10 +49,10 @@ task sourcesJar(type: Jar, dependsOn: classes) {
50
49
}
51
50
}
52
51
53
- task worldwindJar (type : Jar ) {
52
+ task extensionsJar (type : Jar ) {
54
53
group = ' build'
55
- description = ' Assembles a jar archive containing the WorldWind classes.'
56
- archivesBaseName = ' worldwind '
54
+ description = ' Assembles a jar archive containing the extension classes.'
55
+ baseName = ' worldwindx '
57
56
from (sourceSets. main. output) {
58
57
exclude ' com/**'
59
58
exclude ' config/**'
@@ -62,9 +61,9 @@ task worldwindJar(type: Jar) {
62
61
}
63
62
doLast {
64
63
copy {
65
- from " $buildDir /libs/$w orldwindJar . archiveFileName "
64
+ from " $buildDir /libs/$e xtensionsJar . archiveFileName "
66
65
into project. projectDir
67
- rename " $w orldwindJar . archiveFileName " , " $w orldwindJar . baseName . $w orldwindJar . extension "
66
+ rename " $e xtensionsJar . archiveFileName " , " $e xtensionsJar . baseName . $e xtensionsJar . extension "
68
67
}
69
68
}
70
69
}
@@ -98,7 +97,7 @@ def pomConfig = {
98
97
99
98
publishing {
100
99
publications {
101
- bintray (MavenPublication ) {
100
+ maven (MavenPublication ) {
102
101
from components. java
103
102
artifact sourcesJar
104
103
artifact javadocJar
@@ -177,7 +176,7 @@ javadoc {
177
176
178
177
artifacts {
179
178
archives sourcesJar
180
- archives worldwindJar
179
+ archives extensionsJar
181
180
archives javadocJar
182
181
}
183
182
0 commit comments