• Andy Wilkinson's avatar
    Fix Gradle repackaging so it is only performed on the desired jars · 4be688aa
    Andy Wilkinson authored
    The logic that determined whether or not the repackaging action should
    be applied to a particular jar task was broken and caused problems
    when a custom RepackageTask was used in a project's build.
    
    This commit updates the logic so that repackaging will be applied:
    
     - To the default jar task if RepackageTask.withJarTask is null
     - To a jar task if it is equal to RepackageTask.withJarTask
     - To a jar task if its name is equal to RepackageTask.withJarTask
    
    Repackaging is not applied if:
    
     - RepackageTask.enabled is false
    
    Numerous integration tests have been added to verify the repackaging
    behaviour.
    
    Fixes #1204
    4be688aa
Name
Last commit
Last update
..
classifier-extension.gradle Loading commit data...
classifier.gradle Loading commit data...
custom-version-management.gradle Loading commit data...
custom-versions.properties Loading commit data...
flatdir.gradle Loading commit data...
foo.jar Loading commit data...
install-app.gradle Loading commit data...
installer-io.gradle Loading commit data...
installer.gradle Loading commit data...
main-in-run.gradle Loading commit data...
nojar.gradle Loading commit data...
repackage.gradle Loading commit data...
starter-dependencies.gradle Loading commit data...
war-packaging.gradle Loading commit data...