Skip to content

Commit 9626624

Browse files
committed
1.7, May be final
1 parent 1df8bba commit 9626624

File tree

5 files changed

+10
-29
lines changed

5 files changed

+10
-29
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: Release
22

3-
on:
4-
push:
5-
tags:
6-
- 'v*'
7-
workflow_dispatch:
3+
on: workflow_dispatch
84

95
jobs:
106
build:

README.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Jitpack latest version](https://jitpack.io/v/fr.xpdustry/TemplatePlugin.svg)](https://jitpack.io/#fr.xpdustry/TemplatePlugin)
44
[![Build status](https://github.com/Xpdustry/TemplatePlugin/actions/workflows/build.yml/badge.svg?branch=master&event=push)](https://github.com/Xpdustry/TemplatePlugin/actions/workflows/build.yml)
5-
[![Mindustry 5.0 | 6.0](https://img.shields.io/badge/Mindustry-5.0%20%7C%206.0-ffd37f)](https://github.com/Anuken/Mindustry/releases)
5+
[![Mindustry 5.0 | 6.0 | 7.0 ](https://img.shields.io/badge/Mindustry-5.0%20%7C%206.0%20%7C%207.0-ffd37f)](https://github.com/Anuken/Mindustry/releases)
66

77
## Description
88

@@ -22,23 +22,7 @@ This template features some cool stuff such as:
2222

2323
- When you use this template, make sure to edit `plugin.json` and `gradle.properties`.
2424

25-
- The plugin compiles to java 8 for compatibility reasons,
25+
- The plugin compiles to java 8 for maximum compatibility,
2626
but nothing keeps you to change the compiler target or source to a higher jdk.
2727

28-
- For faster testing, I recommend you to add an exit statement at the end of your server startup script such as:
29-
30-
`run_server.bat`
31-
```batch
32-
@echo off
33-
java -jar server.jar
34-
exit
35-
```
36-
37-
`run_server.sh`
38-
```shell
39-
#!/usr/bin/env bash
40-
java -jar server.jar
41-
exit
42-
```
43-
4428
Thank you for using this template !

build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import groovy.json.JsonSlurper
2+
import java.nio.charset.StandardCharsets
23

34

45
buildscript{
@@ -58,15 +59,15 @@ java{
5859
compileJava{
5960
sourceCompatibility = JavaVersion.VERSION_1_8
6061
targetCompatibility = JavaVersion.VERSION_1_8
61-
options.encoding = "UTF-8"
62+
options.encoding = StandardCharsets.UTF_8
6263
}
6364

6465
test{
6566
useJUnitPlatform()
6667
}
6768

6869
compileTestJava{
69-
options.encoding = "UTF-8"
70+
options.encoding = StandardCharsets.UTF_8
7071
}
7172

7273

plugin.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"name": "template-plugin",
2+
"name": "xpdustry-template-plugin",
33
"displayName": "Xpdustry TemplatePlugin",
44
"author": "Phinner",
55
"description": "A template plugin for easier development, enjoy.",
6-
"version": "1.6.2",
6+
"version": "1.7",
77
"minGameVersion": "105",
88
"hidden": true,
99
"java": true,
10-
"main": "fr.xpdustry.templates.TemplatePlugin",
10+
"main": "fr.xpdustry.template.TemplatePlugin",
1111
"repo": "Xpdustry/TemplatePlugin",
1212
"dependencies": []
1313
}

src/main/java/fr/xpdustry/templates/TemplatePlugin.java renamed to src/main/java/fr/xpdustry/template/TemplatePlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package fr.xpdustry.templates;
1+
package fr.xpdustry.template;
22

33
import arc.util.*;
44
import mindustry.mod.Plugin;

0 commit comments

Comments
 (0)