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.6

0.1.6

Created 06 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

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.pl.greenpath.gradle:bower-to-prod-gradle-plugin:0.1.6")
  }
}

apply(plugin = "pl.greenpath.gradle.bowertoprod")

Using the plugins DSL:

plugins {
  id "pl.greenpath.gradle.bowertoprod" version "0.1.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.pl.greenpath.gradle:bower-to-prod-gradle-plugin:0.1.6"
  }
}

apply plugin: "pl.greenpath.gradle.bowertoprod"

Learn how to apply plugins to subprojects