Search Gradle plugins

name.remal.prohibited-classes

Plugin that checks that prohibited classes are not used in compiled class files. Min Gradle version: 4.5.

https://remal.gitlab.io/gradle-plugins/plugins/name.remal.prohibited-classes/

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

Using the plugins DSL:

plugins {
  id("name.remal.prohibited-classes") version "1.0.188"
}

Using legacy plugin application:

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

apply(plugin = "name.remal.prohibited-classes")

Using the plugins DSL:

plugins {
  id "name.remal.prohibited-classes" version "1.0.188"
}

Using legacy plugin application:

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

apply plugin: "name.remal.prohibited-classes"

Learn how to apply plugins to subprojects