-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle.kts
43 lines (38 loc) · 989 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
plugins {
alias(libs.plugins.kotlin.multiplatform)
alias(libs.plugins.kover)
alias(libs.plugins.kotlinx.serialization)
alias(libs.plugins.sqldelight)
}
group = "com.fortysevendegrees"
version = "0.1"
repositories {
mavenCentral()
}
sqldelight {
databases {
create("NativePostgres") {
packageName.set("com.fortysevendegrees.sqldelight")
dialect(libs.postgres.native.dialect.get())
}
}
linkSqlite.set(false)
}
kotlin {
linuxX64 {
binaries {
executable { entryPoint = "com.fortysevendegrees.main" }
}
}
sourceSets {
val commonMain by getting {
dependencies {
implementation(libs.arrow.fx)
implementation(libs.suspendapp)
implementation(libs.suspendapp.ktor)
implementation(libs.bundles.ktor.server)
implementation(libs.postgres.native.driver)
}
}
}
}