-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle.kts
45 lines (36 loc) · 1.15 KB
/
build.gradle.kts
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "2.0.0-RC3"
id("com.google.devtools.ksp") version "2.0.0-RC3-1.0.20"
id("org.jetbrains.kotlin.plugin.power-assert") version "2.0.0-RC3"
}
group = "com.xebia"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
val arrowVersion = "2.0.0-alpha.1"
dependencies {
implementation("io.arrow-kt:arrow-core:$arrowVersion")
implementation("io.arrow-kt:arrow-functions:$arrowVersion")
implementation("io.arrow-kt:arrow-fx-stm:$arrowVersion")
implementation("io.arrow-kt:arrow-fx-coroutines:$arrowVersion")
implementation("io.arrow-kt:arrow-optics:$arrowVersion")
ksp("io.arrow-kt:arrow-optics-ksp-plugin:$arrowVersion")
implementation("io.github.nomisrev:kotlinx-serialization-jsonpath:$arrowVersion")
testImplementation(kotlin("test"))
testImplementation("net.jqwik:jqwik:1.6.5")
}
tasks {
withType<KotlinCompile> {
compilerOptions.freeCompilerArgs.add("-Xcontext-receivers")
}
test {
useJUnitPlatform()
}
}
@Suppress("OPT_IN_USAGE")
powerAssert {
functions = listOf("kotlin.test.assertEquals")
functions = listOf("kotlin.test.assertTrue")
}