-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
43 lines (35 loc) · 944 Bytes
/
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
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "2.0.21"
application
}
group = "me.wverl"
version = "1.0-SNAPSHOT"
val dyldLibraryPath = "libs/z3"
repositories {
mavenCentral()
}
dependencies {
implementation("org.junit.jupiter:junit-jupiter:5.7.0")
testImplementation(kotlin("test"))
implementation("com.squareup.okhttp3:okhttp:4.9.3")
implementation("com.squareup.okhttp3:logging-interceptor:4.9.3")
implementation("com.google.guava:guava:31.0.1-jre")
implementation(files("libs/com.microsoft.z3.jar"))
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
environment("DYLD_LIBRARY_PATH", dyldLibraryPath)
}
tasks.withType<KotlinCompile> {
compilerOptions {
jvmTarget = JvmTarget.JVM_17
}
}
application {
mainClass.set("MainKt")
}