Skip to content

Commit

Permalink
Cross platform support
Browse files Browse the repository at this point in the history
  • Loading branch information
sreesubbash committed Sep 17, 2019
1 parent a9f2a04 commit 6d4fb0d
Show file tree
Hide file tree
Showing 13 changed files with 59 additions and 38 deletions.
Binary file modified .gradle/5.5.1/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified .gradle/5.5.1/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/5.5.1/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/5.5.1/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified .gradle/5.5.1/javaCompile/classAnalysis.bin
Binary file not shown.
Binary file modified .gradle/5.5.1/javaCompile/javaCompile.lock
Binary file not shown.
Binary file modified .gradle/5.5.1/javaCompile/taskHistory.bin
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
64 changes: 35 additions & 29 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: java
install: true
os: windows
os: linux
dist: trusty
jdk: oraclejdk11
script:
Expand All @@ -9,7 +9,7 @@ deploy:
provider: releases
api_key:
secure: ZIn+f+K8Ig5AAo8M5m8XQfYAbKhIP8ImknmOK03t+kgFmc8ZWbrp7gf3nyfi2UHum2slKPeC5lF6WVCOwXMJ6rF+9B8QeQnpLHQXFMRUW7jTGMaFvBEE7FQuz/pchMCEn7VXBwZGcVogYUw/jlWwjyHtio2SQAOrOYrY1BZ2xxmpABC1s8PyKvuvCKlQ9E91M1L5KTGnQ6GagD4HP5dFpPzj2D+6me36cWH1dgDgeNlNGiNVFGoN7/Ip68cJpyhu0hdkQgoMc2SFFgUFfc+XIA4GHtpGCLI3c0EW179EPZ6rN/SCv2h73MGNtdfScefRdVIpsyFddj6Q7e2dp/d0+pL2CtmvWc+If5tO0HnFcJ22itaVV8jWWMiu/QQSFc3zqmGK3PpbASVB6ma8pZR4zqBNJHNtGDKbEDexMs1PFn6qfAMjiBKTH0cD/A7GV8CNlCTy6Xe+xWpw5agTKEr340pCzx//gBi7GaeAK/0+ZtN1xhTFGIV0TeLZhnMVI8zVSvp8EsYg5UezAmA/efgPUX7gOVLQgGY4VOo0Ru8HgLusUbcallaVJ3IImnIz92d6EnerjTvO0vzH34C0uvd+ntzimiTITurMgd+hhWnvkiMIz+bjg3LJCvXBxwm7VeNYj/dnGw1zsOkkIB4NezN+u642qScF2US6kXP5VCU2znU=
file: "build/libs/duke-0.3.0.jar"
file: "build/libs/duke-0.4.0.jar"
skip_cleanup: true
on:
repo: sreesubbash/duke
Expand Down
29 changes: 22 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
plugins {
id 'java'
id 'org.openjfx.javafxplugin' version '0.0.7'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '5.1.0'
Expand All @@ -9,6 +8,8 @@ plugins {
group 'seedu.duke'
version '0.1.0'



repositories {
mavenCentral()
}
Expand All @@ -24,13 +25,32 @@ checkstyle {

shadowJar {
archiveBaseName = "duke"
archiveVersion = "0.3.0"
archiveVersion = "0.4.0"
archiveClassifier = null
archiveAppendix = null
}

dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter:5.5.0'
String javaFxVersion = '11'
implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-media', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-media', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-media', version: javaFxVersion, classifier: 'linux'
implementation group: 'org.openjfx', name: 'javafx-web', version: javaFxVersion, classifier: 'win'
implementation group: 'org.openjfx', name: 'javafx-web', version: javaFxVersion, classifier: 'mac'
implementation group: 'org.openjfx', name: 'javafx-web', version: javaFxVersion, classifier: 'linux'
}

test {
Expand All @@ -41,8 +61,3 @@ run {
standardInput = System.in
enableAssertions = true
}

javafx {
version = "11.0.2"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}
Binary file added build/libs/duke-0.4.0.jar
Binary file not shown.

0 comments on commit 6d4fb0d

Please sign in to comment.