Skip to content

Commit

Permalink
Upload
Browse files Browse the repository at this point in the history
  • Loading branch information
marcocipriani01 committed Jun 15, 2021
1 parent af90250 commit 04a1e1e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
8 changes: 4 additions & 4 deletions META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Manifest-Version: 2.0.0
Manifest-Version: 2.0.1
Specification-Vendor: INDIForJava
Name: org/indilib/i4j
Specification-Title: INDIForJava
Specification-Version: 2.0.0
Name: org/indilib/i4j/server
Specification-Title: INDIForJava-server
Specification-Version: 2.0.1
20 changes: 13 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ targetCompatibility = 1.8

group 'org.indilib.i4j'
description = 'INDIForJava-server'
version '2.0.0'
version '2.0.1'

dependencies {
api 'com.github.INDIForJava:INDIForJava-driver:2.0.0'
Expand All @@ -26,14 +26,10 @@ dependencies {

jar {
archivesBaseName = project.name
destinationDirectory = file("build/")
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
from 'META-INF/MANIFEST.MF'
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}

task sourcesJar(type: Jar, dependsOn: classes) {
Expand All @@ -47,6 +43,16 @@ task javadocJar(type: Jar) {
from javadoc
}

task fatJar(type: Jar, dependsOn: classes) {
from sourceSets.main.allSource
classifier "sources"
extension "jar"
destinationDirectory = file("build/")
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}

artifacts {
archives javadocJar, sourcesJar
}
Expand All @@ -68,8 +74,8 @@ configure(install.repositories.mavenInstaller) {

licenses {
license {
name = 'GNU General Public License'
url = 'https://www.gnu.org/licenses/gpl-3.0.txt'
name = 'GNU Lesser General Public License'
url = 'https://www.gnu.org/licenses/lgpl-3.0.txt'
}
}

Expand Down

0 comments on commit 04a1e1e

Please sign in to comment.