[GRADLE-1943] Base plugin required for building and publishing artifacts, while documentation suggest otherwise Created: 18/Nov/11 Updated: 04/Jan/13 Resolved: 21/Nov/11
|Reporter:||nitko nigdje||Assignee:||Szczepan Faber|
I have a subproject with a script similar to this one here:
Let's pretend that this project builds customized zip archives. Notice there isn't any "apply plugin: java".
build'Configuration' and upload'Configuration' do not exist unless one imports base plugin with "apply plugin: base". "Artifact management" chapter of documentation is not clear about this issue. How it is written this should work without any plugin.
Importing base plugin makes build'Configuration' and upload'Configuration' tasks available, however those tasks, and 'myArchive' task from script are hidden from list given by running "gradle tasks"
|Comment by Szczepan Faber [ 21/Nov/11 ]|
I've patched the docs. See latest snapshot: http://gradle.org/releases/latest/docs/userguide/userguide_single.html#N11870
Thanks for reporting!