Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
1.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy0000 committed Oct 21, 2023
1 parent 4be42d7 commit 8fc816b
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Java CI with Gradle
name: Build

on:
pull_request:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Packages
name: Publish

on:
push:
Expand All @@ -11,31 +11,15 @@ on:
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: MineInAbyss/publish-action@master
with:
maven-metadata-url: https://repo.mineinabyss.com/releases/com/mineinabyss/looty/maven-metadata.xml
# pages-path: build/dokka/htmlMultiModule/
# dokka: dokkaHtmlMultiModule
pages-path: build/dokka/htmlMultiModule/
dokka: dokkaHtmlMultiModule
maven-username: ${{ secrets.MAVEN_PUBLISH_USERNAME }}
maven-password: ${{ secrets.MAVEN_PUBLISH_PASSWORD }}
release-files: |
${{ github.workspace }}/publish/*.jar
# deploy:
# permissions:
# pages: write
# id-token: write
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
# if: ${{ github.ref == 'refs/heads/master' }}
# runs-on: ubuntu-latest
# needs: build
# steps:
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v1
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
group=com.mineinabyss
version=0.11
idofrontVersion=0.18.26
version=0.12
idofrontVersion=0.19.14
2 changes: 1 addition & 1 deletion gradle/myLibs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
gearyPaper = "0.25-SNAPSHOT"
gearyPaper = "0.26.0"

[libraries]
geary-papermc = { module = "com.mineinabyss:geary-papermc", version.ref = "gearyPaper" }
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ val looty by DI.observe<LootyModule>()
class LootyModule(
val plugin: LootyPlugin
) {
val configController = config<LootyConfig>("config") { plugin.fromPluginPath(loadDefault = true) }
val configController = config<LootyConfig>("config", plugin.dataFolder.toPath(), LootyConfig())
val config: LootyConfig by configController
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface ItemRecipes {
}

override fun ItemRecipes.install() {
geary.pipeline.intercept(GearyPhase.ENABLE) {
geary.pipeline.runOnOrAfter(GearyPhase.ENABLE) {
val autoDiscoveredRecipes = query.registerRecipes()

gearyPaper.plugin.listeners(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.mineinabyss.looty.features.wearables
import com.mineinabyss.geary.helpers.with
import com.mineinabyss.geary.papermc.tracking.items.inventory.toGeary
import com.mineinabyss.idofront.entities.rightClicked
import org.bukkit.craftbukkit.v1_20_R1.inventory.CraftInventoryCrafting
import org.bukkit.craftbukkit.v1_20_R2.inventory.CraftInventoryCrafting
import org.bukkit.entity.ArmorStand
import org.bukkit.entity.EntityType
import org.bukkit.entity.Player
Expand Down

0 comments on commit 8fc816b

Please sign in to comment.