-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
67 lines (51 loc) · 1.33 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
56
57
58
59
60
61
62
63
64
65
66
67
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:4.0.3"
}
}
allprojects {
apply plugin: 'java'
group 'me.threedr3am.guanyu'
version '1.0-SNAPSHOT'
}
subprojects {
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
runtime files(org.gradle.internal.jvm.Jvm.current().toolsJar)
}
repositories {
mavenCentral()
}
test {
useJUnitPlatform()
}
}
project(":agent") {
apply plugin: 'com.github.johnrengelman.shadow'
shadowJar {
manifest {
attributes 'Main-Class': 'me.threedr3am.guanyu.agent.GuanYu'
attributes 'Premain-Class': 'me.threedr3am.guanyu.agent.GuanYu'
attributes 'Agent-Class': 'me.threedr3am.guanyu.agent.GuanYu'
attributes 'Can-Redefine-Classes': true
attributes 'Can-Retransform-Classes': true
}
}
dependencies {
compile project(":core")
compile project(":plugin")
}
}
project(":core") {
}
project(":plugin") {
dependencies {
compile project(":core")
implementation "org.ow2.asm:asm:8.0.1"
implementation "org.ow2.asm:asm-commons:8.0.1"
}
}