Skip to content

Commit 04a1e1e

Browse files
Upload
1 parent af90250 commit 04a1e1e

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

META-INF/MANIFEST.MF

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Manifest-Version: 2.0.0
1+
Manifest-Version: 2.0.1
22
Specification-Vendor: INDIForJava
3-
Name: org/indilib/i4j
4-
Specification-Title: INDIForJava
5-
Specification-Version: 2.0.0
3+
Name: org/indilib/i4j/server
4+
Specification-Title: INDIForJava-server
5+
Specification-Version: 2.0.1

build.gradle

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ targetCompatibility = 1.8
1616

1717
group 'org.indilib.i4j'
1818
description = 'INDIForJava-server'
19-
version '2.0.0'
19+
version '2.0.1'
2020

2121
dependencies {
2222
api 'com.github.INDIForJava:INDIForJava-driver:2.0.0'
@@ -26,14 +26,10 @@ dependencies {
2626

2727
jar {
2828
archivesBaseName = project.name
29-
destinationDirectory = file("build/")
3029
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
3130
manifest {
3231
from 'META-INF/MANIFEST.MF'
3332
}
34-
from {
35-
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
36-
}
3733
}
3834

3935
task sourcesJar(type: Jar, dependsOn: classes) {
@@ -47,6 +43,16 @@ task javadocJar(type: Jar) {
4743
from javadoc
4844
}
4945

46+
task fatJar(type: Jar, dependsOn: classes) {
47+
from sourceSets.main.allSource
48+
classifier "sources"
49+
extension "jar"
50+
destinationDirectory = file("build/")
51+
from {
52+
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
53+
}
54+
}
55+
5056
artifacts {
5157
archives javadocJar, sourcesJar
5258
}
@@ -68,8 +74,8 @@ configure(install.repositories.mavenInstaller) {
6874

6975
licenses {
7076
license {
71-
name = 'GNU General Public License'
72-
url = 'https://www.gnu.org/licenses/gpl-3.0.txt'
77+
name = 'GNU Lesser General Public License'
78+
url = 'https://www.gnu.org/licenses/lgpl-3.0.txt'
7379
}
7480
}
7581

0 commit comments

Comments
 (0)