-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
67 lines (59 loc) · 2.71 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
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* User Manual available at https://docs.gradle.org/5.2.1/userguide/tutorial_java_projects.html
*/
plugins {
// Apply the java plugin to add support for Java
id 'org.springframework.boot' version '2.4.2'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'com.github.johnrengelman.shadow' version '5.2.0'
}
sourceCompatibility = 11
targetCompatibility = 11
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
maven {
url 'https://repo.maven.apache.org/maven2'
name 'Maven Central'
}
}
dependencies {
// This dependency is found on compile classpath of this component and consumers.
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:2.6.1'
implementation 'com.google.guava:guava:31.0.1-jre'
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
implementation group: 'org.elasticsearch', name: 'elasticsearch', version: '6.2.3'
implementation group: 'org.elasticsearch.client', name: 'elasticsearch-rest-client', version: '6.2.3'
implementation group: 'org.elasticsearch.client', name: 'elasticsearch-rest-high-level-client', version: '6.2.3'
implementation group: 'commons-io', name: 'commons-io', version: '2.6'
implementation group: 'edu.stanford.nlp', name: 'stanford-corenlp', version: '3.9.2'
implementation group: 'edu.stanford.nlp', name: 'stanford-corenlp', classifier: 'models', version: '3.9.1'
implementation group: 'org.apache.commons', name: 'commons-dbcp2', version: '2.6.0'
implementation group: 'org.apache.commons', name: 'commons-text', version: '1.6'
implementation group: 'org.apache.commons', name: 'commons-pool2', version: '2.10.0'
implementation group: 'commons-codec', name: 'commons-codec', version: '1.15'
implementation group: 'org.xerial', name: 'sqlite-jdbc', version: '3.27.2.1'
implementation group: 'info.bliki.wiki', name: 'bliki-core', version: '3.1.0'
implementation group: 'org.jsoup', name: 'jsoup', version: '1.13.1'
implementation group: 'me.tongfei', name: 'progressbar', version: '0.9.0'
// Spring.io
runtimeOnly 'com.h2database:h2:2.0.202'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.6.1'
// Use JUnit test framework
testImplementation 'junit:junit:4.13.2'
}
test {
useJUnit()
maxHeapSize = '4g'
}
shadowJar {
baseName = 'extract-wec'
version = '1.0'
classifier = null
}