-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
45 lines (35 loc) · 946 Bytes
/
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
plugins {
id("java")
id("maven-publish")
}
group = "com.maker.pdf"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
testImplementation(platform("org.junit:junit-bom:5.9.1"))
testImplementation("org.junit.jupiter:junit-jupiter")
//pdf
implementation("org.xhtmlrenderer:flying-saucer-pdf:9.11.2")
implementation("org.slf4j:slf4j-api:2.0.16")
// template engine
implementation("org.freemarker:freemarker:2.3.34")
// Encryption, 템플릿 생성시, 암호화 처리에 필요.
implementation("org.bouncycastle:bcprov-jdk18on:1.79")
}
tasks.test {
useJUnitPlatform()
}
publishing {
publications {
create<MavenPublication>("release") {
groupId = group.toString()
artifactId = "pdf-maker"
version = version.toString()
afterEvaluate {
from(components["java"])
}
}
}
}