-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
70 lines (64 loc) · 2.08 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
70
plugins {
id 'com.github.johnrengelman.shadow' version '8.1.1'
id 'java'
id 'idea'
}
repositories {
mavenCentral()
}
sourceSets {
main {
java {
srcDir 'src'
}
resources {
srcDir 'settings'
}
}
test {
java {
srcDir 'test'
}
}
}
dependencies {
// logging
implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.4'
implementation group: 'ch.qos.logback', name: 'logback-classic', version: "1.4.6"
implementation 'org.jsoup:jsoup:1.15.4'
// vertx
implementation group: 'io.vertx', name: 'vertx-web-client', version: vertxVersion
implementation group: 'io.vertx', name: 'vertx-mongo-client', version: vertxVersion
implementation group: 'io.vertx', name: 'vertx-web', version: vertxVersion
implementation group: 'io.vertx', name: 'vertx-rx-java2', version: vertxVersion
//lucene
implementation group: 'org.apache.lucene', name: 'lucene-core', version: luceneVersion
implementation group: 'org.apache.lucene', name: 'lucene-queryparser', version: luceneVersion
implementation group: 'org.apache.lucene', name: 'lucene-misc', version: luceneVersion
implementation group: 'org.apache.lucene', name: 'lucene-analysis-common', version: luceneVersion
// common libs
implementation 'org.jsoup:jsoup:1.15.4'
implementation group: 'org.apache.commons', name: 'commons-collections4', version: '4.4'
implementation 'org.ocpsoft.prettytime:prettytime:5.0.6.Final'
implementation group: 'org.javatuples', name: 'javatuples', version: '1.2'
// test
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.3'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.3'
}
jar {
manifest {
attributes 'Main-Class': 'io.github.sammers.pla.Main'
}
}
test {
useJUnitPlatform {
}
}
shadowJar {
archiveBaseName.set('wow-pla')
archiveClassifier.set('')
archiveVersion.set('')
mergeServiceFiles()
}
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21