-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
7.0.x simplify #274
7.0.x simplify #274
Conversation
repositories { | ||
if (useMavenLocal || useMavenLocal != 'last') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this not be &&
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@codeconsole Coming back to this ☝️ :
- If no
mavenLocal
property is set, (useMavenLocal = null
), I think this will addmavenLocal()
as the first repository, asuseMavenLocal
will evaluate tofalse
butuseMavenLocal != 'last'
will evaluate totrue
. - If a
mavenLocal
property is set to any value, (-PmavenLocal=last
), I think this will also addmavenLocal()
as the first repository asuseMavenLocal
will evaluate totrue
.
if (useMavenLocal == 'last') { | ||
println "Using mavenLocal() last on project `${prj.name}`" | ||
mavenLocal() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to set this before the Groovy Snapshot repo. Then it could be used for the Groovy Joint Workflow, if we want to do this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
Eliminates need to modify after checkout.
or