mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-16 12:31:59 +01:00
Don't rename hk2 metadata file.
This commit is contained in:
parent
7fe50d2171
commit
1ea88615c7
@ -180,7 +180,6 @@ task prepareSource(type: Sync) {
|
||||
|
||||
compileJava {
|
||||
source = prepareSource.outputs
|
||||
options.compilerArgs << '-Aorg.glassfish.hk2.metadata.location=META-INF/hk2-locator/multiverse-core'
|
||||
}
|
||||
|
||||
compileKotlin {
|
||||
|
@ -117,14 +117,10 @@ public final class PluginInjection {
|
||||
) {
|
||||
return Try.of(() -> serviceLocator.getService(DynamicConfigurationService.class))
|
||||
.mapTry(dynamicConfigurationService -> {
|
||||
var descriptors = dynamicConfigurationService
|
||||
dynamicConfigurationService
|
||||
.getPopulator()
|
||||
.populate(new ClasspathDescriptorFileFinder(
|
||||
plugin.getClass().getClassLoader(),
|
||||
plugin.getName()
|
||||
));
|
||||
throw new IllegalStateException(descriptors.toString());
|
||||
//return serviceLocator;
|
||||
.populate(new ClasspathDescriptorFileFinder(plugin.getClass().getClassLoader()));
|
||||
return serviceLocator;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user