This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
69 lines (54 loc) · 1.49 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
68
69
plugins {
id 'java'
id 'java-library'
id 'maven-publish'
}
group = 'org.exploit'
version = '1.1'
repositories {
mavenCentral()
maven {
url("https://maven.exploit.org")
}
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'org.exploit'
artifactId = 'netarmor'
version = '1.1'
from components.java
}
}
repositories {
maven {
url 'https://maven.exploit.org'
credentials {
username(exploitUsername)
password(exploitPassword)
}
}
}
}
dependencies {
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
api 'org.exploit:secure-memory:1.0'
api 'org.owasp.antisamy:antisamy:1.7.5'
implementation 'org.apache.commons:commons-text:1.11.0'
implementation 'io.netty:netty-codec-http2:4.1.101.Final'
implementation 'io.netty:netty-common:4.1.101.Final'
implementation 'io.projectreactor:reactor-core:3.6.0'
implementation 'net.java.dev.jna:jna:5.13.0'
implementation 'org.bouncycastle:bcprov-jdk18on:1.77'
implementation 'org.slf4j:slf4j-api:2.0.9'
}
jar {
setDuplicatesStrategy(DuplicatesStrategy.EXCLUDE)
from(configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }) {
exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA'
}
}
test {
useJUnitPlatform()
}