Permalink
Browse files

Added gradle files to run from terminal

  • Loading branch information...
1 parent f1a0159 commit 0fc0bfb2be0f41d1a35b17f01588129397ec9644 @saryana saryana committed May 4, 2016
Showing with 57 additions and 0 deletions.
  1. +28 −0 JavaWebServer/build.gradle
  2. +29 −0 PieOSXClient/build.gradle
View
@@ -0,0 +1,28 @@
+apply plugin: 'java'
+apply plugin: 'application'
+
+mainClassName = 'Server'
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ compile 'org.json:json:20160212'
+}
+
+sourceCompatibility = 1.8
+targetCompatibility = 1.8
+
+jar {
+ baseName = 'server'
+ version = '0.1.0'
+}
+
+sourceSets {
+ main {
+ java {
+ srcDir 'src'
+ }
+ }
+}
View
@@ -0,0 +1,29 @@
+apply plugin: 'java'
+apply plugin: 'application'
+
+mainClassName = 'PieOSXClient'
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ compile 'org.json:json:20160212'
+ compile 'org.xerial:sqlite-jdbc:3.8.11.2'
+}
+
+sourceCompatibility = 1.8
+targetCompatibility = 1.8
+
+jar {
+ baseName = 'osx_client'
+ version = '0.1.0'
+}
+
+sourceSets {
+ main {
+ java {
+ srcDir 'src'
+ }
+ }
+}

0 comments on commit 0fc0bfb

Please sign in to comment.