Skip to content

Commit 9fd52ff

Browse files
author
Vladislav Frolov
committed
update README.md
1 parent f3218b4 commit 9fd52ff

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# updraft-plugin 🚀
22

3+
[![Maven Central](https://maven-badges.sml.io/sonatype-central/com.appswithlove.updraft/updraft/badge.svg)](https://maven-badges.sml.io/sonatype-central/com.appswithlove.updraft/updraft)
4+
35
This is a gradle plugin for automated upload to updraft.
46

57

@@ -12,8 +14,6 @@ Preconditions:
1214

1315
1.Add the code below to you `build.gradle` file in the project root folder.
1416

15-
[![Maven Central](https://maven-badges.sml.io/sonatype-central/com.appswithlove.updraft/updraft/badge.svg)](https://maven-badges.sml.io/sonatype-central/com.appswithlove.updraft/updraft)
16-
1717
```groovy
1818
buildscript {
1919
repositories {
@@ -48,16 +48,18 @@ or
4848
id("com.appswithlove.updraft")
4949
```
5050

51-
3.Add one or multiple `urls['YOURPRODUCTFLAVOUR']` wrapped in `updraft` to the file. To get the url, go to your Updraft App and get the https:// url part of the `curl` command. (e.g. [https://app.getupdraft.com/api_upload/.../.../]())
51+
3.Add one or multiple URLs wrapped in `updraft` to the file. To get the url, go to your Updraft App and get the https:// url part of the `curl` command. (e.g. [https://app.getupdraft.com/api/app_upload/.../.../]())
5252
With this, the plugin knows to which updraft app your apk should be uploaded.
5353

5454
The part `YourBuildVariant` should be replaced by the exact name your build variant. For example:
5555

5656

5757
```groovy
5858
updraft {
59-
urls['StagingRelease'] = ["your/staging/url/"]
60-
urls['ProdRelease'] = ["your/prod/url/", "your/prod2/url/"]
59+
urls = [
60+
"StagingRelease": ["your/staging/url/"],
61+
"ProdRelease": ["your/prod/url/", "your/prod2/url/"]
62+
]
6163
}
6264
```
6365

0 commit comments

Comments
 (0)