Search Gradle plugins

org.mozilla.rust-android-gradle.rust-android

A plugin that helps build Rust JNI libraries with Cargo for use in Android projects.

https://github.com/ncalexan/rust-android-gradle

Version 0.2.0

Created 02 August 2018.

A plugin that helps build Rust JNI libraries with Cargo for use in Android projects.

Using the plugins DSL:

plugins {
  id "org.mozilla.rust-android-gradle.rust-android" version "0.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.mozilla.rust-android-gradle:plugin:0.2.0"
  }
}

apply plugin: "org.mozilla.rust-android-gradle.rust-android"

Using the plugins DSL:

plugins {
  id("org.mozilla.rust-android-gradle.rust-android") version "0.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.org.mozilla.rust-android-gradle:plugin:0.2.0")
  }
}

apply(plugin = "org.mozilla.rust-android-gradle.rust-android")

Learn how to apply plugins to subprojects