-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mipmaps in submodule #288
Comments
edit: it's because I moved mipmaps to separate module from app module |
steps to reproduce: /app - /common-assets contains application mipmaps / launcher icon. In this case EasyLauncher is not able to show overlay texts over Launcher icon. When I moved /mipmaps folder back to /app module, plugin start working again. |
Yeah, unfortunately that's an expected behaviour. The plugin cannot access files outside the module it was applied to. That's by design, otherwise you'd open yourself to Gradle caching issues. If you tried to work around the limitation and tried to work with merged resources, it's not going to be possible as merging resources happens too late, after the plugin can manipulate resources. So either Do I understand correctly "no resources" in "app module with Kotlin code only - no resources" means no resources manually added to the project, but all Android Framework resources, all generated resources and all merged resources are still present there? It's not a purely Kotlin-only module, right? |
But my fault, to be clear I just moved colors/drawable/shapes/etc but layouts and strings are still present, so not all resources are gone. Use case is to split one huge monolith app into modules + possibility to reuse company branding (resources) in other apps when it will be necessary. As a workaround, I moved mipmaps back to /app module and it works as expected again. I expected, when I can use resources in layouts/kotlin code in main /app module, that easylauncher will be able to touch this mipmaps too :) |
Hi, I just updated from
to version 5.0.0
Using Windows, build variant: stagingDebug, but it don't show any overlay, just standard icon.
I testing on Google Pixel 3a, Android 12L now / Xiaomi MI8; Andoid 10. Same result on both.
If I removed font, result is same.
compileSdkVersion 32
ext.kotlin_version = '1.6.10'
classpath 'com.android.tools.build:gradle:7.1.2'
distributionUrl=https://services.gradle.org/distributions/gradle-7.4-all.zip
The text was updated successfully, but these errors were encountered: