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

分享一下replugin 3.1 的aar #1080

Open
jeesk opened this issue Oct 30, 2024 · 0 comments
Open

分享一下replugin 3.1 的aar #1080

jeesk opened this issue Oct 30, 2024 · 0 comments

Comments

@jeesk
Copy link

jeesk commented Oct 30, 2024

  1. 下面的依赖是宿主依赖的插件,请修改为replugin-host-lib-release.aar implementation fileTree(include: ['*.aar'], dir: 'libs')

replugin-host-lib-release.zip

  1. 下面是插件(你自己的插件项目)的依赖: 请修改为replugin-plugin-lib-release-3.1.0.aar, 然后在插件的依赖的地方加入
    implementation fileTree(include: ["*.aar"], dir: 'libs')
    replugin-plugin-lib-release-3.1.0.zip

  2. 下面是gradle 的插件, 1个是打包宿主的, 1个是打包插件的. 在项目根目录加入:

 classpath fileTree(include: ["*.jar"], dir: 'libs/plugin')
 // 下面两个插件是下面2个插件的依赖, 必须加上. 
 classpath 'org.javassist:javassist:3.18.2-GA'
  classpath 'net.dongliu:apk-parser:2.2.0'

下面的2个插件后缀修改为.jar.

replugin-host-gradle-3.1.0.zip
replugin-plugin-gradle-3.1.0.zip

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

No branches or pull requests

1 participant