-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
53 lines (42 loc) · 1023 Bytes
/
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
plugins {
id 'java'
id 'maven-publish'
}
group = 'org.exploit'
version = '1.0'
repositories {
mavenCentral()
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'org.exploit'
artifactId = 'java-otp'
version = '1.0'
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'
implementation("org.bouncycastle:bcprov-jdk18on:1.76")
}
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()
}