@@ -15,7 +15,7 @@ targetCompatibility = 1.8
1515
1616group ' org.indilib.i4j'
1717description = ' INDIForJava-core'
18- version ' 2.0.0 '
18+ version ' 2.0.1 '
1919
2020dependencies {
2121 api ' org.slf4j:slf4j-api:1.7.30'
@@ -25,14 +25,10 @@ dependencies {
2525
2626jar {
2727 archivesBaseName = project. name
28- destinationDirectory = file(" build/" )
2928 duplicatesStrategy = DuplicatesStrategy . EXCLUDE
3029 manifest {
3130 from ' META-INF/MANIFEST.MF'
3231 }
33- from {
34- configurations. runtimeClasspath. collect { it. isDirectory() ? it : zipTree(it) }
35- }
3632}
3733
3834task sourcesJar (type : Jar , dependsOn : classes) {
@@ -46,6 +42,16 @@ task javadocJar(type: Jar) {
4642 from javadoc
4743}
4844
45+ task fatJar (type : Jar , dependsOn : classes) {
46+ from sourceSets. main. allSource
47+ classifier " sources"
48+ extension " jar"
49+ destinationDirectory = file(" build/" )
50+ from {
51+ configurations. runtimeClasspath. collect { it. isDirectory() ? it : zipTree(it) }
52+ }
53+ }
54+
4955artifacts {
5056 archives javadocJar, sourcesJar
5157}
@@ -67,8 +73,8 @@ configure(install.repositories.mavenInstaller) {
6773
6874 licenses {
6975 license {
70- name = ' GNU General Public License'
71- url = ' https://www.gnu.org/licenses/gpl -3.0.txt'
76+ name = ' GNU Lesser General Public License'
77+ url = ' https://www.gnu.org/licenses/lgpl -3.0.txt'
7278 }
7379 }
7480
0 commit comments