From e4ff767f450f34b31245420f8296b1c9809c6d64 Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Fri, 26 Dec 2014 21:50:15 +0100 Subject: [PATCH] Support installation of artifacts to local maven repo Apply Gradle's 'maven' plugin in order to support `./gradlew install` task, similar to `mvn install` for building and copying artifacts to the users local ~/.m2 repository. --- ethereumj-core/README.md | 4 ++++ ethereumj-core/build.gradle | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ethereumj-core/README.md b/ethereumj-core/README.md index 9e6a886f..f713e423 100644 --- a/ethereumj-core/README.md +++ b/ethereumj-core/README.md @@ -32,6 +32,10 @@ Use IDEA 14 or better and import project based on Gradle sources. Note that in order to build the project without errors in IDEA, you will need to run `gradle antlr4` manually. +#### Install artifacts into your local `~/.m2` repository + +Run `./gradlew install`. + #### Publish ethereumj-core builds _TODO: integrate bintray gradle plugin_ diff --git a/ethereumj-core/build.gradle b/ethereumj-core/build.gradle index 95eabfbb..95cd05a6 100644 --- a/ethereumj-core/build.gradle +++ b/ethereumj-core/build.gradle @@ -2,6 +2,7 @@ plugins { id 'application' id 'eclipse' id 'jacoco' + id 'maven' id 'com.github.johnrengelman.shadow' version '1.2.0' id 'me.champeau.gradle.antlr4' version '0.1' id 'com.github.kt3k.coveralls' version '2.0.1x' @@ -11,6 +12,7 @@ wrapper.gradleVersion = '2.2.1' sourceCompatibility = 1.7 +group = 'org.ethereum' version = '0.7.15-SNAPSHOT' mainClassName = 'org.ethereum.Start'