forked from crosswire/jsword
-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle.kts
49 lines (39 loc) · 1.22 KB
/
build.gradle.kts
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
plugins {
`java-library`
`maven-publish`
// id("org.jetbrains.kotlin.jvm") version '1.4.10'
}
tasks.withType<JavaCompile>() {
options.encoding = "UTF-8"
}
tasks.withType<Test>() {
// Enforce en-US locale, as many unit tests are locale-dependant.
systemProperty("user.language", "en")
systemProperty("user.country", "US")
}
group = "org.crosswire"
version = "2.3"
repositories {
mavenCentral()
}
dependencies {
// implementation("org.jetbrains.kotlin:kotlin-stdlib")
implementation("org.apache.commons:commons-compress:1.12")
implementation("com.chenlb.mmseg4j:mmseg4j-analysis:1.8.6")
implementation("com.chenlb.mmseg4j:mmseg4j-dic:1.8.6")
implementation("org.jdom:jdom2:2.0.6.1")
implementation("org.apache.lucene:lucene-analyzers:3.6.2")
// To upgrade Lucene, change to
// implementation("org.apache.lucene:lucene-analyzers-common:x")
//implementation("org.slf4j:slf4j-api:1.7.6")
implementation("org.slf4j:slf4j-api:1.7.6")
testImplementation("org.slf4j:slf4j-simple:1.7.6")
testImplementation("junit:junit:4.13")
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}