Search Gradle plugins

Version 0.0.1 (latest)

0.0.1

Created 21 September 2019.

This plugin version will no longer resolve after JCenter becomes a permanent redirect to Maven Central as it uses dependencies only found in JCenter. See the following blog post for details: https://blog.gradle.org/portal-jcenter-impact A gradle plugin to add opencv binaries to android projects with ease.

Using the plugins DSL:

plugins {
  id("com.github.mosamman.opencvgradle") version "0.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.mosamman.opencvgradle:android-opencv:0.0.1")
  }
}

apply(plugin = "com.github.mosamman.opencvgradle")

Using the plugins DSL:

plugins {
  id "com.github.mosamman.opencvgradle" version "0.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.mosamman.opencvgradle:android-opencv:0.0.1"
  }
}

apply plugin: "com.github.mosamman.opencvgradle"

Learn how to apply plugins to subprojects