Skip to content

Commit

Permalink
Introduce getter and setters for distBaseUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
rpalcolea committed Jan 19, 2021
1 parent b86f742 commit c2a07f1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/groovy/com/moowork/gradle/node/task/SetupTask.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ class SetupTask extends DefaultTask {
this.enabled = false
}

void setDistUrl(String url) {
this.distBaseUrl = url
}

@Internal
String getDistUrl() {
return this.distBaseUrl
}

@Input
public Set<String> getInput() {
configureIfNeeded()
Expand Down

0 comments on commit c2a07f1

Please sign in to comment.