Closed darrentaft closed 7 months ago
Hi @darrentaft,
It's great to see that you're utilizing AppSweep to scan your app for security vulnerabilities. However, we're sorry to hear that you're encountering issues with our Gradle plugin. Can you kindly inform us of the versions you're using for com.android.library
and org.jetbrains.kotlin.android
?
Additionally, sometimes Gradle caches plugins and dependencies, so have you attempted to invalidate your Android Studio and Gradle caches, and then retry to sync your Gradle project?
We're here to help you resolve any issues you may be experiencing, so please don't hesitate to reach out to us for further assistance.
We don't specify a version on those plugins: com.android.library is inherited from the top level gradle version 8.1.1 that I already mentioned. org.jetbrains.kotlin.android comes from org.jetbrains.kotlin:kotlin-gradle-plugin for which we're using version 1.9.10 I have already tried the "invalidate caches" option in Android Studio.
Thanks
Hi @darrentaft,
we tried to reproduce the problem by creating a similar project structure as you have, but unfortunately, we are not able to reproduce the problem.
Is it possible to share the full project where you have the problem, or a minimal project where you can reproduce it?
I am also a DexGuard customer. On further investigation, I've found that it's specifically the combination of DexGuard and AppSweep that causes the build to fail. To repro: Create a new project in Android Studio - Empty Activity will be fine. Add a library module to it and include it as a dependency in the app module. The project will build successfully. Add AppSweep to it. It will still build successfully. Add DexGuard to it. It'll fail with the above error. I can provide the failing sample application, but obviously can't attach it here due to the inclusion of DexGuard - let me know where to send it.
Thank you for providing additional information. Below is my email address. Could you please send me the sample project in a zipped format via email?
foad<DOT>jafarinejad<AT>guardsquare<DOT>com
I don't have the same issue, but I have an error too when using DexGuard (9.4.16) + latest appsweep version. Everything was working well with AppSweep 1.4.1 but now, I have different issues (with the last release + the previous one).
Any news on this issue and others maybe ?
Hi @AntonyARHS, can you make a new issue with your error message and the details, please? We will look into it asap.
Any updates on this please? It's still failing.
Hi @darrentaft, we identified a potential reason for this and are working on it at the moment. I'll update you once this is released.
Hi @darrentaft ,
Thanks for using AppSweep Gradle plugin. We just released an update to version 1.5.3, that should fix the issue. Could you please give it another try and let us know whether this solves your problem?
Thanks, that has fixed the sync error however I cannot run the uploadToAppSweep task - it complains about none of my libraries matching, as I don't have the same flavors defined in my libraries as those in my app (as they're not relevant to the modules).
I saw the updated documentation that says I now also need to define a "configuration" for each module I include. I'm not sure why this is needed (as the project compiles/runs without it being defined) , however specifying "default" for this value causes my project to fail to even build now (as none of the classes defined in my libraries are available to the app module). I've failed to find a value for "configuration" that works. Are you able to advise?
Sorry to hear you are still facing an issue @darrentaft.
We are working on it and we will get back to you as soon as we have some results.
I just downgraded to 1.5.2
for now, to overcome this blocker.
Hi @darrentaft and @ArcherEmiya05,
We have released an update to version 1.5.4. Could you try it again and let us know if the issue has been resolved?
Hi @darrentaft and @ArcherEmiya05,
We have released an update to version 1.5.4. Could you try it again and let us know if the issue has been resolved?
Yup I am actually frequently checking for some update here, will try to include 1.5.4
on our upcoming next build later.
Success - build completed and uploaded automatically! Many thanks.
I'm writing to inform you that we are closing this issue as we have addressed the problem that was reported. We have conducted thorough testing to ensure that the solution is working as expected and we have not encountered any further issues.
If you encounter any related problems or have any further questions, please do not hesitate to open a new issue. We are always here to assist you.
We would like to express our gratitude for your valuable feedback and for using the AppSweep Gradle plugin. Your contributions are crucial to our continuous improvement.
I have a project with 1 app module, and 2 library modules. The only lines I've changed in my project are to add:
as the last entry in the plugins block in my app/build.gradle
and:
later in the file.
This results in the gradle sync failing, specifically on the 'com.android.library' line within one of my submodules:
I'm using Gradle 8.1.1. Any ideas?
The error is: