Skip to content

Commit c3ab328

Browse files
committed
dependencies: updated remora, added grpc dependencies and setup shadowJar
1 parent 4f95bcb commit c3ab328

4 files changed

Lines changed: 32 additions & 4 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.vscode
33
.gradle
44
build
5+
/plugin/run

api/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ repositories {
33
}
44

55
dependencies {
6-
api("studio.o7:octopus-sdk:0.3.3")
7-
compileOnly("io.papermc.paper:paper-api:1.21.8-R0.1-SNAPSHOT")
6+
api("studio.o7:octopus-sdk:0.5.9")
7+
api("studio.o7:gentle:0.0.2")
8+
compileOnly("io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT")
89
}
910

1011
information {

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import studio.o7.remora.RemoraPlugin
22

33
plugins {
4-
id("studio.o7.remora") version "0.3.6"
4+
id("studio.o7.remora") version "0.4.0"
55
}
66

77
allprojects {

plugin/build.gradle.kts

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
1+
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
12
import studio.o7.remora.plugin.ApiVersion
23
import studio.o7.remora.plugin.Load
34

5+
plugins {
6+
id("xyz.jpenilla.run-paper") version "3.0.2"
7+
}
8+
49
dependencies {
510
implementation(project(":api"))
11+
12+
implementation("io.grpc:grpc-okhttp:1.78.0")
13+
implementation("io.grpc:grpc-protobuf:1.78.0")
14+
implementation("io.grpc:grpc-stub:1.78.0")
615
}
716

817
information {
918
artifactId = "octopus"
10-
description = "Octopus paper plugin"
19+
description = "Octopus-API paper plugin implementation"
20+
url = "https://github.com/o7studios/octopus-plugin"
1121
}
1222

1323
plugin {
@@ -16,3 +26,19 @@ plugin {
1626
apiVersion = ApiVersion.PAPER_1_21_8
1727
load.set(Load.POST_WORLD)
1828
}
29+
30+
tasks.named<ShadowJar>("shadowJar") {
31+
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
32+
mergeServiceFiles()
33+
34+
filesMatching("META-INF/services/**") {
35+
duplicatesStrategy = DuplicatesStrategy.INCLUDE
36+
}
37+
}
38+
39+
tasks {
40+
runServer {
41+
minecraftVersion("1.21.11")
42+
args("--port", "25565")
43+
}
44+
}

0 commit comments

Comments
 (0)