Search Gradle plugins

nl.codenomads.plugin.SafeRegexPlugin

A plugin that scans a project for insecure regular expression usage using the SafeRegex library

https://gitlab.com/codenomads/saferegex-gradle-plugin

Sources: scm:git@gitlab.com:codenomads/saferegex-gradle-plugin.git

Version 0.0.1 (latest)

Created 13 December 2018.

A plugin that scans a project for insecure regular expression usage using the SafeRegex library

Add this plugin to your build using the plugins DSL:

plugins {
  id("nl.codenomads.plugin.SafeRegexPlugin") version "0.0.1"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("nl.codenomads.plugin.SafeRegexPlugin:nl.codenomads.plugin.SafeRegexPlugin.gradle.plugin:0.0.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("nl.codenomads.plugin.SafeRegexPlugin")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("nl.codenomads.plugin.SafeRegexPlugin:nl.codenomads.plugin.SafeRegexPlugin.gradle.plugin:0.0.1")
      }
    }
    
    apply(plugin = "nl.codenomads.plugin.SafeRegexPlugin")
  • Applying plugins to all subprojects .