• Andy Wilkinson's avatar
    Ensure that local file dependencies are packaged by the Gradle plugin · 283f1b16
    Andy Wilkinson authored
    Prior to this commit, a dependency on a local file was not being
    packaged by the Gradle plugin. This was a regression from the behaviour
    in 0.5.0.M6 caused by the move to using a ResolvedConfiguration and
    ResolvedArtifacts (4f677bec) to gain access to an artifact's type so
    that non-jar artefacts could be filtered out. Since then, the approach
    to filtering has been changed (38585bf3) and access to an artifact's
    type is no longer needed.
    
    This commit updates ProjectLibraries to restore its use of a
    FileCollection rather than a ResolvedConfiguration when getting hold of
    the files in a configuration. This means that the resulting jar will
    now include dependencies that aren't resolved, such as those that are
    provided as local files. The filtering that is applied to the files
    is unaffected by this change and only files that are zip files will be
    included.
    
    Fixes #672
    283f1b16
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...