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

fix gradle7.0+ transform #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix gradle7.0+ transform #109

wants to merge 1 commit into from

Conversation

sansecy
Copy link

@sansecy sansecy commented Sep 18, 2023

1.向gradle插件所属的ClassLoader导入android.jar和transform的输入jar
2. transform期间输出jar时正确追加原始entry,防止zip包entry大小与预期不一致

@xiaomahuang
Copy link
Collaborator

1.向gradle插件所属的ClassLoader导入android.jar和transform的输入jar 2. transform期间输出jar时正确追加原始entry,防止zip包entry大小与预期不一致

万分感谢,我们先试一下。Thanks♪(・ω・)ノ

@peerless2012
Copy link

我用4.2.2的gradle,构建时报:

java.util.zip.ZipException: zip END header not found

也是因为这个原因吗?

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.

None yet

3 participants