On 08/11/2011, at 7:37 AM, Ricardo Mayerhofer wrote:
> Hi all,
> I'm trying to move a plugin from buildSrc to a standalone project, but I'm
> getting the following error:
> Could not find property 'DeployPlugin' on root project 'deploy'.
>
> I've created a DeployPlugin.properties inside
> src\main\resources\META-INF\gradle-plugins with the following content:
> implementation-class=DeployPlugin. Then I compiled the project to a jar, and
> moved it to a folder along with the main project.
>
> Then I added to my main build script:
>
> buildscript {
> dependencies { fileTree(dir: 'lib', include: '*.jar') }
> }
This should be:
buildscript {
dependencies {
classpath fileTree(...)
}
}
>
> apply plugin: DeployPlugin
>
> Any ideas?
>
> Thanks
>
> Ricardo
>
>
> --
> View this message in context:
> http://gradle.1045684.n5.nabble.com/Moving-plugin-to-a-standalone-project-tp4972363p4972363.html
> Sent from the gradle-user mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
--
Adam Murdoch
Gradle Co-founder
http://www.gradle.org
VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting
http://www.gradleware.com