Deploy wsdl / xsd's to maven repository

I have a project containing just a wsdl and xsd that I would like to deploy to a maven repository. Are there any example code snippets?

Many thanks,

Chris

I managed to get something working, I hope this is useful for other users:

apply plugin: 'maven'
 apply plugin: 'java'
apply plugin: 'eclipse'
  version = '1.0-SNAPSHOT'
groupId = 'mygroupid'
artifactId = 'myartifactid'
  artifacts {
 archives (
      new org.gradle.api.internal.artifacts.publish.DefaultPublishArtifact(
   "my-wsdl", "wsdl", "wsdl", null, new Date(), file('src/main/resources/MyWsdl.wsdl')
  )
  )
 archives (
      new org.gradle.api.internal.artifacts.publish.DefaultPublishArtifact(
   "my-xsd", "xsd", "xsd", null, new Date(), file('src/main/resources/MyXsd.xsd')
  )
  )
            }
  uploadArchives {
 uploadDescriptor = false
 repositories {
   flatDir( dirs: file('repos') )
   repositories.mavenDeployer {
          snapshotRepository( url: "http://mysnapshotrepo/" ) {
     authentication(userName: "admin", password: "xxxx")
    }
          repository( url: "http://myreleasesrepo" ) {
     authentication(userName: "admin", password: "xxxx")
    }
          pom.version = project.version
        pom.artifactId = project.artifactId
        pom.groupId = project.groupId
   }
 }
}