SleepyTrousers / EnderCore

Library mod used by EnderIO, EnderZoo, and others
Creative Commons Zero v1.0 Universal
50 stars 71 forks source link

Allow "gradle install" to install into local Maven repo #22

Open HenryLoenwind opened 8 years ago

tterrag1098 commented 8 years ago

I'm confused as to what this accomplishes exactly. You could do the same by just having a mavendir property which points to somewhere on your PC and then running publish

HenryLoenwind commented 8 years ago

'just' is the word. With this it'll work out of the box. Nothing to do. And (see EIO PR) at also can pull out of the local Maven cache without having to do anything, or configure anything.

tterrag1098 commented 8 years ago

How does it know where to put the maven repo? I have never used the install task.

HenryLoenwind commented 8 years ago

It uses the local Maven cache. That has a default location, and I'm sure there are env vars to relocate it. And "mavenLocal()" adds it to the sources list.

kylev commented 7 years ago

Would this be distinct from the publishToMavenLocal target? I think that already works.