File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,48 @@ permissions:
1212 contents : write
1313
1414jobs :
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/')
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change 1+ import studio.o7.remora.plugin.ApiVersion
2+ import studio.o7.remora.plugin.Load
3+
14dependencies {
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+ }
You can’t perform that action at this time.
0 commit comments