Adding time constraints into the scripts.
[pingpong.git] / Code / Projects / SmartPlugDetector / build.gradle
index f8f539c945201787007fdf5d6669fc9dac2ab476..2027ed3fe448d1aeaee7377fb7bd8fcb559a7ac0 100644 (file)
@@ -4,9 +4,17 @@ version '1.0-SNAPSHOT'
 apply plugin: 'java'
 apply plugin: 'application'
 
+// Increase max memory
+applicationDefaultJvmArgs = ["-Xmx300g"]
+
 sourceCompatibility = 1.8
 
-mainClassName = "edu.uci.iotproject.Main"
+//mainClassName = "edu.uci.iotproject.Main"
+//mainClassName = "edu.uci.iotproject.detection.SignatureDetector"
+//mainClassName = "edu.uci.iotproject.detection.layer2.Layer2SignatureDetector"
+//mainClassName = "edu.uci.iotproject.evaluation.DetectionResultsAnalyzer"
+mainClassName = System.getProperty("mainClass")
+
 
 repositories {
     mavenCentral()