-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
46 lines (38 loc) · 1.02 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
plugins {
id 'java'
// id 'org.jetbrains.kotlin.jvm' version '1.4.10'
}
group 'ink.pd2'
version '1.0.2-b122'
repositories {
mavenCentral()
}
dependencies {
// implementation "org.jetbrains.kotlin:kotlin-stdlib"
implementation 'org.jetbrains:annotations:20.1.0'
implementation group: 'org.dom4j', name: 'dom4j', version: '2.1.3'
implementation group: 'org.jline', name: 'jline', version: '3.19.0'
implementation group: 'org.fusesource.jansi', name: 'jansi', version: '2.2.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}
test {
useJUnitPlatform()
}
jar {
from {
(configurations.runtimeClasspath).collect {
it.isDirectory() ? it : zipTree(it)
}
}
archivesBaseName = 'psh'
manifest {
attributes(
"Manifest-Version": 1.0,
'Main-Class': 'ink.pd2.shell.Main'
)
}
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}