Search Gradle plugins

com.inutilfutil.gradle.ndklibs

Import NDK libraries from Android dependencies + Export local NDK libraries for use in other Android modules

https://github.com/paulo-raca/ndkLibraries

Using the plugins DSL:

plugins {
  id "com.inutilfutil.gradle.ndklibs" version "1.4.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.inutilfutil.gradle:ndk-lib-plugin:1.4.2"
  }
}

apply plugin: "com.inutilfutil.gradle.ndklibs"

Using the plugins DSL:

plugins {
  id("com.inutilfutil.gradle.ndklibs") version "1.4.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.inutilfutil.gradle:ndk-lib-plugin:1.4.2")
  }
}

apply(plugin = "com.inutilfutil.gradle.ndklibs")

Learn how to apply plugins to subprojects