Skip to content

Commit

Permalink
Added Gradle fatjar task, changed project group and name
Browse files Browse the repository at this point in the history
  • Loading branch information
Litarvan committed Sep 13, 2017
1 parent e8a6a80 commit a143034
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'application'

group = 'fr.ironcraft'
group = 'fr.ironcraft.kubithon'
archivesBaseName = 'installer'
version = appVersion

Expand Down Expand Up @@ -36,4 +36,14 @@ dependencies {
compile group: 'fr.theshark34.swinger', name: 'swinger', version: '1.0.1-BETA'

compile group: 'org.json', name: 'json', version: '20160810'
}

task fatjar(type: Jar) {
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
}

with jar
}
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rootProject.name = 'Installer'
rootProject.name = 'kubithon-installer'

0 comments on commit a143034

Please sign in to comment.