Gradleを使用してプロジェクトを作成する
開始する前に
以下が必要です。
- Java SE JDK 8以降
- MarkLogic 9.0-7以降
- Gradle 4.6以降
手順
結果
結果の例:
############################## # Your Data Hub Project is ready. ############################## - Set username and password There are several ways to do this. The easiest is to set mlUsername and mlPassword in gradle.properties. For other approaches see: https://github.com/marklogic/marklogic-data-hub/wiki/Password-Management - To deploy your application into MarkLogic... gradle mlDeploy # this will bootstrap your application gradle mlLoadModules # this will load your custom plugins into MarkLogic - Full list of gradle tasks: https://github.com/marklogic/marklogic-data-hub/wiki/Gradle-Tasks - Curious about the project structure? Look here: https://github.com/marklogic/marklogic-data-hub/wiki/Project-Directory-Structure BUILD SUCCESSFUL Total time: 1.932 secs
次に行う手順
MarkLogicサーバーと通信する際に使用するデータハブプラグインのユーザー名とパスワードを指定します。「Gradleを使用してセキュリティ資格情報を設定する」を参照してください。