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://github.com/remal-gradle-plugins/test-source-sets

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

Version 4.1.6

Created 05 December 2024.

A plugin that provides `testSourceSet` extension for creating new source sets for testing. For all created source sets a Test task is created. All dependencies are inherited from `test` source set.

Add this plugin to your build using the plugins DSL:

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

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