Add script that executes layer2 detection on all smarthome traces (traces where one...
[pingpong.git] / Code / Projects / SmartPlugDetector / build.gradle
1 group 'edu.uci.iotproject'
2 version '1.0-SNAPSHOT'
3
4 apply plugin: 'java'
5 apply plugin: 'application'
6
7 // Increase max memory
8 applicationDefaultJvmArgs = ["-Xmx300g"]
9
10 sourceCompatibility = 1.8
11
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
17
18 repositories {
19     mavenCentral()
20 }
21
22 dependencies {
23     testCompile group: 'junit', name: 'junit', version: '4.11'
24
25     // pcap4j
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'
30
31     // pcap4j logging dependency
32     compile 'org.slf4j:slf4j-jdk14:1.8.0-beta2'
33
34     // Apache Commons Math for clustering
35     compile 'org.apache.commons:commons-math3:3.6.1'
36
37     // JGraphT: Java Graph library
38     compile 'org.jgrapht:jgrapht-core:1.2.0'
39 }