plugins {
	id 'java'
	id 'org.springframework.boot' version '3.0.2'
	id 'io.spring.dependency-management' version '1.1.0'
}

group = 'stirling.software'
version = '0.2.2'
sourceCompatibility = '17'

repositories {
	mavenCentral()
	maven {
        url "https://repo.e-iceblue.com/nexus/content/groups/public/"
        name "com.e-iceblue"
    }
}

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'
	implementation 'org.apache.logging.log4j:log4j-core:2.19.0'
	implementation 'e-iceblue:spire.pdf.free:5.1.0'
}

jar {
    enabled = false
}

tasks.named('test') {
	useJUnitPlatform()
}

task printVersion {
  println project.version
}