-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle.kts
40 lines (35 loc) · 1007 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
plugins {
id("cli-application")
id("launcher-checksums")
alias(libs.plugins.kotlinx.plugin.serialization)
}
cli {
name = "odoo"
mainClass = "com.github.hubvd.odootools.odoo.OdooKt"
}
dependencies {
implementation(project(":config"))
implementation(project(":workspace"))
implementation(libs.coroutines.core)
implementation(libs.process)
implementation(libs.xmlbuilder)
implementation(libs.kodein.di)
implementation(libs.serialization.json)
testImplementation(testFixtures(project(":workspace")))
testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
testImplementation(libs.assertk)
}
val blackVersion = project.findProperty("black.version") as String
spotless {
python {
target("resources/launcher/**/*.py")
black(blackVersion)
}
json {
target("resources/META-INF/native-image/**/*.json")
gson()
.indentWithSpaces(4)
.sortByKeys()
}
}