-
Notifications
You must be signed in to change notification settings - Fork 101
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
packageTemplate task issue #170
Comments
Can you please run Also, which version of the Lazybones Gradle plugin are you using? |
I'm using this version: classpath "uk.co.cacoethes:lazybones-gradle:1.2.4". You can see stacktrace below:
Another strange thing is that ./gradlew packageAllTemplates goes successful, but no zip archive is created. I ran this task with --debug suffix and saw the following line:
I don't know, if this connected with the first issue. |
Hm, I'm trying to build template for Android project and I have the following block of dependencies in my build.gradle file:
This may cause this issue... But without first gradle dependency nothing is working in my template application. |
It's a bug, but also an issue with naming. The plugin is looking for a directory called template-test that contains your template source. The reason that By default, the directory containing the source templates is /templates. By the sounds of it, that's empty. |
With regard to your last comment, why are you including the Android tools? I can understand putting that declaration in the template build file (which gets packaged up), but is it necessary for the template project itself? I can't imagine it causing any problems for the Lazybones plugin, though. |
I had problems with understanding of necessary directory structure for templates till I try "lazybones create lazybones-project my-lzb-templates". I can't find no information about it before in wiki, cause there said just: "Create the directory structure and files for the template". Now it's rather clear, thank you. |
You're right, there's no mention of what the conventions are for the plugin. I'll leave this issue open as both a documentation enhancement (explain the build conventions) and a bug. |
For some reason I can't zip template directory. I ran task ./gradlew packageTemplateTest and building started, but in 3-4 seconds it failed with the following message:
What am I doing wrong?
Thanks.
The text was updated successfully, but these errors were encountered: