Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/tools/java_resource_extractor/resource_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ def IsValidPath(path):
# allow META-INF/services at the root to support ServiceLoader
if dirs[:2] == ['meta-inf', 'services']:
return True

# allow META-INF/*.version files to support AS Layout Inspector
if dirs[:1] == ['meta-inf'] and filename.endswith('.version'):
return True

return not any(dir in EXCLUDED_DIRECTORIES for dir in dirs)


Expand Down