-
Notifications
You must be signed in to change notification settings - Fork 171
/
Copy pathbuild.gradle.kts
32 lines (27 loc) · 949 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
plugins {
id("com.android.application") version "8.1.1" apply false
id("com.google.protobuf") version "0.9.4" apply false
kotlin("jvm") version "1.9.20" apply false
id("org.jlleitschuh.gradle.ktlint") version "11.6.1" apply false
}
// todo: move to subprojects, but how?
ext["grpcVersion"] = "1.57.2"
ext["grpcKotlinVersion"] = "1.4.1" // CURRENT_GRPC_KOTLIN_VERSION
ext["protobufVersion"] = "3.24.1"
ext["coroutinesVersion"] = "1.7.3"
subprojects {
repositories {
mavenLocal() // For testing new releases of gRPC Kotlin
mavenCentral()
google()
}
apply(plugin = "org.jlleitschuh.gradle.ktlint")
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
filter {
exclude {
it.file.path.startsWith(project.layout.buildDirectory.get().dir("generated").toString())
}
}
}
}
tasks.create("assemble").dependsOn(":server:installDist")