From: Janus Varmarken Date: Tue, 24 Apr 2018 16:48:07 +0000 (-0700) Subject: apply application plugin X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f1676dbba8deb029346af241c33ef366893089de;p=pingpong.git apply application plugin --- diff --git a/Code/Projects/SmartPlugDetector/build.gradle b/Code/Projects/SmartPlugDetector/build.gradle index df80f62..29b73eb 100644 --- a/Code/Projects/SmartPlugDetector/build.gradle +++ b/Code/Projects/SmartPlugDetector/build.gradle @@ -2,9 +2,12 @@ group 'edu.uci.iotproject' version '1.0-SNAPSHOT' apply plugin: 'java' +apply plugin: 'application' sourceCompatibility = 1.8 +mainClassName = "edu.uci.iotproject.Main" + repositories { mavenCentral() } diff --git a/Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/Main.java b/Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/Main.java index f088fd6..903839d 100644 --- a/Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/Main.java +++ b/Code/Projects/SmartPlugDetector/src/main/java/edu/uci/iotproject/Main.java @@ -8,7 +8,7 @@ package edu.uci.iotproject; public class Main { public static void main(String[] args) { - + System.out.println("it works"); } }