-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update gradleplugin, gradle, java, ci
- Loading branch information
1 parent
155645b
commit 05a5fa9
Showing
13 changed files
with
98 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "gradle" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
rebase-strategy: "disabled" | ||
groups: | ||
versions: | ||
dependency-type: production | ||
applies-to: version-updates | ||
open-pull-requests-limit: 1 | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
groups: | ||
versions: | ||
dependency-type: production | ||
applies-to: version-updates | ||
rebase-strategy: "disabled" | ||
open-pull-requests-limit: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,31 +10,31 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Git repo | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
- uses: christian-draeger/[email protected] | ||
id: properties | ||
with: | ||
path: './gradle.properties' | ||
properties: 'makeevrserg.project.name makeevrserg.project.version.string' | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v2 | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'adopt' | ||
java-version: 17 | ||
java-version: 21 | ||
- name: Give gradle permission | ||
run: chmod +x gradlew | ||
- name: Build with Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
uses: gradle/gradle-build-action@v3 | ||
with: | ||
arguments: shadowJar --stacktrace | ||
arguments: :plugin:shadowJar --stacktrace | ||
- name: Create release | ||
id: create_internal_release | ||
uses: softprops/action-gh-release@v1 | ||
uses: softprops/action-gh-release@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }} | ||
with: | ||
files: | | ||
./jars/${{ steps.properties.outputs.makeevrserg-project-name }}-${{ steps.properties.outputs.makeevrserg-project-version-string }}.jar | ||
./jars/*.jar | ||
tag_name: ${{ steps.properties.outputs.makeevrserg-project-version-string }} | ||
name: ${{ steps.properties.outputs.makeevrserg-project-name }} - ${{ steps.properties.outputs.makeevrserg-project-version-string }} | ||
draft: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Check Develop | ||
on: | ||
pull_request: | ||
branches: | ||
- 'develop' | ||
- 'master' | ||
|
||
# Concurrency strategy: | ||
# github.workflow: distinguish this workflow from others | ||
# github.event_name: distinguish `push` event from `pull_request` event | ||
# github.ref_name: distinguish branch | ||
# github.repository: distinguish owner+repository | ||
# | ||
# Reference: | ||
# https://docs.github.com/en/actions/using-jobs/using-concurrency | ||
# https://docs.github.com/en/actions/learn-github-actions/contexts#github-context | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event_name }}-${{github.ref_name}}-${{github.repository}} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
gradle_validation: | ||
name: Validate gradle wrapper | ||
uses: ./.github/workflows/call-gradle-wrapper-validation.yml | ||
detekt_validation: | ||
name: Check by detekt | ||
needs: gradle_validation | ||
uses: ./.github/workflows/call-detekt-validation.yml | ||
tests_validation: | ||
needs: gradle_validation | ||
uses: ./.github/workflows/call-tests-validation.yml | ||
build: | ||
name: Build project | ||
needs: [ gradle_validation, detekt_validation, tests_validation ] | ||
uses: ./.github/workflows/call-build-project.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
kotlin.code.style=official | ||
# Java | ||
makeevrserg.java.source=8 | ||
makeevrserg.java.target=17 | ||
makeevrserg.java.ktarget=17 | ||
makeevrserg.java.target=21 | ||
makeevrserg.java.ktarget=21 | ||
# Project | ||
makeevrserg.project.name=AstraMarket | ||
makeevrserg.project.group=ru.astrainteractive.astramarket | ||
makeevrserg.project.version.string=1.11.0 | ||
makeevrserg.project.version.string=1.12.0-unstable | ||
makeevrserg.project.description=Market plugin for EmpireSMP | ||
makeevrserg.project.developers=makeevrserg|Makeev Roman|[email protected] | ||
makeevrserg.project.url=https://empireprojekt.ru |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-7.4-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ enum class AuctionSort { | |
PRICE_DESC, | ||
PRICE_ASC, | ||
PLAYER_ASC, | ||
PLAYER_DESC; | ||
PLAYER_DESC | ||
} |