Last active
January 9, 2020 12:01
-
-
Save billydh/ce2544842bcbaf3dad699a22e4399e9c to your computer and use it in GitHub Desktop.
build.gradle.kts for wiremockdemo
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.11.RELEASE" | |
| id("io.spring.dependency-management") version "1.0.8.RELEASE" | |
| kotlin("jvm") version "1.2.71" | |
| kotlin("plugin.spring") version "1.2.71" | |
| } | |
| group = "io.codebrews" | |
| version = "0.0.1-SNAPSHOT" | |
| java.sourceCompatibility = JavaVersion.VERSION_1_8 | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| implementation("org.springframework.boot:spring-boot-starter-webflux") | |
| implementation("com.fasterxml.jackson.module:jackson-module-kotlin") | |
| implementation("org.jetbrains.kotlin:kotlin-reflect") | |
| implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8") | |
| testImplementation("org.springframework.boot:spring-boot-starter-test") | |
| testImplementation("io.projectreactor:reactor-test") | |
| testImplementation("com.github.tomakehurst:wiremock-jre8:2.25.1") | |
| } | |
| 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