-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (40 loc) · 1.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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31'
}
}
configure(allprojects - project(':src')) {
apply plugin: 'kotlin'
repositories {
mavenCentral()
mavenLocal()
}
compileKotlin {
kotlinOptions {
jvmTarget = '11'
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = '11'
}
}
dependencies {
// Kotlin
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.5.31'
// Apache OpenNLP
implementation 'org.apache.opennlp:opennlp-tools:1.9.3'
// JUnit
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.0'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.8.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.0'
// Hamcrest
testImplementation 'org.hamcrest:hamcrest-library:2.2'
}
test {
useJUnitPlatform()
}
}