diff --git a/README.md b/README.md index 4c6dda3..9bb1c8e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # Kinopoisk2IMDB -Здесь должен быть какой-то текст +Программа для импорта оценок и списков просмотренных фильмов с Кинопоиска на IMDB. +Скачать можно тут +Подробные инструкции по работе читайте в пункте Рекомендации по настройке. ## Рекомендации по настройке diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 51dc3fc..dd5b98b 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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 diff --git a/gui/build.gradle b/gui/build.gradle index de08f5d..289a754 100644 --- a/gui/build.gradle +++ b/gui/build.gradle @@ -1,4 +1,11 @@ -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') @@ -6,14 +13,16 @@ dependencies { 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}" } \ No newline at end of file