android-native-dependencies
android-native-dependencies copied to clipboard
Gradle plugin for resolving and downloading Android native dependencies (.so)
Plugin is broken for Gradle 7.0 because pf property annotation > Some problems were found with the configuration of task ':PnRGateService:resolveNativeDependencies' (type 'NativeDependenciesResolverTask'). > - Type 'com.nabilhachicha.nativedependencies.task.NativeDependenciesResolverTask' property 'ARM64_FILTER' is...
Such as: ``` groovy native_dependences { debugArtifact 'artifact1' releaseArtifact 'artifact2' artifact 'artifact3' } ``` The artifacts could be copied into jniLibs of the corresponding buildType. (e.g. `src/debug/jniLibs`) I got a...
add support for the so file packaged as jar format
Dev
1、Do not using project.delete {jniLibs},because this folder maybe have .so. and delete the current apk. 2、To download the apk directly into so file save, this way can more practical.
I find the .so files less than that the maven downloaded. can this plugin handle transitive dependencies?
If a native dep is not found, it should fail the build - or more preferable, have a flag to specify whether to fail on missing dependencies.
If we only upload and replace .so files with new ones, but not change to a new version, the android-native-dependencies won't update the files until I remove the cache files...
blind fix, I dont have dev env
I have not tested it (no idea about gradle plugin development) but maybe it works
Any suggestions on how to approach this problem? http://stackoverflow.com/questions/24314983/how-to-exclude-duplicate-c-shared-libraries-so-in-a-multi-project-android-bui/26079631