mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 09:07:37 +00:00
Plex 0.8
This commit is contained in:
parent
1d9662acde
commit
afd793cdba
@ -38,7 +38,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = "dev.plex"
|
group = "dev.plex"
|
||||||
version = "0.8-SNAPSHOT"
|
version = "0.8"
|
||||||
description = "Plex"
|
description = "Plex"
|
||||||
|
|
||||||
shadowJar {
|
shadowJar {
|
||||||
|
@ -50,8 +50,8 @@ public class ModuleManager {
|
|||||||
throw new ModuleLoadException("Plex module main class can't be null!");
|
throw new ModuleLoadException("Plex module main class can't be null!");
|
||||||
}
|
}
|
||||||
|
|
||||||
String description = internalModuleConfig.getString("description", "A plex module");
|
String description = internalModuleConfig.getString("description", "A Plex module");
|
||||||
String version = internalModuleConfig.getString("version", "0.1");
|
String version = internalModuleConfig.getString("version", "1.0");
|
||||||
|
|
||||||
PlexModuleFile plexModuleFile = new PlexModuleFile(name, main, description, version);
|
PlexModuleFile plexModuleFile = new PlexModuleFile(name, main, description, version);
|
||||||
Class<? extends PlexModule> module = (Class<? extends PlexModule>) Class.forName(main, true, loader);
|
Class<? extends PlexModule> module = (Class<? extends PlexModule>) Class.forName(main, true, loader);
|
||||||
@ -109,5 +109,4 @@ public class ModuleManager {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user