-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
67 lines (58 loc) · 2.42 KB
/
build.gradle.kts
File metadata and controls
67 lines (58 loc) · 2.42 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
plugins {
id("java")
id("com.github.johnrengelman.shadow") version "8.1.1"
}
group = "com.mbl.code.relation"
version = "0.1-SNAPSHOT"
repositories {
flatDir {
dirs("libs")
}
maven("https://maven.aliyun.com/repository/central")
maven("https://maven.aliyun.com/repository/public")
maven("https://maven.aliyun.com/repository/apache-snapshots")
// mavenCentral()
// maven("https://jitpack.io")
}
tasks.jar {
manifest {
attributes("Implementation-Version" to project.version)
attributes("Implementation-Title" to "Lamarck")
attributes("Main-Class" to "com.mbl.code.relation.util.soot.common.BatchRunner")
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
}
tasks.shadowJar {
manifest {
attributes("Implementation-Version" to project.version)
attributes("Implementation-Title" to "Lamarck")
attributes("Main-Class" to "com.mbl.code.relation.util.soot.common.BatchRunner")
}
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
dependencies {
implementation("de.fraunhofer.sit.sse.flowdroid:soot-infoflow:2.13.0")
implementation("de.fraunhofer.sit.sse.flowdroid:soot-infoflow-android:2.13.0")
implementation("de.fraunhofer.sit.sse.flowdroid:soot-infoflow-summaries:2.13.0")
implementation("org.apache.logging.log4j:log4j-api:2.20.0")
implementation("org.apache.logging.log4j:log4j-core:2.20.0")
implementation("org.apache.logging.log4j:log4j-slf4j-impl:2.20.0")
implementation("com.google.code.gson:gson:2.10")
implementation("commons-cli:commons-cli:1.9.0")
implementation("com.alibaba:fastjson:2.0.52")
implementation("org.apache.commons:commons-csv:1.12.0")
implementation("org.apache.commons:commons-collections4:4.4")
implementation("com.github.javaparser:javaparser-symbol-solver-core:3.13.3")
implementation(files(file("libs/qilin.pta-0.9.5-SNAPSHOT.jar")))
implementation(files(file("libs/qilin.util-0.9.5-SNAPSHOT.jar")))
implementation(files(file("libs/qilin.core-0.9.5-SNAPSHOT.jar")))
// implementation("qilin:pta:0.9.4-SNAPSHOT")
// implementation("qilin:core:0.9.4-SNAPSHOT")
// implementation("qilin:util:0.9.4-SNAPSHOT")
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
}
tasks.test {
useJUnitPlatform()
}