forked from http4k/examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (40 loc) · 1.46 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
buildscript {
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
}
}
apply plugin: 'application'
mainClassName = "org.http4k.hexagonal.MarketKt"
repositories {
mavenCentral()
}
apply plugin: 'kotlin'
compileKotlin.kotlinOptions.jvmTarget = "21"
compileTestKotlin.kotlinOptions.jvmTarget = "21"
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
test {
useJUnitPlatform()
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlinVersion}")
implementation(platform("org.http4k:http4k-bom:${http4kVersion}"))
implementation(platform("dev.forkhandles:forkhandles-bom:${forkHandlesVersion}"))
implementation "org.http4k:http4k-core"
implementation "org.http4k:http4k-client-okhttp"
implementation "org.http4k:http4k-format-jackson"
implementation "org.http4k:http4k-server-undertow"
implementation "org.http4k:http4k-cloudnative"
implementation("io.arrow-kt:arrow-core:1.1.2")
testImplementation "org.http4k:http4k-testing-chaos"
testImplementation "org.http4k:http4k-testing-strikt"
testImplementation "org.http4k:http4k-testing-webdriver"
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
}