Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git

build.gradle: - added app version - add Main-Class and Class-Path attributes to app JAR manifest - add LICENSE and README.md files to distribution

AuthorKarl Tauber <email>
Date2015-08-02 17:17:26 GMT+0200
Commit22cc00ffe1c4516ec30966abbe46047832ac4be4
Parent1e6c174
Delta21 lines added, 0 lines removed, 21-line increase
build.gradle
+version = '0.1'
+
apply plugin: 'java'
apply plugin: 'java-library-distribution'
// newer versions of dependencies
compile group: 'org.fxmisc.flowless', name: 'flowless', version: '0.4.4'
+}
+
+sourceCompatibility = 1.8
+
+jar {
+ baseName = 'markdown-writer-fx'
+ manifest {
+ attributes 'Main-Class': 'org.markdownwriterfx.MarkdownWriterFXApp',
+ 'Class-Path': configurations.compile.collect { 'lib/' + it.getName() }.join(' ')
+ }
+}
+
+distributions {
+ main {
+ baseName = 'markdown-writer-fx'
+ contents {
+ from { ['LICENSE', 'README.md'] }
+ }
+ }
}