Closed franck-serot closed 3 years ago
Refer to issue https://github.com/psambit9791/jDSP/issues/5
I tried to exclude the dependencies with the following gradle configurations :
implementation('com.github.psambit9791:jdsp:0.5.0') {
exclude group: 'org.apache.maven.surefire', module: 'common-java5'
exclude group: 'org.apache.maven.surefire', module: 'surefire-api'
}
But I add the following error :
Execution failed for task ':mylibrary:mergeDebugAndroidTestJavaResource'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> More than one file was found with OS independent path 'META-INF/DEPENDENCIES'.
I need to evaluate the jDSP library with AndroidTest module. Could you please help me to solve this problem ? Best regards, Franck
I found the solution. In the gradle file, add the following configuration in the android section :
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE.md'
exclude 'META-INF/LICENSE-notice.md'
}
Hi I tried to use the jDSP 0.5.0 library in an Android projet. I added the dependencies :
implementation('com.github.psambit9791:jdsp:0.5.0')
But I had the following error :I tried to exclude the dependencies with the following gradle configurations :
or
But I add the following error :
Could you please help me to solve this problem ? Best regards, Franck