-
Notifications
You must be signed in to change notification settings - Fork 22
/
build.gradle
98 lines (83 loc) · 3.11 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
plugins {
id "org.springframework.boot" version "3.1.3"
id "io.spring.dependency-management" version "1.1.3"
id "java-library"
id "maven-publish"
}
repositories {
mavenLocal()
maven {
url = uri("https://repo.maven.apache.org/maven2/")
}
maven {
url = uri("https://repo.e-iceblue.com/nexus/content/groups/public/")
content {
includeGroup "e-iceblue"
}
}
}
dependencyManagement {
imports {
mavenBom 'org.springframework.modulith:spring-modulith-bom:1.0.0'
}
}
dependencies {
testImplementation platform("org.junit:junit-bom:${junit_ver}")
testImplementation "org.junit.jupiter:junit-jupiter"
testImplementation "org.springframework.modulith:spring-modulith-starter-test"
testImplementation "org.springframework.boot:spring-boot-starter-test"
testCompileOnly "org.projectlombok:lombok:${lombok_ver}"
testAnnotationProcessor "org.projectlombok:lombok:${lombok_ver}"
implementation "org.springframework.modulith:spring-modulith-starter-core"
implementation "org.springframework:spring-tx"
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "e-iceblue:spire.office.free:${iceblue_ver}"
implementation "org.apache.poi:poi:${apachepoi_ver}"
implementation "org.apache.poi:poi-scratchpad:${apachepoi_ver}"
implementation "commons-io:commons-io:${commonsio_ver}"
implementation "org.slf4j:slf4j-api:${slf4j_ver}"
implementation "org.jodconverter:jodconverter-local:${jod_ver}"
implementation "org.apache.pdfbox:pdfbox:${pdfbox_ver}"
implementation "org.bytedeco:javacv:${javacv_ver}"
implementation "org.bytedeco:opencv:${opencv_ver}"
implementation "net.coobird:thumbnailator:${thumb_ver}"
implementation "com.mpatric:mp3agic:${mp3agic_ver}"
implementation "org.bytedeco.javacpp-presets:opencv-platform:${opencvplat_ver}"
implementation "commons-cli:commons-cli:${commonscli_ver}"
implementation "org.apache.tika:tika-core:${tika_ver}"
implementation "org.springframework.boot:spring-boot-starter"
implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:${springdoc_ver}"
compileOnly "org.projectlombok:lombok:${lombok_ver}"
annotationProcessor "org.projectlombok:lombok:${lombok_ver}"
}
group = 'io.github.makbn'
version = 'v2.1.0'
description = 'JThumbnail is a Java library for creating Thumbnails of common types of files'
java.sourceCompatibility = JavaVersion.VERSION_17
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
groupId = 'io.github.makbn'
artifactId = 'jthumbnail'
version = '2.2.0'
}
}
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/makbn/jthumbnail"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
maxHeapSize = '1G'
}