Search Gradle plugins

name.remal.merge-resources

Plugin that merges resources from different output directories while executing Copy tasks

https://github.com/remal-gradle-plugins/merge-resources

Sources: https://gitlab.com/remal/name.remal.gradle-plugins.git

Using the plugins DSL:

plugins {
  id("name.remal.merge-resources") version "2.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("name.remal.gradle-plugins.merge-resources:merge-resources:2.0.1")
  }
}

apply(plugin = "name.remal.merge-resources")

Using the plugins DSL:

plugins {
  id "name.remal.merge-resources" version "2.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "name.remal.gradle-plugins.merge-resources:merge-resources:2.0.1"
  }
}

apply plugin: "name.remal.merge-resources"

Learn how to apply plugins to subprojects