Search Gradle plugins

Version 2.6.0 (latest)

2.6.0

Created 26 September 2024.

Restrict Imports Gradle Plugin

Using the plugins DSL:

plugins {
  id("de.skuzzle.restrictimports") version "2.6.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("de.skuzzle.restrictimports:restrict-imports-gradle-plugin:2.6.0")
  }
}

apply(plugin = "de.skuzzle.restrictimports")

Using the plugins DSL:

plugins {
  id "de.skuzzle.restrictimports" version "2.6.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "de.skuzzle.restrictimports:restrict-imports-gradle-plugin:2.6.0"
  }
}

apply plugin: "de.skuzzle.restrictimports"

Learn how to apply plugins to subprojects