- * Installation can be done from your {@code build.gradle} file: + * Installation can be done from your {@code build.gradle} file using the Gradle {@code plugin} DSL: + *
+ * plugins { + * id 'de.thetaphi.forbiddenapis' version '@VERSION@' + * } + *+ * Alternatively, you can use the following script snippet if dynamic configuration is required (e.g., for own tasks): *
* buildscript { * repositories { * mavenCentral() * } * dependencies { - * classpath 'de.thetaphi:forbiddenapis:' + FORBIDDEN_APIS_VERSION + * classpath '@GROUPID@:@ARTIFACTID@:@VERSION@' * } * } * - * apply plugin: 'java' * apply plugin: 'de.thetaphi.forbiddenapis' ** After that you can add the following task configuration closures: