Reusing custom build logic / gradle and mavenCentral

View: New views
3 Messages — Rating Filter:   Alert me  

Reusing custom build logic / gradle and mavenCentral

by Pfau, Matthias :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I just wanted to reuse custom build logic in different projects. That is why I created a new project which should contain this logic. This project's jar-File could be included in several other projects via the settings file as it is described in the Userguide (chapter 25.2).

The first step in implementing this project is, to add a dependency to the target gradle release, like

    dependencies {
        compile 'org.gradle:gradle:0.6.1'
    }

Unfortunately, this is not possible because gradle is missing from mavenCentral. Is there any reason for not publishing gradle artifacts or should I create an jira issue?

Another question: Would it be a good idea to publish gradle-plugins to 'org.gradle.plugins:<plugin-name>:<plugin-version>'?
I think that we should make a decision for a custom naming scheme, which would make it easier to find plugins.

Kind Regards
Matthias


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Reusing custom build logic / gradle and mavenCentral

by Peter Niederwieser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

See http://jira.codehaus.org/browse/GRADLE-392. There is http://gradle.sourceforge.net/gradleRepo/, but as far as I can tell, it doesn't host Gradle itself, but only some of its dependencies that aren't available from Maven Central.

Cheers,
Peter

Pfau, Matthias wrote:
Is there any reason for not publishing gradle artifacts or should I create an jira issue?

Re: Re: Re[gradle-user] using custom build logic / gradle and mavenCentral

by hdockter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Jun 11, 2009, at 7:52 PM, Peter Niederwieser wrote:

>
> See http://jira.codehaus.org/browse/GRADLE-392. There is
> http://gradle.sourceforge.net/gradleRepo/, but as far as I can tell,  
> it
> doesn't host Gradle itself, but only some of its dependencies that  
> aren't
> available from Maven Central.

Our plan is to start publishing gradle jars to Maven central with 0.8.  
Gradle 0.8 will contain improved customization for pom generation  
which is something we would need for this. We have also started to  
make our build more modular which will improve the granularity of the  
gradle jars published to maven central.

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email