Created
July 1, 2019 18:06
-
-
Save bodiam/948dbe021e17168d92f5da9e232ee8de to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | |
plugins { | |
id("org.springframework.boot") version "2.1.6.RELEASE" | |
id("io.spring.dependency-management") version "1.0.7.RELEASE" | |
kotlin("jvm") version "1.2.71" | |
kotlin("plugin.spring") version "1.2.71" | |
} | |
group = "io.jworks.feeds" | |
version = "0.0.1-SNAPSHOT" | |
java.sourceCompatibility = JavaVersion.VERSION_1_8 | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
implementation("org.springframework.boot:spring-boot-starter-cache") | |
implementation("org.springframework.boot:spring-boot-starter-quartz") | |
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") | |
runtimeOnly("com.h2database:h2") | |
testImplementation("org.springframework.boot:spring-boot-starter-test") | |
} | |
tasks.withType<KotlinCompile> { | |
kotlinOptions { | |
freeCompilerArgs = listOf("-Xjsr305=strict") | |
jvmTarget = "1.8" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment