Search Gradle plugins

com.ahasbini.android-opencv-gradle-plugin

Gradle Plugin that will automate retrieving the Android OpenCV SDK and linking it to the project, making it easy to include OpenCV into Android applications.

https://github.com/ahasbini/AndroidOpenCVGradlePlugin

Version 0.1.3-dev (latest)

Created 16 December 2019.

Gradle Plugin that will automate retrieving the Android OpenCV SDK and linking it to the project, making it easy to include OpenCV into Android applications.

Using the plugins DSL:

plugins {
  id "com.ahasbini.android-opencv-gradle-plugin" version "0.1.3-dev"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.ahasbini.tools:android-opencv-gradle-plugin:0.1.3-dev"
  }
}

apply plugin: "com.ahasbini.android-opencv-gradle-plugin"

Using the plugins DSL:

plugins {
  id("com.ahasbini.android-opencv-gradle-plugin") version "0.1.3-dev"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.ahasbini.tools:android-opencv-gradle-plugin:0.1.3-dev")
  }
}

apply(plugin = "com.ahasbini.android-opencv-gradle-plugin")

Learn how to apply plugins to subprojects