-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (38 loc) · 1.16 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
apply plugin: 'java'
archivesBaseName = "reactive-dictionary"
version = "0.1.0-beta"
group = 'io.github.harunobot.plugin'
description = 'Haruno Reactive Dictionary Plugin'
repositories {
mavenCentral()
jcenter()
maven {
url "https://repo1.maven.org/maven2/"
}
}
test {
useJUnit()
}
dependencies {
implementation "io.github.harunobot:haruno-plugin-support"
annotationProcessor('org.atteo.classindex:classindex:3.9')
compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: '2.11.2'
compile group: 'com.github.ben-manes.caffeine', name: 'caffeine', version: '2.8.1'
testImplementation group: 'org.ini4j', name: 'ini4j', version: '0.5.4'
testImplementation("junit:junit:4.12")
}
jar {
enabled = true
baseName = archivesBaseName
manifest {
attributes \
'Implementation-Title': description, \
'Implementation-Version': version, \
'Haruno-Plugin-Class': 'io.github.harunobot.plugin.dict.DictionaryPlugin'
}
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
}
}