From 64b06f8e9a22ed91e338e5dda005256a0210f7c5 Mon Sep 17 00:00:00 2001 From: HenryLoenwind Date: Thu, 8 Oct 2015 16:24:26 +0200 Subject: [PATCH] Allow "gradle install" to install into local Maven repo --- build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle b/build.gradle index ded2beb4..2c810e2c 100644 --- a/build.gradle +++ b/build.gradle @@ -110,6 +110,7 @@ if (JavaVersion.current().isJava8Compatible()) { } build.dependsOn sourceJar, deobfJar, apiJar, javadoc +install.dependsOn build publishing { tasks.publish.dependsOn 'build' @@ -130,6 +131,12 @@ publishing { } } +artifacts { + archives sourceJar + archives apiJar + archives deobfJar +} + curse { dependsOn 'reobf'