Search Gradle plugins

com.bisnode.opa

Plugin adding various tasks to help out integrating Open Policy Agent (OPA) in Gradle builds.

https://github.com/Bisnode/opa-gradle-plugin

Version 0.2.1 (latest)

Created 14 June 2020.

Plugin adding various tasks to help out integrating Open Policy Agent (OPA) in Gradle builds.

Using the plugins DSL:

plugins {
  id "com.bisnode.opa" version "0.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.bisnode.opa:opa-gradle-plugin:0.2.1"
  }
}

apply plugin: "com.bisnode.opa"

Using the plugins DSL:

plugins {
  id("com.bisnode.opa") version "0.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.bisnode.opa:opa-gradle-plugin:0.2.1")
  }
}

apply(plugin = "com.bisnode.opa")

Learn how to apply plugins to subprojects