Search Gradle plugins

Version 3.2

3.2

Created 14 September 2021.

Allows to parse Java byte code to find invocations of method/class/field signatures and fail build.

Using the plugins DSL:

plugins {
  id("de.thetaphi.forbiddenapis") version "3.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("de.thetaphi:forbiddenapis:3.2")
  }
}

apply(plugin = "de.thetaphi.forbiddenapis")

Using the plugins DSL:

plugins {
  id "de.thetaphi.forbiddenapis" version "3.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "de.thetaphi:forbiddenapis:3.2"
  }
}

apply plugin: "de.thetaphi.forbiddenapis"

Learn how to apply plugins to subprojects