forked from TU-Berlin-SNET/JCPABE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (39 loc) · 930 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
plugins {
id 'maven'
id 'java'
id 'ca.coglinc.javacc' version '2.3.1'
id 'com.github.ben-manes.versions' version '0.11.3'
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
compile 'it.unisa.dia.gas:jpbc-api:2.0.0'
compile 'it.unisa.dia.gas:jpbc-plaf:2.0.0'
compile 'it.unisa.dia.gas:jpbc-pbc:2.0.0'
testCompile 'junit:junit:4.12'
}
group = "snet.abe"
version = "1.0.0"
sourceCompatibility = '1.7'
targetCompatibility = '1.7'
compileJjtree {
inputDirectory = file('src/main/jjtree/')
outputDirectory = file('generated/jjtree/cpabe/policyparser')
}
compileJavacc {
inputDirectory = compileJjtree.outputDirectory
outputDirectory = file('generated/javacc/cpabe/policyparser')
}
sourceSets {
main {
java {
srcDir file('generated/jjtree')
srcDir file('generated/javacc')
}
}
}
clean {
delete 'generated'
}