Search Gradle plugins

Version 0.2 (latest)

Created 04 October 2019.

Gradle React Native applications build plugin

Using the plugins DSL:

plugins {
  id "com.klarna.gradle.reactnative" version "0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.klarna:plugin:0.2"
  }
}

apply plugin: "com.klarna.gradle.reactnative"

Using the plugins DSL:

plugins {
  id("com.klarna.gradle.reactnative") version "0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.klarna:plugin:0.2")
  }
}

apply(plugin = "com.klarna.gradle.reactnative")

Learn how to apply plugins to subprojects