ysb33r / ivypot-gradle-plugin

Ivypot is a Gradle plugin to help managing a local off-line repository for builds in restricted environments
Apache License 2.0
45 stars 14 forks source link

Type of Ivy repository #14

Closed rangzen closed 7 years ago

rangzen commented 8 years ago

Hello,

With Gradle 2.12 and IvyPot 0.3.7, unlike in https://github.com/ysb33r/ivypot-gradle-plugin#usage I have to specify the Ivy type to use it, like that :

repositories {
  ivy {
    url '/path/to/repo'
    layout 'ivy'
  }
}

Does IvyPot use an old default value? Does the documentation need to be updated?

Thank you.

ysb33r commented 8 years ago

I did a fix (#11) in the 0.3.7 which allows a script author to specify the kind of layout to create. Currently the default layout is ivy. I am not sure whether Gradle 2.12 now enforces one to specifiy the layout to create.

I would howver recommend that you tell syncRemoteRepositories to use the gradle layout instead. (In the 0.4 release I plan to make that the default).

ysb33r commented 8 years ago

I'll push some notes to the README for now.