-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
REDNBLACK
committed
Apr 7, 2016
1 parent
7bce54a
commit 5af90b1
Showing
3 changed files
with
24 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Wed Nov 04 21:07:47 MSK 2015 | ||
#Wed Apr 06 17:11:27 MSK 2016 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,28 @@ | ||
apply plugin: 'application' | ||
plugins { | ||
id 'application' | ||
id 'edu.sc.seis.launch4j' version '1.6.1' | ||
id 'com.github.johnrengelman.shadow' version '1.2.3' | ||
} | ||
|
||
mainClassName = 'org.f0w.k2i.gui.Main' | ||
version = '0.8.0' | ||
|
||
dependencies { | ||
compile project(':core') | ||
|
||
compile group: 'org.controlsfx', name: 'controlsfx', version: '8.40.10' | ||
} | ||
|
||
mainClassName = 'org.f0w.k2i.gui.Main' | ||
copyL4jLib.dependsOn shadowJar | ||
|
||
task fatJar(type: Jar) { | ||
baseName = project.name + '-all' | ||
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } | ||
with jar | ||
manifest { | ||
attributes 'Implementation-Title': 'Kinopoisk2IMDB GUI', 'Implementation-Version': '0.7.0' | ||
attributes 'Main-Class': mainClassName | ||
} | ||
launch4j { | ||
mainClassName | ||
productName = 'Kinopoisk2IMDB GUI' | ||
internalName = 'k2i-gui' | ||
copyright = 'REDNBLACK' | ||
companyName = 'f0w.org' | ||
productVersion = version | ||
outfile = 'Kinopoisk2IMDB.exe' | ||
copyConfigurable = project.tasks.shadowJar.outputs.files | ||
jar = "lib/${project.tasks.shadowJar.archiveName}" | ||
} |