Search Gradle plugins

pl.greenpath.gradle.bowertoprod

Bower to production gradle plugin copies only production files to desired directory. It skips all the samples, README files and so on. Production files are recognized by 'main' section in bower.json or by custom definition

https://github.com/michalborek/bower-to-prod-gradle-plugin

Sources: https://github.com/michalborek/bower-to-prod-gradle-plugin

Version 0.1.8 (latest)

Created 07 March 2016.

Bower to production gradle plugin copies only production files to desired directory. It skips all the samples, README files and so on. Production files are recognized by 'main' section in bower.json or by custom definition

Add this plugin to your build using the plugins DSL:

plugins {
  id("pl.greenpath.gradle.bowertoprod") version "0.1.8"
}

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("pl.greenpath.gradle.bowertoprod:pl.greenpath.gradle.bowertoprod.gradle.plugin:0.1.8")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("pl.greenpath.gradle.bowertoprod")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("pl.greenpath.gradle.bowertoprod:pl.greenpath.gradle.bowertoprod.gradle.plugin:0.1.8")
      }
    }
    
    apply(plugin = "pl.greenpath.gradle.bowertoprod")
  • Applying plugins to all subprojects .