-
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
Usage documentation incorrect #80
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Thanks for raising concern! So in general, the documentation properly references how the plugin should be applied, and it should take pleace where the
That means your project buildscript didn't have any other repository than gradle plugin portal and the solution would be adding to your buildscript {
repositories.google()
}
plugins {
id "com.starter.easylauncher" version "3.3.0"
} I'll mention that in a Readme. But basically that's a limitation of the new And just to explain: it started to work after applying the plugin to your root projects's Regarding the
Sample projects here are a bit special. I had to do a bit of gradle magic to be able to apply the plugin in a compiled form. Such usage exceeds the new |
Correct on the error I get if I try to include the plugin block in But if its in the root |
You're right. It won't work when applied to a root project - there are no icons that can be processed. And as the plugin is registerd on the project classpath you will be able to use the However, I might have misled you with recommended way of applying the plugin in such case. I've rembered that having multiple builscripts in your project isn't considered a good practice. So instead of directly adding to your project
there are 2 more conventional ways of solving the issue:
so the plugin gets resolved in root project, where it has google repository available, but it is applied only to single
Here's an example application: afaucogney's repository |
@mateuszkwiecinski That makes more sense, I guess I've kind of found a half way between the legacy way and the new way by . Instead of the
block I've added the I didn't realise there was so many ways to do it. Great tip on the
I think its safe to say I was |
@mateuszkwiecinski I could be wrong but I think there's issues with the readme
It says:
I believe this is wrong, this only works in the root
build.gradle
(in groovy at least)then in
app/build.gradle
you need to addapply plugin: 'com.starter.easylauncher'
which isn't documented but is in all your sample projects.
The text was updated successfully, but these errors were encountered: