You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
}
开发过程中经常需要插件工程独立运行,此时需要将pluginMode的值设置为false
开发完成后希望在宿主工程中运行,编译时又需要将pluginMode的值改为true
请问有没有什么方案可以动态设置该值,在debug时自动判断为false,其他方式打包判断为true
The text was updated successfully, but these errors were encountered: