-
Notifications
You must be signed in to change notification settings - Fork 276
/
build.gradle
50 lines (40 loc) · 811 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
plugins {
id "com.github.johnrengelman.shadow" version "8.1.1"
id 'java'
id 'application'
id 'maven-publish'
}
application.mainClass.set 'org.nick.abe.Main'
group = 'org.nick.abe'
var targetJavaVersion = JavaVersion.VERSION_1_8
java {
sourceCompatibility = targetCompatibility = targetJavaVersion
}
compileJava {
options.release.set targetJavaVersion.majorVersion.toInteger()
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.bouncycastle:bcprov-jdk18on:1.79'
}
sourceSets {
main {
java {
srcDir 'src'
}
}
}
shadowJar {
minimize()
archiveBaseName.set 'abe'
}
publishing {
publications {
mavenJava(MavenPublication) {
from(components.java)
}
}
}
defaultTasks 'shadowJar'