Automatically close and promote on Nexus.
diff --git a/build.gradle b/build.gradle
index ce46900..327dc0f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -21,6 +21,7 @@
     dependencies {
         //Check for the latest version here: http://plugins.gradle.org/plugin/com.jfrog.artifactory
         classpath "org.jfrog.buildinfo:build-info-extractor-gradle:3.0.3"
+        classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.5.3"
     }
 }