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"
23 testCompile group: 'junit', name: 'junit', version: '4.11'
26 // Updated to v2 alpha as the stable release does not include packet timestamps
27 // v2 should add support for TCP session reassembly as well, although it does not appear to be part of the lib yet.
28 compile 'org.pcap4j:pcap4j-core:2.0.0-alpha'
29 compile 'org.pcap4j:pcap4j-packetfactory-static:2.0.0-alpha'
31 // pcap4j logging dependency
32 compile 'org.slf4j:slf4j-jdk14:1.8.0-beta2'
34 // Apache Commons Math for clustering
35 compile 'org.apache.commons:commons-math3:3.6.1'
37 // JGraphT: Java Graph library
38 compile 'org.jgrapht:jgrapht-core:1.2.0'