forked from lavaloon-eg/zatca-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
41 lines (35 loc) · 1.15 KB
/
build.gradle.kts
File metadata and controls
41 lines (35 loc) · 1.15 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
plugins {
kotlin("jvm") version "1.9.22"
kotlin("plugin.serialization") version "1.9.22"
id("com.github.gmazzo.buildconfig") version "5.4.0"
application
}
group = "com.lavaloon"
version = "2.10.0"
repositories {
mavenCentral()
maven("https://repo.e-iceblue.cn/repository/maven-public/")
}
application {
mainClass = "com.lavaloon.zatca.MainKt"
// The ConvertPdfCommand generates invalid dates on Arabic locales if the JVM language isn't English
applicationDefaultJvmArgs = listOf("-Duser.language=en", "-Duser.timezone=Asia/Riyadh")
}
buildConfig {
buildConfigField("APP_VERSION", provider { "${project.version}" })
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0")
implementation("org.jcommander:jcommander:1.83")
implementation(files("lib/zatca-einvoicing-sdk-238-R3.4.5.jar"))
testImplementation("org.jetbrains.kotlin:kotlin-test")
implementation("org.apache.pdfbox:pdfbox:2.0.29")
implementation("org.apache.pdfbox:pdfbox-tools:2.0.29")
implementation("e-iceblue:spire.pdf.free:9.13.0")
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(11)
}