Daer all

trying to deploy and artifact I get this error, how I can solve this issue in Gradle version 2.2.1

```
apply plugin: 'maven-publish'
        defaults {
            publications ('mavenJava')
        }

* What went wrong:          
Extension of type 'PublishingExtension' does not exist. Currently registered extension types: [DefaultExtraPropert
iesExtension, DefaultArtifactPublicationSet_Decorated, ReportingExtension_Decorated, DefaultProjectSourceSet_Decor
ated, DefaultBinaryContainer_Decorated]

```