-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
53 lines (43 loc) · 1.16 KB
/
build.gradle.kts
File metadata and controls
53 lines (43 loc) · 1.16 KB
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
52
53
import org.gradle.api.JavaVersion.VERSION_21
import org.gradle.api.tasks.wrapper.Wrapper.DistributionType.BIN
import org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.version.catalog.update)
alias(libs.plugins.versions)
alias(libs.plugins.typeflows)
}
allprojects {
group = "org.http4k.examples"
version = "1.0.0"
repositories {
mavenCentral()
gradlePluginPortal()
}
tasks.withType<Wrapper> {
gradleVersion = "9.3.1"
distributionType = BIN
}
}
subprojects {
apply(plugin = "kotlin")
tasks.withType<KotlinCompile> {
compilerOptions {
jvmTarget.set(JVM_21)
allWarningsAsErrors = false
}
}
tasks.withType<JavaCompile> {
sourceCompatibility = VERSION_21.toString()
targetCompatibility = VERSION_21.toString()
}
tasks.withType<Test> {
useJUnitPlatform()
}
}
dependencies {
typeflowsApi(libs.typeflows.github)
typeflowsApi(libs.typeflows.github.marketplace)
typeflowsApi(libs.http4k.standards)
}