-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
57 lines (49 loc) · 1.42 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
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java'
id 'maven-publish'
id 'application'
}
application {
mainClass = 'com.hein.ConvertPdfToCsv.ConvertPdfToCsvApplication'
}
repositories {
mavenLocal()
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter:2.3.4.RELEASE'
implementation 'org.springframework.boot:spring-boot-starter-web:2.3.4.RELEASE'
implementation 'org.json:json:20180813'
implementation 'org.apache.pdfbox:pdfbox:[2.0.15,)'
implementation 'com.google.guava:guava:29.0-jre'
implementation 'net.sourceforge.tess4j:tess4j:4.5.4'
implementation 'org.openpnp:opencv:4.3.0-2'
compile group: 'org.imgscalr', name: 'imgscalr-lib', version: '4.2'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.3.4.RELEASE'
}
group = 'com.hein'
version = '0.0.1-SNAPSHOT'
description = 'pdfToCsv'
java.sourceCompatibility = JavaVersion.VERSION_1_8
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if (details.requested.name == 'log4j') {
details.useTarget 'log4j:log4j:1.2.+'
}
}
}