Use a better AndroidManifest.xml finder#1543
Use a better AndroidManifest.xml finder#1543yDelouis merged 1 commit intoandroidannotations:developfrom
Conversation
There was a problem hiding this comment.
I think you could add a method matches(String sourceGenerationFolder in the implementations of AndroidManifestFinderStrategy to avoid the if..else if..else. That way, you could create a list a AndroidManifestFinderStrategy, iterate it to find the right strategy. The constants XXX_GEN_FOLDER would be a inner constant of each strategy.
|
This is a great improvement. I have only one comment though. Could you address it ? |
This new algorithm uses conventional paths of various build systems.
ef0490f to
a411a69
Compare
|
Done. Is this what you thought? |
|
Yes, but I wouldn't have passed the variable |
|
@yDelouis then we should also pass it in the |
|
You're right. |
…inder Use a better AndroidManifest.xml finder
Implements #1478.