-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
66 lines (53 loc) · 1.48 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.kotlin.serialization)
application
idea
}
group = "com.tfowl.woolies"
version = "1.0-SNAPSHOT"
application {
mainClass.set("com.tfowl.woolies.sync.MainKt")
findProperty("playwright.nodejs.path")?.let { path ->
applicationDefaultJvmArgs = listOf("-Dplaywright.nodejs.path=$path")
}
}
allprojects {
apply(plugin = "org.jetbrains.kotlin.jvm")
repositories {
mavenCentral()
}
java {
targetCompatibility = JavaVersion.VERSION_21
sourceCompatibility = JavaVersion.VERSION_21
}
tasks.withType<KotlinCompile> {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_21)
freeCompilerArgs = listOf("-Xinline-classes", "-Xopt-in=kotlin.RequiresOptIn")
}
}
}
dependencies {
implementation(libs.kotlinx.coroutines.core)
implementation(libs.kotlinx.serialization.json)
implementation(libs.clikt)
implementation(libs.bundles.kotlinresult)
implementation(libs.ical4j)
implementation(libs.playwright)
implementation(libs.log4j.slf4j2impl)
implementation(project(":gcal-sync-kt"))
implementation(project(":workjam"))
testImplementation(libs.bundles.testing)
}
tasks.withType<Test> {
useJUnitPlatform()
}
idea {
module {
isDownloadSources = true
isDownloadJavadoc = true
}
}