clarify error string, update meta-update plugin
All checks were successful
Publish to snapshot maven / build (push) Successful in 37s

This commit is contained in:
moehreag 2024-06-17 20:35:59 +02:00
parent 66bd53ca71
commit de1c1bb744
4 changed files with 5 additions and 5 deletions

View file

@ -3,11 +3,11 @@ plugins {
`java-library` `java-library`
id("io.freefair.lombok") version "8.+" id("io.freefair.lombok") version "8.+"
`maven-publish` `maven-publish`
id("dev.frogmc.meta-update") version "0.0.1-alpha.6" id("dev.frogmc.meta-update") version "0.0.1-alpha.7"
} }
group = "dev.frogmc" group = "dev.frogmc"
version = "0.0.1-alpha.8" version = "0.0.1-alpha.9"
repositories { repositories {
maven { maven {

View file

@ -1,6 +1,6 @@
plugins { plugins {
java java
id("dev.frogmc.phytotelma") version "0.0.1-alpha.10" id("dev.frogmc.phytotelma") version "0.0.1-alpha.11"
} }
repositories { repositories {

View file

@ -148,7 +148,7 @@ public class FrogLoaderImpl implements FrogLoader {
@Override @Override
public Optional<ModProperties> getModProperties(String id) { public Optional<ModProperties> getModProperties(String id) {
return mods.values().stream().flatMap(m -> m.values().stream()).filter(m -> m.id().equals(id)).findFirst(); return mods.values().stream().map(m -> m.get(id)).filter(Objects::nonNull).findFirst();
} }
private Collection<String> collectModIds() { private Collection<String> collectModIds() {

View file

@ -35,7 +35,7 @@ public class UnfulfilledDepPage extends JScrollPane {
} else { } else {
description.append("a Mod with id ").append(entry.dependency()); description.append("a Mod with id ").append(entry.dependency());
} }
description.append(" with a version matching range:\n").append(entry.range().toString(" or ")).append("\nNo version is currently available."); description.append(" with a version matching range:\n").append(entry.range().toString(" or ")).append("\nNo matching version is currently available.");
} }
description.append("\nSuggested Solution: Install ") description.append("\nSuggested Solution: Install ")
.append( .append(