Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
BlaneyXYZ committed Nov 2, 2023
1 parent ec187af commit 1a03a60
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 20 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Java CI with Maven

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- uses: actions/upload-artifact@v2
with:
name: MobMortalityMessages (#${{ github.run_number }})
path: target/*.jar
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
41 changes: 30 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,32 @@
*.class
.classpath
.project
*.iml
# Eclipse stuff
/.classpath
/.project
/.settings

# netbeans
/nbproject

# we use maven!
build.xml

# maven
/target

# Package Files #
*.jar
*.war
*.ear
# vim
.*.sw[a-p]

target/
.settings/
bin/
# various other potential build files
build
bin
dist
manifest.mf
package

# Mac filesystem dust
.DS_Store

# intellij
*.iml
*.ipr
*.iws
.idea/
18 changes: 10 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,27 @@
<modelVersion>4.0.0</modelVersion>
<groupId>im.wma.dev</groupId>
<artifactId>MobMortalityMessages</artifactId>
<version>1.2-SNAPSHOT</version>
<version>1.3-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.build.timestamp.format>DD/MM/yyyy.HH:mm:ss</maven.build.timestamp.format>
<BUILD_NUMBER>dev-${maven.build.timestamp}</BUILD_NUMBER>
<maven.build.timestamp.format>yyyyMMdd.kkmmss</maven.build.timestamp.format>
<BUILD_NUMBER>local-${maven.build.timestamp}</BUILD_NUMBER>
<pluginversion>${project.version}-${BUILD_NUMBER}</pluginversion>
</properties>
<repositories>
<repository>
<id>bukkit-repo</id>
<url>http://repo.bukkit.org/content/groups/public</url>
<id>spigot</id>
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
</repository>
</repositories>
<dependencies>
<!--Spigot API-->
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>LATEST</version>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.20.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
<name>MobMortalityMessages</name>
Expand Down
3 changes: 2 additions & 1 deletion res/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: MobMortalityMessages
version: 1.0
version: ${pluginversion}
description: Sends a message to the attacking Player containing the Mob's remaining health
author: Penguin
api-version: 1.20
main: im.wma.dev.MobMortalityMessages.MobMortalityMessages
prefix: MMM
commands:
Expand Down

0 comments on commit 1a03a60

Please sign in to comment.