-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fixed resource file not being set when making localized calls in Grad… #1843
Conversation
@@ -11,6 +11,9 @@ import trm = require('vsts-task-lib/toolrunner'); | |||
import sqCommon = require('sonarqube-common/sonarqube-common'); | |||
import {SonarQubeEndpoint} from 'sonarqube-common/sonarqube-common'; | |||
|
|||
// Set up localization resource file | |||
tl.setResourcePath(path.join( __dirname, 'task.json')); |
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.
Is this necessary ? Isn't it enough to set it once in the GradleTask.ts ?
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.
Discovered in testing that in fact no, it's not.
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.
Good to know!
LGTM |
…le (#1848) * Fixed resource file not being set when making localized calls in Gradle build. (#1843) Added no-warning assertions to some Maven and Gradle tests. (#1847) (cherry picked from commit f5b958c) (cherry picked from commit 597033c) Bumped version numbers * Roll back Gradle patch number. (Avoids losing work done after m101 cutoff)
…le build.