Search Gradle plugins

com.ahasbini.android-opencv-gradle-plugin

Owner: ahasbini

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

Sources: 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.

Add this plugin to your build using the plugins DSL:

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

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("com.ahasbini.android-opencv-gradle-plugin:com.ahasbini.android-opencv-gradle-plugin.gradle.plugin:0.1.3-dev")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.ahasbini.android-opencv-gradle-plugin")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.ahasbini.android-opencv-gradle-plugin:com.ahasbini.android-opencv-gradle-plugin.gradle.plugin:0.1.3-dev")
      }
    }
    
    apply(plugin = "com.ahasbini.android-opencv-gradle-plugin")
  • Applying plugins to all subprojects .