Skip to content

Commit

Permalink
Merge pull request #51 from jeyrschabu/updateDependencies
Browse files Browse the repository at this point in the history
chore(dependencies): Update kotlin dependencies & misc
  • Loading branch information
jeyrschabu authored Jun 7, 2018
2 parents 2a292ed + cfd3d16 commit ccfbe22
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ buildscript {
classpath "com.netflix.spinnaker.gradle:spinnaker-gradle-project:3.16.0"
classpath "org.springframework.boot:spring-boot-gradle-plugin:1.5.9.RELEASE"
classpath "org.junit.platform:junit-platform-gradle-plugin:1.0.0"
classpath "com.netflix.nebula:nebula-kotlin-plugin:1.2.21"
classpath "com.netflix.nebula:nebula-kotlin-plugin:$kotlinVersion"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:0.9.15"
classpath "com.netflix.nebula:gradle-dependency-lock-plugin:4.9.5"
}
Expand Down
5 changes: 5 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
org.gradle.parallel=true

kotlinVersion=1.2.21
jacksonVersion=2.9.4
jackson.version=2.9.4
11 changes: 10 additions & 1 deletion gradle/kotlin.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,16 @@ apply plugin: "nebula.kotlin"

compileKotlin {
kotlinOptions {
languageVersion = "1.1"
languageVersion = "1.2"
jvmTarget = "1.8"
}
}
configurations.all {
resolutionStrategy {
eachDependency { details ->
if (details.requested.group == "org.jetbrains.kotlin") {
details.useVersion kotlinVersion
}
}
}
}
8 changes: 4 additions & 4 deletions swabbie-core/swabbie-core.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ dependencies {
compile "org.slf4j:slf4j-api:1.7.+"
compile "com.netflix.spinnaker.kork:kork-core:+"
compile "net.logstash.logback:logstash-logback-encoder:4.+"
testCompile "com.squareup.retrofit:retrofit-mock:1.9.+"

compile "com.fasterxml.jackson.core:jackson-databind:2.9.+"
compile "com.fasterxml.jackson.core:jackson-annotations:2.9.+"
compile "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion"
compile "com.fasterxml.jackson.core:jackson-annotations:$jacksonVersion"

compile "com.fasterxml.jackson.module:jackson-module-kotlin:2.9.+"
compile "com.fasterxml.jackson.module:jackson-module-kotlin:$jacksonVersion"
compile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.+"
compile spinnaker.dependency("rxJava")

testCompile "com.squareup.retrofit:retrofit-mock:1.9.+"
testCompile project(":swabbie-test")
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package com.netflix.spinnaker.swabbie.retrofit

import com.netflix.spinnaker.config.OkHttp3ClientConfiguration
import com.netflix.spinnaker.config.OkHttpClientConfiguration
import com.squareup.okhttp.ConnectionPool
import com.squareup.okhttp.Interceptor
Expand All @@ -33,7 +34,7 @@ import retrofit.client.OkClient


@Configuration
@Import(OkHttpClientConfiguration::class)
@Import(OkHttp3ClientConfiguration::class)
@EnableConfigurationProperties
open class SwabbieRetrofitConfiguration {

Expand Down

0 comments on commit ccfbe22

Please sign in to comment.