edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samantha Chan <chanskw...@gmail.com>
Subject Re: How to add Edgent as a dependency using gradle
Date Mon, 24 Apr 2017 13:15:40 GMT
Thanks Dale.  I will give this a try.

On Mon, Apr 24, 2017 at 8:56 AM, Dale LaBossiere <dml.apache@gmail.com>
wrote:

> Hi,
>
> Edgent does not publish to MavenCentral.
>
> A while ago someone contributed changes to support publishing into
> mavenLocal.
>
> $ ./gradlew publishToMavenLocal
>
> Then…
>
> repositories {
>   mavenLocal()
> }
>
> And specify dependencies like: org.apache.edgent:edgent.api.topology:1.1.0
>
> Alternatively you can specify a dependency on a local jar.  Something like
> this I think
>
> dependencies {
>   compile files(‘path-to-jar’)
> }
>
> Hope that helps
> — Dale
>
> > On Apr 22, 2017, at 9:56 AM, Samantha Chan <chanskw.01@gmail.com> wrote:
> >
> > Hi -
> >
> > I am building an application that uses Apache Edgent.  I am trying to use
> > Gradle to build my application.  In Gradle, one can specify dependencies
> > like this:
> >
> > repositories {
> >    mavenCentral()
> > }
> >
> > dependencies {
> >    compile group 'ca.uhn.hapi', name: 'hapi-base', version: '2.2'
> > }
> >
> > This will download my dependency from Maven and I can use it to build my
> > project.
> >
> > Is Apache Edgent published to Maven Central?  What's the best way to
> > include Apache Edgent dependency in my gradle build script?
> >
> > Thanks...
> > Samantha
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message