Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple source jars #377

Merged
merged 2 commits into from
Nov 4, 2020

Conversation

jongerrish
Copy link
Contributor

Including multiple source jars currently does not work as SourceJarExtractor fails to overwrite META-INF/MANIFEST.MF which is present in all jars.

Fix this by having SourceJarExtractor.preWrite() return true only for directories and files that match the extraction pattern.

@nkoroste
Copy link
Collaborator

nkoroste commented Nov 4, 2020

Nice fix but wrong repo? though would be nice to upstream it while we're at it :)

@cgruber
Copy link
Collaborator

cgruber commented Nov 4, 2020

@nkoroste - why is this the wrong repo?

examples/dagger/BUILD Show resolved Hide resolved
@@ -30,7 +31,7 @@ class CoffeeApp {
companion object {
@JvmStatic
fun main(args: Array<String>) {
if (TeaPot.isEmpty()) {
if (TeaPot.isEmpty() && ChaiCup.isEmpty()) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

@cgruber cgruber merged commit c8350b7 into bazelbuild:master Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants