1 group 'edu.uci.iotproject'
5 apply plugin: 'application'
8 applicationDefaultJvmArgs = ["-Xmx300g"]
10 sourceCompatibility = 1.8
12 //mainClassName = "edu.uci.iotproject.Main"
13 //mainClassName = "edu.uci.iotproject.detection.SignatureDetector"
14 //mainClassName = "edu.uci.iotproject.detection.layer2.Layer2SignatureDetector"
15 //mainClassName = "edu.uci.iotproject.evaluation.DetectionResultsAnalyzer"
16 mainClassName = System.getProperty("mainClass")
24 testCompile group: 'junit', name: 'junit', version: '4.11'
27 // Updated to v2 alpha as the stable release does not include packet timestamps
28 // v2 should add support for TCP session reassembly as well, although it does not appear to be part of the lib yet.
29 compile 'org.pcap4j:pcap4j-core:2.0.0-alpha'
30 compile 'org.pcap4j:pcap4j-packetfactory-static:2.0.0-alpha'
32 // pcap4j logging dependency
33 compile 'org.slf4j:slf4j-jdk14:1.8.0-beta2'
35 // Apache Commons Math for clustering
36 compile 'org.apache.commons:commons-math3:3.6.1'
38 // JGraphT: Java Graph library
39 compile 'org.jgrapht:jgrapht-core:1.2.0'