Search Gradle plugins

com.liferay.js.module.config.generator

Owner: Liferay

The JS Module Config Generator Gradle plugin lets you run the Liferay AMD Module Config Generator to generate the configuration file needed to load AMD files via combo loader in Liferay.

https://github.com/liferay/liferay-portal/tree/master/modules/sdk/gradle-plugins-js-module-config-generator

Sources: https://github.com/liferay/liferay-portal/tree/master/modules/sdk/gradle-plugins-js-module-config-generator

Version 2.1.25

Created 08 February 2018.

The JS Module Config Generator Gradle plugin lets you run the Liferay AMD Module Config Generator to generate the configuration file needed to load AMD files via combo loader in Liferay.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.liferay.js.module.config.generator") version "2.1.25"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.liferay.js.module.config.generator:com.liferay.js.module.config.generator.gradle.plugin:2.1.25")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.liferay.js.module.config.generator")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.liferay.js.module.config.generator:com.liferay.js.module.config.generator.gradle.plugin:2.1.25")
      }
    }
    
    apply(plugin = "com.liferay.js.module.config.generator")
  • Applying plugins to all subprojects .