When publishing custom Plugin at that time How to add plugin dependencies

when using gradle install,

compile 'org.slf4j:slf4j-api:1.7.7'
compile 'org.hibernate:hibernate-core:4.3.9.Final'
compile 'org.reflections:reflections:0.9.9'

testCompile 'junit:junit:4.12'



//groovy,gradle
compile gradleApi()
compile localGroovy()

uploadArchives {
repositories {

    mavenDeployer {
        mavenLocal()
        pom.version='1.0'
        pom.groupId="dddkkk"
        pom.artifactId='orm-DDLGenerator'
    }
}

}

How to add my compile plugin dependency?