Rename shadow jar produced by shadow plugin to original artifact name : <p>I am using gradle shadow plugin to build my uber jar.</p>

<p>build.grade file looks like:</p>

<pre><code>buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.2'
    }
}

apply plugin: 'com.github.johnrengelman.shadow'


dependencies {
   compile "com.amazonaws:aws-lambda-java-events:1.3.0"

}

assemble.dependsOn(shadowJar)
</code></pre>

<p>It produces following jars in build/libs folder.</p>

<pre><code>myProject-1.0.0-SNAPSHOT.jar
myProject-1.0.0-SNAPSHOT-all.jar '//uber jar
</code></pre>

<p>I want to replace original jar with uber jar. How do i do this?</p>
