Search Gradle plugins

name.remal.test-source-sets

Plugin that provides testSourceSet object for creating new source sets for testing. For all created source sets Test task is created. All dependencies are inherited from 'test' source set.

https://remal.gitlab.io/gradle-plugins/plugins/name.remal.test-source-sets/

Using the plugins DSL:

plugins {
  id "name.remal.test-source-sets" version "1.0.156"
}

Using legacy plugin application:

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

apply plugin: "name.remal.test-source-sets"

Using the plugins DSL:

plugins {
  id("name.remal.test-source-sets") version "1.0.156"
}

Using legacy plugin application:

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

apply(plugin = "name.remal.test-source-sets")

Learn how to apply plugins to subprojects