jvm-brotli icon indicating copy to clipboard operation
jvm-brotli copied to clipboard

Does this work with Gradle as Maven

Open ashish-sharma09 opened this issue 5 years ago • 1 comments

On Gradle it does not seem to be downloading the native library. I had to include following dependency explicitly to get it working on my machine

    implementation group: 'com.nixxcode.jvmbrotli', name: 'jvmbrotli', version: '0.2.0'
    implementation group: 'com.nixxcode.jvmbrotli', name: 'jvmbrotli-darwin-x86-amd64', version: '0.2.0'

However, the example project works fine on my machine.

Is it expected to work with Gradle the same way it works with Maven?

ashish-sharma09 avatar Aug 25 '20 10:08 ashish-sharma09

I tried to use the library as gradle dependency in my android project. @ashish-sharma09 It does not download the native library.

BrotliLoader.isBrotliAvailable() returns false

I tried adding

implementation group: 'com.nixxcode.jvmbrotli', name: 'jvmbrotli', version: '0.2.0'
implementation group: 'com.nixxcode.jvmbrotli', name: 'jvmbrotli-natives', version: '0.2.0'

Can you please help solve the problem?

rohit5ram avatar May 13 '21 08:05 rohit5ram