android-native-dependencies icon indicating copy to clipboard operation
android-native-dependencies copied to clipboard

Should be able to define artifacts for specific build types

Open dnkoutso opened this issue 10 years ago • 1 comments

Such as:

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 PR almost ready that allows to do debug_native_dependencies and release_native_dependencies but that doesn't seem ideal.

Perhaps even compile jniLib('artifact') so we can use debugCompile jniLib('artifact')

dnkoutso avatar Dec 02 '14 02:12 dnkoutso

+1

jorgevila avatar Oct 10 '17 16:10 jorgevila