@@ -16,7 +16,7 @@ targetCompatibility = 1.8
1616
1717group ' org.indilib.i4j'
1818description = ' INDIForJava-server'
19- version ' 2.0.0 '
19+ version ' 2.0.1 '
2020
2121dependencies {
2222 api ' com.github.INDIForJava:INDIForJava-driver:2.0.0'
@@ -26,14 +26,10 @@ dependencies {
2626
2727jar {
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
3935task 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+
5056artifacts {
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