roxy 转换为 ml-gradle 属性错误

roxy conversion to ml-gradle properties error

正在尝试使用 ml-gradle 插件将现有的 roxy 项目转换为 ml-gradle。这是 build.gradle:

plugins {
   id "net.saliman.properties" version "1.5.1"
   id "com.marklogic.ml-gradle" version "3.1.0"
}

这会产生以下错误:

> Task :mlRoxyMigrateProperties FAILED
  Mapping Roxy property 'group' to ml-gradle property 'mlGroupName'
  Mapping Roxy property 'user' to ml-gradle property 'mlUsername'
  Mapping Roxy property 'password' to ml-gradle property 'mlPassword'
  Mapping Roxy property 'app-name' to ml-gradle property 'mlAppName'
  Mapping Roxy property 'content-db' to ml-gradle property 'mlContentDatabaseName'
  Mapping Roxy property 'modules-db' to ml-gradle property 'mlModulesDatabaseName'
  Mapping Roxy property 'content-forests-per-host' to ml-gradle property 'mlContentForestsPerHost'
  Mapping Roxy property 'app-port' to ml-gradle property 'mlRestPort'
  Mapping Roxy property 'authentication-method' to ml-gradle property 'mlRestAuthentication'
  Mapping Roxy property 'appuser-password' to ml-gradle property 'mlRestAdminPassword'
  Mapping Roxy property 'test-port' to ml-gradle property 'mlTestRestPort'

  FAILURE: Build failed with an exception.

  * What went wrong:
   Execution failed for task ':mlRoxyMigrateProperties'.
  > Could not get unknown property 'roxyProperties' for task ':mlRoxyMigrateProperties' of type com.marklogic.gradle.task.roxy.RoxyMigratePropertiesTask.

没有任何内容写入 gradle.properties,因此它根本无法复制任何 属性。有什么建议可以解决这个错误吗?谢谢

升级到 3.2.2 或更高版本 - 您遇到了 3.2.2 中已修复的错误。