public static Properties getSpringBootApplicationProperties(URLClassLoader compileClassLoader) {
        URL ymlResource = compileClassLoader.findResource("application.yml");
        URL propertiesResource = compileClassLoader.findResource("application.properties");

        Properties props = YamlUtil.getPropertiesFromYamlResource(ymlResource);
        props.putAll(getPropertiesResource(propertiesResource));
        return props;
    }
public static Properties getSpringBootApplicationProperties(URLClassLoader compileClassLoader) {
        URL ymlResource = compileClassLoader.findResource("application.yml");
        URL propertiesResource = compileClassLoader.findResource("application.properties");

        Properties props = YamlUtil.getPropertiesFromYamlResource(ymlResource);
        props.putAll(getPropertiesResource(propertiesResource));
        return props;
    }
public static Properties getSpringBootApplicationProperties ( URLClassLoader compileClassLoader ) { URL ymlResource = compileClassLoader . findResource ( "application.yml" ) ; URL propertiesResource = compileClassLoader . findResource ( "application.properties" ) ; Properties props = YamlUtil . getPropertiesFromYamlResource ( ymlResource ) ; props . putAll ( getPropertiesResource ( propertiesResource ) ) ; return props ; }
Returns the spring boot configuration (supports `application.properties` and `application.yml`)
or an empty properties object if not found
Returns the spring boot configuration ( supports application . properties and application . yml ) or an empty properties object if not found