-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
72 lines (57 loc) · 2.04 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
67
68
69
70
71
72
plugins {
kotlin("jvm") version "1.9.22"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("com.google.devtools.ksp") version "1.9.22-1.0.17"
}
group = "zechs.zplex.sync"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
val kotlinCoroutines = "1.8.0"
val postgresSqlDriver = "42.7.3"
val okhttpVersion = "4.12.0"
val retrofitVersion = "2.9.0"
val moshiVersion = "1.15.0"
val jedisVersion = "5.2.0"
// Redis client for Java
implementation("redis.clients:jedis:$jedisVersion")
// Networking with OkHttp
implementation(platform("com.squareup.okhttp3:okhttp-bom:$okhttpVersion"))
implementation("com.squareup.okhttp3:okhttp")
implementation("com.squareup.okhttp3:logging-interceptor")
// Networking dependencies
implementation("com.squareup.retrofit2:retrofit:$retrofitVersion")
implementation("com.squareup.retrofit2:converter-moshi:$retrofitVersion")
// JSON parsing with Moshi
implementation("com.squareup.moshi:moshi:$moshiVersion")
implementation("com.squareup.moshi:moshi-kotlin:$moshiVersion")
ksp("com.squareup.moshi:moshi-kotlin-codegen:$moshiVersion")
// Postgres SQL Driver
implementation("org.postgresql:postgresql:$postgresSqlDriver")
// Google API Client Libraries
implementation("com.google.auth:google-auth-library-oauth2-http:1.23.0")
implementation("com.google.oauth-client:google-oauth-client-jetty:1.35.0")
implementation("com.google.apis:google-api-services-drive:v3-rev197-1.25.0")
// Kotlin coroutines
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinCoroutines")
testImplementation("org.jetbrains.kotlin:kotlin-test")
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(21)
}
sourceSets {
main {
java.srcDirs("src/main/kotlin")
kotlin.srcDirs("src/main/kotlin")
}
}
tasks.withType<Jar> {
manifest {
attributes["Main-Class"] = "zechs.zplex.sync.MainKt"
}
}