Skip to content

Commit

Permalink
Merge pull request #230 from Syrent/master
Browse files Browse the repository at this point in the history
Merge master to development
  • Loading branch information
Syrent committed Aug 30, 2023
2 parents a90977f + eeeaf0e commit 2981984
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 3 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/hangar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish to Hangar
on:
push:
branches:
- development
- master

jobs:
publish:
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Publish
env:
HANGAR_TOKEN: ${{ secrets.HANGAR_API_TOKEN }}
HANGAR_BUILD_CHANNEL: Snapshot
run: ./gradlew build publishPluginPublicationToHangar --stacktrace
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ dependencies {
compileOnly("dev.folia:folia-api:1.20.1-R0.1-SNAPSHOT")
compileOnly("com.comphenix.protocol:ProtocolLib:5.1.0")
compileOnly("me.clip:placeholderapi:2.11.3")
compileOnly("xyz.jpenilla:squaremap-api:1.1.15")
compileOnly("xyz.jpenilla:squaremap-api:1.1.16")
compileOnly("net.essentialsx:EssentialsX:2.20.1")
compileOnly("org.spongepowered:configurate-yaml:4.2.0-yamlbranch-4")
compileOnly("com.discordsrv:discordsrv:1.26.2")
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
3 changes: 2 additions & 1 deletion gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ done
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down

0 comments on commit 2981984

Please sign in to comment.