Skip to content

Commit

Permalink
Hangar works
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Sep 21, 2023
1 parent 545dc89 commit 8a4e232
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ internal abstract class PluginDownloadServiceImpl : PluginDownloadService {
val platform = plugin.computeIfAbsent(platformType.name) { PluginVersions() }
val version = platform[apiVersion] ?: PluginVersion(
fileName = "$apiPlugin-${platformType.name}-$apiVersion.jar",
displayName = "hangar:$apiPlugin:${platformType.name}:$apiVersion"
displayName = "hangar:$apiPlugin:$apiVersion:${platformType.name}"
)

val targetDir =
Expand Down
3 changes: 1 addition & 2 deletions tester/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ runPaper.folia.registerTask()
val paperPlugins = runPaper.downloadPluginsSpec {
modrinth("carbon", "2.1.0-beta.21")
github("jpenilla", "MiniMOTD", "v2.0.13", "minimotd-bukkit-2.0.13.jar")
github("jpenilla", "squaremap", "v1.2.0", "squaremap-paper-mc1.20.1-1.2.0.jar")
// hangar("squaremap", "1.2.0")
hangar("squaremap", "1.2.0")
url("https://download.luckperms.net/1515/bukkit/loader/LuckPerms-Bukkit-5.4.102.jar")
}

Expand Down

0 comments on commit 8a4e232

Please sign in to comment.