Skip to content

Commit

Permalink
Fix: plugin param error (#331)
Browse files Browse the repository at this point in the history
* - Fix param error of uploaded files;
- Upgrade plugin version to 1.1.1;
  • Loading branch information
olivershen-wow authored Mar 6, 2023
1 parent b40c643 commit 7e6f729
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
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

0 comments on commit 7e6f729

Please sign in to comment.