Skip to content

Commit

Permalink
Bring over improvements from other projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Grayray75 committed Aug 12, 2023
1 parent 0f7dd9b commit d3bb8c6
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 17 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "17"
cache: "gradle"
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
run: ./gradlew build --no-daemon
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@ on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Set up JDK
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "17"
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build and publish with Gradle
run: ./gradlew build modrinth curseforge --stacktrace
env:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## v3.1.0

* Added Chinese Traditional translation ([#13](https://github.com/Grayray75/FPS-Display/pull/13)).
* Added Chinese Traditional translation. ([#13](https://github.com/Grayray75/FPS-Display/pull/13))
* Backport v3 to older Minecraft versions.

## v3.0.1
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# FPS-Display
A simple **Fabric** mod that displays the current FPS on screen.

## 🖼️ Showcase:
## 🖼️ Showcase

![preview](./media/showcase/fps-counter.png)

Expand All @@ -12,14 +12,16 @@ A simple **Fabric** mod that displays the current FPS on screen.

</details>

## 📥 Downloads:
## 📥 Downloads

You can download this mod from:
* [Modrinth](https://modrinth.com/mod/fpsdisplay)
* [CurseForge](https://www.curseforge.com/minecraft/mc-mods/fpsdisplay)

## 🎲 Supported versions:
Minecraft version: | Support:
------------------ | --------
## 🎲 Supported versions

Minecraft: | Support:
---------- | --------
1.20.x | ✔️ Active
1.19.4 | ✔️ Active
1.19.3 | ✔️ Active
Expand All @@ -28,4 +30,5 @@ Minecraft version: | Support:
1.16.x | ✔️ Active
1.15.x | ✔️ Active
1.14.x | ✔️ Active
1.12.2 | Planned
1.8.9 | ✔️ Active
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "fabric-loom" version "1.3-SNAPSHOT"
id 'io.github.juuxel.loom-vineflower' version "1.11.0"
id "io.github.juuxel.loom-vineflower" version "1.11.0"
id "com.modrinth.minotaur" version "2.+"
id "com.matthewprenger.cursegradle" version "1.4.0"
id "maven-publish"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ org.gradle.jvmargs=-Xmx2G
# https://fabricmc.net/develop/
minecraft_version=1.20.1
yarn_mappings=1.20.1+build.9
loader_version=0.14.21
loader_version=0.14.22

# Mod Properties
mod_version=3.1.0
Expand Down
Empty file modified gradlew
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
pluginManagement {
repositories {
maven {
name = "Fabric"
name = "FabricMC"
url = "https://maven.fabricmc.net/"
}
gradlePluginPortal()
mavenCentral()
gradlePluginPortal()
}
}

0 comments on commit d3bb8c6

Please sign in to comment.