47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
id("org.springframework.boot") version "2.4.0"
|
|
id("io.spring.dependency-management") version "1.0.10.RELEASE"
|
|
kotlin("jvm") version "1.4.10"
|
|
kotlin("plugin.spring") version "1.4.10"
|
|
}
|
|
|
|
group = "com.example"
|
|
version = "0.0.1-SNAPSHOT"
|
|
java.sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url = uri("http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/") }
|
|
flatDir {
|
|
dir("libs")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
|
|
|
|
implementation("com.lowagie:itext:2.1.7.js8")
|
|
implementation("net.sf.jasperreports:jasperreports:6.16.0")
|
|
implementation("net.sf.jasperreports:jasperreports-fonts:6.16.0")
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
|
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
|
developmentOnly("org.springframework.boot:spring-boot-devtools")
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.withType<KotlinCompile> {
|
|
kotlinOptions {
|
|
freeCompilerArgs = listOf("-Xjsr305=strict")
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|