forked from wala/WALA-start
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
56 lines (50 loc) · 2.23 KB
/
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
48
49
50
51
52
53
54
55
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'eclipse'
sourceCompatibility = 1.8
version = '0.1'
jar {
manifest {
attributes 'Implementation-Title': 'WALA Start',
'Implementation-Version': version
}
}
repositories {
mavenCentral()
// uncomment if you want to use wala.dalvik or wala.scandroid
//maven { url "https://raw.github.com/msridhar/maven-jars/mvn-repo/" }
}
dependencies {
compile group: 'com.ibm.wala', name: 'com.ibm.wala.shrike', version: '1.5.0'
compile group: 'com.ibm.wala', name: 'com.ibm.wala.util', version: '1.5.0'
compile group: 'com.ibm.wala', name: 'com.ibm.wala.core', version: '1.5.0'
compile group: 'com.ibm.wala', name: 'com.ibm.wala.cast', version: '1.5.0'
compile group: 'com.ibm.wala', name: 'com.ibm.wala.cast.js', version: '1.5.0'
compile group: 'com.ibm.wala', name: 'com.ibm.wala.cast.js.rhino', version: '1.5.0'
compile group: 'com.ibm.wala', name: 'com.ibm.wala.cast.java', version: '1.5.0'
compile group: 'com.ibm.wala', name: 'com.ibm.wala.cast.java.ecj', version: '1.5.0'
// uncomment to use wala.dalvik or wala.scandroid
//compile group: 'com.ibm.wala', name: 'com.ibm.wala.dalvik', version: '1.5.0'
//compile group: 'com.ibm.wala', name: 'com.ibm.wala.scandroid', version: '1.5.0'
// https://mvnrepository.com/artifact/org.apache.maven.shared/maven-invoker
compile group: 'org.apache.maven.shared', name: 'maven-invoker', version: '3.0.1'
// https://mvnrepository.com/artifact/org.apache.maven.shared/maven-shared-utils
compile group: 'org.apache.maven.shared', name: 'maven-shared-utils', version: '3.2.1'
// https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit
compile group: 'org.eclipse.jgit', name: 'org.eclipse.jgit', version: '5.1.3.201810200350-r'
compile 'org.slf4j:slf4j-log4j12:1.7.7'
//config local library
compile files('lib/TinyPDG.jar')
testCompile group: 'junit', name: 'junit', version: '4.+'
}
if (project.hasProperty('mainClass')) {
mainClassName = project.getProperty('mainClass')
} else {
// use a default
mainClassName = "com.ibm.wala.examples.drivers.PDFTypeHierarchy"
}
run {
if(project.hasProperty('appArgs')){
args Eval.me(appArgs)
}
}