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 <[email protected]> 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