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`
id("io.freefair.lombok") version "8.+"
`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"
version = "0.0.1-alpha.8"
version = "0.0.1-alpha.9"
repositories {
maven {

View file

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

View file

@ -148,7 +148,7 @@ public class FrogLoaderImpl implements FrogLoader {
@Override
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() {

View file

@ -35,7 +35,7 @@ public class UnfulfilledDepPage extends JScrollPane {
} else {
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 ")
.append(