Skip to content

Commit

Permalink
Make patchKotlinCompilerEmbeddable depend on classpathManifest (gradl…
Browse files Browse the repository at this point in the history
…e#8734)

This fixes gradle/gradle-private#1930

Previously, `:kotlinCompilerEmbeddable:patchKotlinCompilerEmbeddable` doesn't depends
on `:kotlinCompilerEmbeddable:classpathManifest`, which may result in the patched kotlin jar
not including classpath property files. This commit fixes this issue by making implicit dependencies.
  • Loading branch information
blindpirate committed Mar 11, 2019
1 parent 0b0c282 commit ce2f229
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -55,9 +55,8 @@ tasks {
dependenciesIncludes.set(mapOf(
"jansi-" to listOf("META-INF/native/**", "org/fusesource/jansi/internal/CLibrary*.class")
))
additionalFiles = fileTree(classpathManifest.get().manifestFile.parentFile) {
include(classpathManifest.get().manifestFile.name)
}
additionalFiles = files(classpathManifest).asFileTree

outputFile.set(jar.get().archiveFile)
}

0 comments on commit ce2f229

Please sign in to comment.