Search Gradle plugins

Version 0.12.1 (latest)

Created 30 October 2018.

OneSignal Gradle Plugin

Using the plugins DSL:

plugins {
  id "com.onesignal.androidsdk.onesignal-gradle-plugin" version "0.12.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.12.1"
  }
}

apply plugin: "com.onesignal.androidsdk.onesignal-gradle-plugin"

Using the plugins DSL:

plugins {
  id("com.onesignal.androidsdk.onesignal-gradle-plugin") version "0.12.1"
}

Using legacy plugin application:

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

apply(plugin = "com.onesignal.androidsdk.onesignal-gradle-plugin")

Learn how to apply plugins to subprojects