Skip to content

Commit 14a48d5

Browse files
feat: Updated Remora settings
1 parent 2429fed commit 14a48d5

3 files changed

Lines changed: 58 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,48 @@ permissions:
1212
contents: write
1313

1414
jobs:
15+
lint:
16+
name: "🧹 Lint Code"
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: "📥 Checkout Code (Full History)"
20+
uses: actions/checkout@v5
21+
with:
22+
fetch-depth: 0
23+
24+
- name: "☕ Setup Java ${{ env.JAVA_VERSION }}"
25+
uses: actions/setup-java@v5
26+
with:
27+
distribution: ${{ env.JAVA_DISTRIBUTION }}
28+
java-version: ${{ env.JAVA_VERSION }}
29+
30+
- name: "⚡ Setup Gradle with Cache"
31+
uses: gradle/actions/setup-gradle@v4
32+
33+
- name: "🔍 Run Check"
34+
run: ./gradlew check
35+
36+
test:
37+
name: "✅ Run Tests"
38+
runs-on: ubuntu-latest
39+
steps:
40+
- name: "📥 Checkout Code (Full History)"
41+
uses: actions/checkout@v5
42+
with:
43+
fetch-depth: 0
44+
45+
- name: "☕ Setup Java ${{ env.JAVA_VERSION }}"
46+
uses: actions/setup-java@v5
47+
with:
48+
distribution: ${{ env.JAVA_DISTRIBUTION }}
49+
java-version: ${{ env.JAVA_VERSION }}
50+
51+
- name: "⚡ Setup Gradle with Cache"
52+
uses: gradle/actions/setup-gradle@v4
53+
54+
- name: "🧪 Run Unit Tests"
55+
run: ./gradlew test
56+
1557
releaser:
1658
name: "🏁 Release"
1759
if: startsWith(github.ref, 'refs/tags/')

build.gradle.kts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,4 @@ allprojects {
88
apply<RemoraPlugin>()
99

1010
group = "studio.o7"
11-
12-
repositories {
13-
maven("https://repo.papermc.io/repository/maven-public/")
14-
}
15-
16-
dependencies {
17-
compileOnly("io.papermc.paper:paper-api:1.21.8-R0.1-SNAPSHOT")
18-
}
1911
}

plugin/build.gradle.kts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
import studio.o7.remora.plugin.ApiVersion
2+
import studio.o7.remora.plugin.Load
3+
14
dependencies {
25
implementation(project(":api"))
3-
}
6+
}
7+
8+
information {
9+
artifactId = "octopus"
10+
description = "Octopus paper plugin"
11+
}
12+
13+
plugin {
14+
enabled = true
15+
main = "studio.o7.octopus.plugin.OctopusPlugin"
16+
apiVersion = ApiVersion.PAPER_1_21_8
17+
load.set(Load.POST_WORLD)
18+
}

0 commit comments

Comments
 (0)