-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
40 lines (33 loc) · 1.24 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
plugins {
kotlin("jvm") version "2.0.20"
kotlin("kapt") version "2.0.20"
id("com.github.johnrengelman.shadow") version "7.0.0"
}
rootProject.group = "com.bluedragonmc"
rootProject.version = "0.1.0"
repositories {
mavenCentral()
maven(url = "https://repo.papermc.io/repository/maven-public/")
maven(url = "https://jitpack.io")
mavenLocal()
}
val grpcKotlinVersion = "1.3.0"
val protoVersion = "3.21.9"
val grpcVersion = "1.51.0"
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("com.github.ben-manes.caffeine:caffeine:3.1.1")
compileOnly("com.velocitypowered:velocity-api:3.3.0-SNAPSHOT")
implementation("net.kyori:adventure-text-minimessage:4.11.0")
kapt("com.velocitypowered:velocity-api:3.0.1")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
implementation("io.grpc:grpc-netty:$grpcVersion")
implementation("io.grpc:grpc-protobuf:$grpcVersion")
implementation("io.grpc:grpc-kotlin-stub:$grpcKotlinVersion")
implementation("com.google.protobuf:protobuf-kotlin:$protoVersion")
implementation("com.github.bluedragonmc:rpc:c2785493d9")
}
tasks.shadowJar {
mergeServiceFiles()
}
tasks["build"].dependsOn(tasks["shadowJar"])