Skip to content
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

Issue 56, RE: override property for the msbuildversion. #57

Merged
merged 2 commits into from
Dec 4, 2017

Conversation

JamesPoli
Copy link
Contributor

@JamesPoli JamesPoli commented Dec 1, 2017

The msBuildVersion for the NuGetRestore task will have priority over the MSBuild version.

class GradleHelper {
def static String getPropertyFromTask(Project project, String property, String task) {
try {
def theTask = project.tasks.getByName(task)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

findByName will return null if not found, better than using exceptions as it's a pretty valid use-case

@gluck gluck merged commit e0261b6 into Itiviti:master Dec 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants