Giter Club home page Giter Club logo

android-native-dependencies's People

Contributors

nhachicha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-native-dependencies's Issues

Could you change the lib directory?

Hi, your android-native-dependencies is great. Thanks for sharing.
I have found that in copyToTarget you use the directory:
"$project.projectDir"+File.separator+
"src"+File.separator+"main"+File.separator+
"jniLibs"+File.separator+"$architecture"
However, if i change the android sourceset, that is not right, you may use jniLibs.srcDirs which is better.

copyToTarget function appends "lib" to file name.

Hi,

Great plugin!

I found that when libs are copied to the jniLibs directory, the .so file names are appended with "lib". So if the file name was originally "test.so", it becomes "libtest.so".

This is leading to linkage problems. Is there any reason you need to append "lib" to the filenames?

Thanks!

Gradle 7.0 compatibility

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 missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:

    1. Add an input or output annotation.
    2. Mark it as @internal.

Is this plugin still maintained? If I have a pull request will it be merged?

Unsupported major.minor version 52.0

I get in two machines (dev and build server):

Build failed :|
Unable to initialize project data from Gradle build file:

A problem occurred evaluating project ':com.nutiteq.advancedmap3'.
> com/nabilhachicha/nativedependencies/NativeDependenciesPlugin : Unsupported major.minor version 52.0

Same works in another machine (with Java 1.8). Perhaps the machines have older JDK, and your build is with newer JDK? Can you make the plugin to work even if developer has older Java versions?

Should be able to define artifacts for specific build types

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')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.