Skip to content

Commit

Permalink
Polish distributions.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
bamboo committed Jun 14, 2016
1 parent d482d32 commit 305f2fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions subprojects/distributions/distributions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ class ClasspathManifestPatcher {

def writePatchedFilesTo(File outputDir) {
resolveModules().each { module ->
def sourceFile = mainArtifactFileOf(module)
def outputFile = new File(outputDir, sourceFile.name)
def unpackDir = unpack(sourceFile)
def originalFile = mainArtifactFileOf(module)
def patchedFile = new File(outputDir, originalFile.name)
def unpackDir = unpack(originalFile)
patchManifestOf(module, unpackDir)
pack(unpackDir, outputFile)
pack(unpackDir, patchedFile)
}
}

Expand Down

0 comments on commit 305f2fd

Please sign in to comment.