Skip to content
This repository was archived by the owner on Oct 31, 2022. It is now read-only.

Commit 9c54fd7

Browse files
committed
Release to gradle plugin repo and updated readme
1 parent f2645cb commit 9c54fd7

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,16 @@ OneSignal Gradle Plugin
22
====================================
33

44
This Gradle plugin helps make the [OneSignal Android SDK](https://github.com/OneSignal/OneSignal-Android-SDK) compatible with your Android Studio project. It will automatically fix or notify you of required changes to make the SDK compatible with your app.
5+
6+
## Setup
7+
Add the following to the top of your `app/build.gradle`
8+
```Gradle
9+
plugins {
10+
id 'com.onesignal.androidsdk.onesignal-gradle-plugin' version '0.5.0'
11+
}
12+
apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'
13+
```
14+
15+
## Features
16+
- Automatic group alignment accross `com.google.android.gms`, `com.google.firebase`, and `com.android.support` dependencies. This will slove compile and runtime errors due to mixing versions bewteen these modules.
17+
- Future: Other warnings and checks OneSignal specific requirements such as app_id and notification icons.

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ version = '0.5.0'
1818
description 'OneSignal Gradle Plugin'
1919

2020
pluginBundle {
21+
website = 'http://onesignal.com/'
22+
vcsUrl = 'https://github.com/OneSignal/OneSignal-Gradle-Plugin'
2123
plugins {
2224
plugin {
2325
id = 'com.onesignal.androidsdk.onesignal-gradle-plugin'

0 commit comments

Comments
 (0)