2023-01-27 19:23:40 +01:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'org.springframework.boot' version '3.0.2'
|
|
|
|
id 'io.spring.dependency-management' version '1.1.0'
|
|
|
|
}
|
|
|
|
|
|
|
|
group = 'stirling.software'
|
2023-01-29 18:06:53 +01:00
|
|
|
version = '0.2.0'
|
2023-01-27 19:23:40 +01:00
|
|
|
sourceCompatibility = '17'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2023-01-29 18:06:53 +01:00
|
|
|
maven {
|
|
|
|
url "https://repo.e-iceblue.com/nexus/content/groups/public/"
|
|
|
|
name "com.e-iceblue"
|
|
|
|
}
|
2023-01-27 19:23:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
implementation 'org.apache.pdfbox:pdfbox:2.0.27'
|
2023-01-28 11:00:32 +01:00
|
|
|
implementation 'org.apache.logging.log4j:log4j-core:2.19.0'
|
2023-01-29 18:06:53 +01:00
|
|
|
implementation 'e-iceblue:spire.pdf.free:5.1.0'
|
2023-01-27 19:23:40 +01:00
|
|
|
}
|
|
|
|
|
2023-01-29 15:10:12 +01:00
|
|
|
jar {
|
|
|
|
enabled = false
|
|
|
|
}
|
|
|
|
|
2023-01-27 19:23:40 +01:00
|
|
|
tasks.named('test') {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
2023-01-29 18:06:53 +01:00
|
|
|
|
2023-01-27 19:23:40 +01:00
|
|
|
task printVersion {
|
|
|
|
println project.version
|
|
|
|
}
|
|
|
|
|