Further cleaning up.
[pingpong.git] / Code / Projects / PacketLevelSignatureExtractor / 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 mainClassName = System.getProperty("mainClass")
17
18
19 repositories {
20     mavenCentral()
21 }
22
23 dependencies {
24     testCompile group: 'junit', name: 'junit', version: '4.11'
25
26     // pcap4j
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'
31
32     // pcap4j logging dependency
33     compile 'org.slf4j:slf4j-jdk14:1.8.0-beta2'
34
35     // Apache Commons Math for clustering
36     compile 'org.apache.commons:commons-math3:3.6.1'
37
38     // JGraphT: Java Graph library
39     compile 'org.jgrapht:jgrapht-core:1.2.0'
40 }