-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
44 lines (36 loc) · 1.02 KB
/
build.gradle.kts
File metadata and controls
44 lines (36 loc) · 1.02 KB
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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import studio.o7.remora.plugin.ApiVersion
import studio.o7.remora.plugin.Load
plugins {
id("xyz.jpenilla.run-paper") version "3.0.2"
}
dependencies {
implementation(project(":api"))
implementation("io.grpc:grpc-okhttp:1.79.0")
implementation("io.grpc:grpc-protobuf:1.79.0")
implementation("io.grpc:grpc-stub:1.79.0")
}
information {
artifactId = "octopus"
description = "Octopus-API paper plugin implementation"
url = "https://github.com/o7studios/octopus-plugin"
}
plugin {
enabled = true
main = "studio.o7.octopus.plugin.OctopusPlugin"
apiVersion = ApiVersion.PAPER_1_21_8
load.set(Load.STARTUP)
}
tasks.named<ShadowJar>("shadowJar") {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
mergeServiceFiles()
filesMatching("META-INF/services/**") {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
}
tasks {
runServer {
minecraftVersion("1.21.11")
args("--port", "25565")
}
}