Search Gradle plugins

name.remal.disable-tests

Plugin that disables all check and test tasks. Also this plugin disables test source sets tasks.

https://remal.gitlab.io/gradle-plugins/plugins/name.remal.disable-tests/

Using the plugins DSL:

plugins {
  id "name.remal.disable-tests" version "1.0.133"
}

Using legacy plugin application:

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

apply plugin: "name.remal.disable-tests"

Using the plugins DSL:

plugins {
  id("name.remal.disable-tests") version "1.0.133"
}

Using legacy plugin application:

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

apply(plugin = "name.remal.disable-tests")

Learn how to apply plugins to subprojects