F-droid build fails due to `core-xxx.jar` being removed during scan
See original GitHub issueHi
I Have an app that I’m trying to get released on f-droid, which requires all libraries to be fully open source. and it doesn’t allow pre-built libraries (jar files etc.) . currently my build fails due to core-202108261754.jar
being removed during scan and remove phase of f-droid build, which seems to be provided as a prebuilt jar file instead of being built from source. here is the short log:
> Task :notifee_react-native:extractReleaseAnnotations FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':notifee_react-native:extractReleaseAnnotations'.
> Error while evaluating property 'hasAndroidAnnotations' of task ':notifee_react-native:extractReleaseAnnotations'
> Could not resolve all artifacts for configuration ':notifee_react-native:releaseCompileClasspath'.
> Failed to transform core-202108261754.jar (app.notifee:core:202108261754) to match attributes {artifactType=android-classes-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-api}.
> Could not find core-202108261754.jar (app.notifee:core:202108261754).
Searched in the following locations:
file:/builds/meypod/fdroiddata/build/com.github.meypod.al_azan/node_modules/@notifee/react-native/android/libs/app/notifee/core/202108261754/core-202108261754.jar
You can see the full build log here: https://gitlab.com/meypod/fdroiddata/-/jobs/2891520735
what is this core file and how can I resolve this issue ? do you have any suggestion ?
Issue Analytics
- State:
- Created a year ago
- Comments:22 (8 by maintainers)
Top Results From Across the Web
How to integrate Zxing Barcode Scanner without installing the ...
To define ZXing to be a library in your own project, right click your project in the workspace and select Build path>Configure build...
Read more >Log4j CVE-2021-44228 - Axway Community
We're using API Gateway 7.7. But I would say it is applicable to every tool running on a JVM container, with compromised log4j2...
Read more >https://ec-mof.njit.edu/jmol/CHANGES.txt
___" from the line for the # previous release; failure to do remove this line ... Jmol due to the redefinition of the...
Read more >Android Developer Fundamentals Course – Concepts
Developers choose to develop for Android in order ... ProGuard (provided in Android Studio), which detects and removes unused classes, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Oh that’s great! That’s basically what I was thinking, and I’m glad it worked out for you. Always happy to see more open source stuff, and as mentioned I am a fan of F-Droid 😃
Cheers
What a great result! That’s cool - now f-droid-targeting apps have a maintained notification library, we’ll get the PR mainlined in time (post-vacations) I’m sure, thanks for putting it together