Comments (2)
pluginMode是一个配置项,熟悉gradle脚本的话,你可以设置一个函数给它,gradle执行task时动态获取运行的值
def buildPlugin = project.gradle.startParameter.taskNames.contains("installDebugPlugin") // you can define any function here to read config from you build parameters and decide the mode
neptune {
pluginMode = buildPlugin // In plugin apk build mode
packageId = 0x30 // The packge id of Resources
hostDependencies = "{group1}:{artifact1};{group2}:{artifact2}" // host app resources dependencies
}
from neptune.
感谢,已解决问题
from neptune.
Related Issues (20)
- 是否支持AndroidPlugin3.2.0+Gradle5.0的编译环境? HOT 1
- Neptune技术交流
- plug 调用getPackageName获取到的是宿主包名 HOT 3
- plug的Application的attachBaseContext里面调用getApplicationContext会引起插件化库崩溃 HOT 2
- 不支持JobService? HOT 2
- 不支持 gradle 3.5+? HOT 3
- 不支持attr? HOT 5
- ContentProviderProxy1不支持openFile HOT 4
- 插件的能不能有application HOT 1
- 不支持序列化吗 HOT 1
- 如何实现HostApp与PluginApp实现通信 HOT 1
- wiki中的错误
- 如何做插件的签名认证?
- CoordinatorLayout不支持吗?
- 请问是否支持Android Q
- 请问是否支持Android X
- 现在项目还在维护吗? HOT 2
- 这个只是用在Android系统上?普通的Java应用可以吗?
- 实测该项目SDK已被谷歌play禁用了
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neptune.