Created
January 7, 2020 22:42
-
-
Save billydh/4d8b1f584d198e00214605aae6acac7c to your computer and use it in GitHub Desktop.
This file contains 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 | |
import io.spring.gradle.dependencymanagement.dsl.DependencyManagementExtension | |
plugins { | |
id("org.springframework.boot") version "2.2.2.RELEASE" | |
id("io.spring.dependency-management") version "1.0.8.RELEASE" | |
kotlin("jvm") version "1.3.61" | |
kotlin("plugin.spring") version "1.3.61" | |
} | |
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") | |
implementation("org.jetbrains.kotlinx:kotlinx-couroutines-reactor") | |
implementation("software.amazon.awssdk:dynamodb:2.10.42") | |
testImplementation("org.springframework.boot:spring-boot-starter-test") { | |
exclude(group = "org.junit.vintage", module = "junit-vintage-engine") | |
} | |
testImplementation("io.projectreactor:reactor-test") | |
} | |
configure<DependencyManagementExtension> { | |
imports { | |
mavenBom("software.amazon.awssdk:bom:2.10.42") | |
} | |
} | |
tasks.withType<Test> { | |
useJUnitPlatform() | |
} | |
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