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

Fix: plugin param error #331

Merged
merged 2 commits into from
Mar 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle_plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies {
}

// plugin publishing related
version = '1.1.0'
version = '1.1.1'
group = 'com.microsoft.hydralab'
// alter group to this when publish to local, in order to distinguish local version and gradle plugin portal version
//group = 'com.microsoft.hydralab.local'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,14 @@ class ClientUtilsPlugin implements Plugin<Project> {
}

if (project.hasProperty('appPath')) {
testConfig.appPath = project.appPath
testConfig.appPath = CommonUtils.validateAndReturnFilePath(project.appPath, "appPath")
}
if (project.hasProperty('testAppPath')) {
testConfig.testAppPath = project.testAppPath
testConfig.testAppPath = CommonUtils.validateAndReturnFilePath(project.testAppPath, "testAppPath")
}
if (project.hasProperty('attachmentConfigPath')) {
testConfig.attachmentConfigPath = project.attachmentConfigPath
testConfig.attachmentConfigPath = CommonUtils.validateAndReturnFilePath(project.attachmentConfigPath, "attachmentConfigPath")
}
// validate file path
testConfig.appPath = CommonUtils.validateAndReturnFilePath(testConfig.appPath, "appPath")
testConfig.testAppPath = CommonUtils.validateAndReturnFilePath(testConfig.testAppPath, "testAppPath")
testConfig.attachmentConfigPath = CommonUtils.validateAndReturnFilePath(testConfig.attachmentConfigPath, "attachmentConfigPath")


if (project.hasProperty('hydraLabAPISchema')) {
apiConfig.schema = project.hydraLabAPISchema
Expand Down