-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
executable file
·65 lines (55 loc) · 1.87 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
plugins {
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '5.2.0'
}
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'com.github.johnrengelman.shadow'
sourceCompatibility = '1.7'
targetCompatibility = '1.7'
compileJava.options.encoding = 'UTF-8'
mainClassName = 'com.continent.Launcher'
repositories {
mavenCentral()
mavenLocal()
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'continent'
artifactId = 'continent'
version = '1.1.0-SNAPSHOT'
from components.java
}
}
}
shadowJar {
exclude '/picocli/**'
exclude '/io/netty/handler/codec/http/**'
exclude '/com/google/common/graph/**'
exclude '/com/google/common/cache/**'
exclude '/com/google/common/hash/**'
exclude '/com/google/common/primitives/**'
exclude '/com/google/common/reflect/**'
exclude '/org/bouncycastle/asn1/**'
exclude '/org/bouncycastle/pqc/**'
}
dependencies {
testImplementation 'org.jmockit:jmockit:1.49'
testImplementation 'junit:junit:4.13'
testImplementation 'org.assertj:assertj-core:3.15.0'
implementation 'org.yaml:snakeyaml:1.25'
implementation 'io.netty:netty-codec-http:4.1.52.Final'
implementation 'io.netty:netty-codec-socks:4.1.52.Final'
implementation 'io.netty:netty-handler:4.1.52.Final'
implementation 'io.netty:netty-tcnative-boringssl-static:2.0.34.Final'
implementation 'org.bouncycastle:bcprov-jdk15on:1.64'
implementation 'org.slf4j:slf4j-api:1.7.29'
implementation "ch.qos.logback:logback-classic:1.2.3"
implementation "com.github.all3fox:lyra2:1.3"
// compileOnly 'org.fusesource.jansi:jansi:1.17.1'
implementation 'com.google.guava:guava:27.1-android'
}
test {
jvmArgs "-javaagent:${classpath.find { it.name.contains("jmockit") }.absolutePath}"
}