-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert to new http4k version. Upgrade everything
- Loading branch information
1 parent
562bf8b
commit 9a6b69b
Showing
19 changed files
with
137 additions
and
98 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,9 @@ | |
.idea/ | ||
*.iml | ||
build/ | ||
out/ | ||
.DS_Store | ||
local.properties | ||
lambda.properties | ||
/app/src/main/generated/ | ||
*.env |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
21 |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
web: build/install/http4k-demo-irc/bin/http4k-demo-irc $PORT | ||
web: build/install/http4k-irc/bin/http4k-irc $PORT |
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
import org.gradle.api.JavaVersion.VERSION_21 | ||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21 | ||
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile | ||
|
||
plugins { | ||
kotlin("jvm") version "2.0.20" | ||
java | ||
application | ||
id("com.gradleup.shadow") version "8.3.1" | ||
id("nu.studer.rocker") version "3.0.4" | ||
} | ||
|
||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
gradlePluginPortal() | ||
} | ||
|
||
dependencies { | ||
} | ||
} | ||
|
||
kotlin { | ||
jvmToolchain { | ||
languageVersion.set(JavaLanguageVersion.of(21)) | ||
} | ||
} | ||
|
||
|
||
allprojects { | ||
apply(plugin = "java") | ||
apply(plugin = "kotlin") | ||
apply(plugin = "application") | ||
apply(plugin = "com.gradleup.shadow") | ||
apply(plugin = "nu.studer.rocker") | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
api(platform("org.http4k:http4k-bom:${project.properties["http4k_version"]}")) | ||
testApi(platform("org.junit:junit-bom:${project.properties["junit_version"]}")) | ||
|
||
api("org.http4k:http4k-core") | ||
api("org.http4k:http4k-config") | ||
api("org.http4k:http4k-server-jetty") | ||
|
||
testApi("org.http4k:http4k-testing-hamkrest") | ||
testApi("org.http4k:http4k-client-websocket") | ||
|
||
testApi("org.junit.jupiter:junit-jupiter-api") | ||
testApi("org.junit.jupiter:junit-jupiter-engine") | ||
} | ||
|
||
|
||
tasks { | ||
withType<KotlinJvmCompile>().configureEach { | ||
compilerOptions { | ||
allWarningsAsErrors = false | ||
jvmTarget.set(JVM_21) | ||
} | ||
} | ||
|
||
withType<Test> { | ||
useJUnitPlatform() | ||
} | ||
|
||
java { | ||
sourceCompatibility = VERSION_21 | ||
targetCompatibility = VERSION_21 | ||
} | ||
} | ||
} | ||
|
||
tasks.register("stage") { | ||
dependsOn("installDist") | ||
} | ||
|
||
application { | ||
mainClass.set("org.http4k.demo.IrcLauncherKt") | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
org.gradle.parallel=true | ||
http4k_version=3.263.0 | ||
junit_version=5.7.0 | ||
kotlin_version=1.4.10 | ||
http4k_connect_version=5.24.1.0 | ||
http4k_version=5.32.1.0 | ||
junit_version=5.11.0 | ||
kotlin_version=2.0.20 | ||
forkhandles_version=2.20.0.0 |
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rootProject.name = "http4k-irc" |
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
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
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
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
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