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 "1.0.99"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects