forked from grpc/grpc-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
32 lines (27 loc) · 874 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 "7.4.2" apply false // Older for IntelliJ Support
id("com.google.protobuf") version "0.9.3" apply false
kotlin("jvm") version "1.8.21" apply false
id("org.jlleitschuh.gradle.ktlint") version "11.3.2"
}
// todo: move to subprojects, but how?
ext["grpcVersion"] = "1.54.1"
ext["grpcKotlinVersion"] = "1.3.0" // CURRENT_GRPC_KOTLIN_VERSION
ext["protobufVersion"] = "3.22.3"
ext["coroutinesVersion"] = "1.7.0"
allprojects {
repositories {
mavenLocal() // For testing new releases of gRPC Kotlin
mavenCentral()
google()
}
apply(plugin = "org.jlleitschuh.gradle.ktlint")
ktlint {
filter {
exclude {
it.file.path.contains("$buildDir/generated/")
}
}
}
}
tasks.create("assemble").dependsOn(":server:installDist")