Created
September 21, 2017 12:49
-
-
Save s1monw1/26a25bc913b0e429670f227ddae85a60 to your computer and use it in GitHub Desktop.
build.gradle
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
buildscript { | |
ext { | |
kotlinVersion = '1.1.4-3' | |
springBootVersion = '2.0.0.M4' | |
} | |
repositories { | |
mavenCentral() | |
maven { url "https://repo.spring.io/snapshot" } | |
maven { url "https://repo.spring.io/milestone" } | |
} | |
dependencies { | |
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") | |
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}") | |
classpath("org.jetbrains.kotlin:kotlin-allopen:${kotlinVersion}") | |
} | |
} | |
apply plugin: 'kotlin' | |
apply plugin: 'kotlin-spring' | |
apply plugin: 'eclipse' | |
apply plugin: 'org.springframework.boot' | |
apply plugin: 'io.spring.dependency-management' | |
group = 'com.example' | |
version = '0.0.1-SNAPSHOT' | |
sourceCompatibility = 1.8 | |
compileKotlin { | |
kotlinOptions.jvmTarget = "1.8" | |
} | |
compileTestKotlin { | |
kotlinOptions.jvmTarget = "1.8" | |
} | |
repositories { | |
mavenCentral() | |
maven { url "https://repo.spring.io/snapshot" } | |
maven { url "https://repo.spring.io/milestone" } | |
} | |
dependencies { | |
compile('org.springframework.boot:spring-boot-starter-webflux') | |
compile("org.jetbrains.kotlin:kotlin-stdlib-jre8:${kotlinVersion}") | |
compile("org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}") | |
testCompile('org.springframework.boot:spring-boot-starter-test') | |
testCompile('io.projectreactor:reactor-test') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment