morpheus-gradle

Morpheus Gradle Provisioning Adapter

Лицензия

Лицензия

The Apache Software License, Version 2.0
Категории

Категории

Gradle Компиляция и сборка Morpheus Прикладные библиотеки Science
Группа

Группа

com.bertramlabs.plugins
Идентификатор

Идентификатор

morpheus-gradle
Последняя версия

Последняя версия

0.2.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

morpheus-gradle
Morpheus Gradle Provisioning Adapter
Ссылка на сайт

Ссылка на сайт

https://github.com/gomorpheus/morpheus-gradle
Система контроля версий

Система контроля версий

https://github.com/gomorpheus/morpheus-gradle

Скачать morpheus-gradle

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.bertramlabs.plugins/morpheus-gradle/ -->
<dependency>
    <groupId>com.bertramlabs.plugins</groupId>
    <artifactId>morpheus-gradle</artifactId>
    <version>0.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.bertramlabs.plugins/morpheus-gradle/
implementation 'com.bertramlabs.plugins:morpheus-gradle:0.2.0'
// https://jarcasting.com/artifacts/com.bertramlabs.plugins/morpheus-gradle/
implementation ("com.bertramlabs.plugins:morpheus-gradle:0.2.0")
'com.bertramlabs.plugins:morpheus-gradle:jar:0.2.0'
<dependency org="com.bertramlabs.plugins" name="morpheus-gradle" rev="0.2.0">
  <artifact name="morpheus-gradle" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.bertramlabs.plugins', module='morpheus-gradle', version='0.2.0')
)
libraryDependencies += "com.bertramlabs.plugins" % "morpheus-gradle" % "0.2.0"
[com.bertramlabs.plugins/morpheus-gradle "0.2.0"]

Зависимости

runtime (2)

Идентификатор библиотеки Тип Версия
org.apache.httpcomponents : httpclient jar 4.5.1
com.bertramlabs.plugins : morpheus-java-sdk jar 0.3.1

Модули Проекта

Данный проект не имеет модулей.

Morpheus Gradle Plugin

The Morpheus Gradle plugin provides tasks for deployment automation to the Morpheus Cloud Management platform. Deploy any of your applications to a morpheus on or off-premise setup.

Configuration

Simply add the plugin to your project and configure it using the morpheus configure block

//Example build.gradle file
buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
    mavenCentral()
  }
  dependencies {
    classpath "com.bertramlabs.plugins:morpheus-gradle:0.1.2"
  }
}
apply plugin: 'com.bertramlabs.morpheus'

morpheus {
    morpheusUser = 'blah'
    morpheusPassword = 'dafsadfsdf'
    applianceUrl = 'https://v2.gomorpheus.com'
    instance = 'My Instance Name'

    from "build/libs/*"
    deployConfiguration = [
      catalinaOpts: '-Dgrails.env=prod'
    ]
}

A from command can be either a path to files to upload to the final deployment archive or they can be a Closure with more advanced options:

morpheus {
    from {
        resolverPath = 'build/libs/*'
        includePatterns = ['**/*.war']
        excludePatterns = ['*.jar']
        //destinationPath = '' Useful for nesting into a subfolder of the deploy archive
    }
}

Usage

Simply execute the task:

./gradlew morpheusDeploy

Resources

com.bertramlabs.plugins

Morpheus

Версии библиотеки

Версия
0.2.0
0.1.2