Skip to content

Commit

Permalink
upgrade http4k and kotlin
Browse files Browse the repository at this point in the history
daviddenton committed Oct 3, 2020
1 parent d137b13 commit da4549f
Showing 3 changed files with 18 additions and 14 deletions.
25 changes: 13 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -2,10 +2,6 @@ group 'org.http4k'
version '1.0-SNAPSHOT'

buildscript {
ext.kotlin_version = '1.3.31'
ext.http4k_version = '3.140.0'
ext.junit_version = '5.4.1'

repositories {
mavenCentral()
jcenter()
@@ -27,16 +23,21 @@ repositories {
}

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation platform("org.http4k:http4k-bom:$http4k_version")
implementation "org.http4k:http4k-core"
implementation "org.http4k:http4k-cloudnative"
implementation "org.http4k:http4k-server-jetty"

testImplementation "org.http4k:http4k-testing-hamkrest"
testImplementation "org.http4k:http4k-client-websocket"

compile "org.http4k:http4k-core:$http4k_version"
compile "org.http4k:http4k-cloudnative:$http4k_version"
compile "org.http4k:http4k-server-jetty:$http4k_version"
testImplementation platform("org.junit:junit-bom:$junit_version")
testImplementation "org.junit.jupiter:junit-jupiter-api"
testImplementation "org.junit.jupiter:junit-jupiter-engine"
}

testCompile "org.http4k:http4k-client-websocket:$http4k_version"
testCompile "org.junit.jupiter:junit-jupiter-api:$junit_version"
testCompile "org.junit.jupiter:junit-jupiter-engine:$junit_version"
testCompile "org.http4k:http4k-testing-hamkrest:$http4k_version"
test {
useJUnitPlatform()
}

mainClassName = 'org.http4k.demo.IrcLauncherKt'
4 changes: 4 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
org.gradle.parallel=true
http4k_version=3.263.0
junit_version=5.7.0
kotlin_version=1.4.10
3 changes: 1 addition & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#Sat Dec 08 12:30:25 GMT 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-all.zip

0 comments on commit da4549f

Please sign in to comment.