de.thetaphi.forbiddenapis
Owner: Uwe Schindler
Allows to parse Java byte code to find invocations of method/class/field signatures and fail build.
https://github.com/policeman-tools/forbidden-apis
Sources: https://github.com/policeman-tools/forbidden-apis.git
Version 2.6
2.6
Created 17 September 2018.
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 "2.6"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("de.thetaphi:forbiddenapis:2.6")
}
}
apply(plugin = "de.thetaphi.forbiddenapis")
Using the plugins DSL:
plugins {
id "de.thetaphi.forbiddenapis" version "2.6"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "de.thetaphi:forbiddenapis:2.6"
}
}
apply plugin: "de.thetaphi.forbiddenapis"