Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buildscript {
- ext {
- kotlinVersion = '1.2.70'
- springBootVersion = '2.1.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.testy'
- version = '0.0.1-SNAPSHOT'
- sourceCompatibility = 1.8
- compileKotlin {
- kotlinOptions {
- freeCompilerArgs = ["-Xjsr305=strict"]
- jvmTarget = "1.8"
- }
- }
- compileTestKotlin {
- kotlinOptions {
- freeCompilerArgs = ["-Xjsr305=strict"]
- jvmTarget = "1.8"
- }
- }
- repositories {
- mavenCentral()
- maven { url "https://repo.spring.io/snapshot" }
- maven { url "https://repo.spring.io/milestone" }
- }
- dependencies {
- implementation('org.springframework.boot:spring-boot-starter-data-rest')
- implementation('com.fasterxml.jackson.module:jackson-module-kotlin')
- implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
- implementation("org.jetbrains.kotlin:kotlin-reflect")
- final RETROFIT_VERSION = '2.3.0'
- compile group: 'io.reactivex.rxjava2', name: 'rxjava', version: '2.1.1'
- implementation "com.squareup.retrofit2:retrofit:$RETROFIT_VERSION"
- implementation "com.squareup.retrofit2:converter-gson:$RETROFIT_VERSION"
- implementation "com.squareup.retrofit2:adapter-rxjava2:$RETROFIT_VERSION"
- implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
- compile group: 'org.simpleframework', name: 'simple-xml', version: '2.7'
- testImplementation('org.springframework.boot:spring-boot-starter-test')
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement