Skip to content

Commit 8ee86be

Browse files
authored
Merge pull request InsightsPlugin#245 from InsightsPlugin/ver/6.21.2
ver/6.21.2
2 parents d143f62 + adb798a commit 8ee86be

3 files changed

Lines changed: 26 additions & 21 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Publish to Modrinth"
1+
name: "Publish Insights"
22

33
on:
44
release:
@@ -23,4 +23,9 @@ jobs:
2323
run: "./gradlew modrinth"
2424
env:
2525
CHANGE_LOG: ${{ github.event.release.body }}
26-
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
26+
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
27+
- name: Publish to Repository
28+
run: "./gradlew publish"
29+
env:
30+
JSINCO_REPO_USERNAME: ${{ secrets.JSINCO_REPO_USERNAME }}
31+
JSINCO_REPO_SECRET: ${{ secrets.JSINCO_REPO_SECRET }}

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Insights
22
<div align="center">
3-
<a href="https://github.com/FrankHeijden/Insights/actions">
4-
<img alt="GitHub Actions" src="https://github.com/FrankHeijden/Insights/workflows/Java%20CI%20with%20Gradle/badge.svg?branch=main"/>
3+
<a href="https://github.com/InsightsPlugin/Insights/actions">
4+
<img alt="GitHub Actions" src="https://github.com/InsightsPlugin/Insights/actions/workflows/publish.yml/badge.svg?branch=main"/>
55
</a>
6-
<a href="https://repo.fvdh.dev/#/releases/dev/frankheijden/insights/Insights">
7-
<img alt="FvdH Repository" src="https://repo.fvdh.dev/api/badge/latest/releases/dev/frankheijden/insights/Insights?color=40c14a&amp;name=fvdh-repository"/>
6+
<a href="https://repo.jsinco.dev/#/releases/dev/frankheijden/insights/Insights">
7+
<img alt="Maven Version" src="https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Frepo.jsinco.dev%2Freleases%2Fdev%2Ffrankheijden%2Finsights%2FInsights%2Fmaven-metadata.xml&color=40c14a&label=jsinco-repo"/>
88
</a>
9-
<a href="https://github.com/FrankHeijden/Insights/releases/latest">
9+
<a href="https://github.com/InsightsPlugin/Insights/releases/latest">
1010
<img alt="GitHub Releases" src="https://img.shields.io/github/release/FrankHeijden/Insights.svg?label=GitHub%20Releases&color=40c14a"/>
1111
</a>
12-
<a href="https://www.spigotmc.org/resources/56489/">
13-
<img alt="Spigot Downloads" src="https://img.shields.io/badge/dynamic/json.svg?color=40c14a&label=Downloads%20%28SpigotMC%29&query=%24.downloads&url=https%3A%2F%2Fapi.spiget.org%2Fv2%2Fresources%2F56489"/>
12+
<a href="https://modrinth.com/plugin/insights">
13+
<img alt="Modrinth Downloads" src="https://img.shields.io/modrinth/dt/insights?color=40c14a&label=Downloads%20%28Modrinth%29"/>
1414
</a>
1515
<a href="https://www.spigotmc.org/resources/56489/">
1616
<img alt="Spigot Ratings" src="https://img.shields.io/badge/dynamic/json.svg?color=40c14a&label=Ratings%20%28SpigotMC%29&query=%24.rating.average&suffix=%20%2F%205&url=https%3A%2F%2Fapi.spiget.org%2Fv2%2Fresources%2F56489"/>
@@ -77,7 +77,7 @@ There are two ways to compile Insights:
7777
### Repository / Dependency
7878
If you wish to use snapshot version of Insights, you can use the following repo:
7979
```
80-
https://repo.fvdh.dev/snapshots
80+
https://repo.jsinco.dev/snapshots
8181
```
8282

8383
#### Gradle:
@@ -87,7 +87,7 @@ repositories {
8787
}
8888

8989
dependencies {
90-
maven("https://repo.fvdh.dev/releases")
90+
maven("https://repo.jsinco.dev/releases")
9191
}
9292
```
9393

@@ -97,8 +97,8 @@ dependencies {
9797
<repositories>
9898
<!-- Insights repo -->
9999
<repository>
100-
<id>fvdh</id>
101-
<url>https://repo.fvdh.dev/releases</url>
100+
<id>jsinco-repo</id>
101+
<url>https://repo.jsinco.dev/releases</url>
102102
</repository>
103103
</repositories>
104104

build.gradle.kts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ plugins {
1313

1414

1515
group = "dev.frankheijden.insights"
16-
version = "6.21.1"
16+
version = "6.21.2"
1717
val dependencyDir = "$group.dependencies"
18-
val targetMinecraftVersions = listOf("26.1.2", "1.21.11", "1.21.10", "1.21.9")
18+
val targetMinecraftVersions = listOf("26.1.2", "1.21.11", "1.21.10")
1919

2020
subprojects {
2121
apply(plugin = "java")
@@ -208,16 +208,16 @@ task("printVersion") {
208208
publishing {
209209
repositories {
210210
maven {
211-
name = "fvdh"
211+
name = "jsinco-repo"
212212
url = if (version.toString().toVersion().preRelease == null) {
213-
uri("https://repo.fvdh.dev/releases")
213+
uri("https://repo.jsinco.dev/releases")
214214
} else {
215-
uri("https://repo.fvdh.dev/snapshots")
215+
uri("https://repo.jsinco.dev/snapshots")
216216
}
217217

218218
credentials {
219-
username = System.getenv("FVDH_USERNAME")
220-
password = System.getenv("FVDH_TOKEN")
219+
username = System.getenv("JSINCO_REPO_USERNAME")
220+
password = System.getenv("JSINCO_REPO_SECRET")
221221
}
222222
}
223223
}
@@ -238,7 +238,7 @@ modrinth {
238238
versionNumber.set(project.version.toString())
239239
versionType.set("release")
240240
uploadFile.set(tasks.shadowJar)
241-
loaders.addAll("paper", "purpur")
241+
loaders.addAll("paper", "purpur", "folia")
242242
gameVersions.addAll(targetMinecraftVersions)
243243
changelog.set(System.getenv("CHANGE_LOG") ?: "No changelog provided.")
244244
}

0 commit comments

Comments
 (0)