EnderCore icon indicating copy to clipboard operation
EnderCore copied to clipboard

Allow "gradle install" to install into local Maven repo

Open HenryLoenwind opened this issue 9 years ago • 5 comments

HenryLoenwind avatar Oct 08 '15 14:10 HenryLoenwind

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

tterrag1098 avatar Oct 26 '15 02:10 tterrag1098

'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.

HenryLoenwind avatar Oct 26 '15 03:10 HenryLoenwind

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

tterrag1098 avatar Oct 26 '15 03:10 tterrag1098

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.

HenryLoenwind avatar Oct 26 '15 03:10 HenryLoenwind

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

kylev avatar Aug 14 '16 23:08 kylev