Skip to content

Commit 8b4c97b

Browse files
authored
Update README.md
1 parent 0679d55 commit 8b4c97b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,24 @@ repositories {
4343
compile group: 'com.adamratzman', name: 'spotify-api-kotlin-android', version: '3.2.02'
4444
```
4545

46+
**If you declare any release types not named debug or release, you need to do the following for each**
47+
```
48+
android {
49+
buildTypes {
50+
yourReleaseType1 {
51+
// ...
52+
matchingFallbacks = ['release', 'debug']
53+
}
54+
yourReleaseType2 {
55+
// ...
56+
matchingFallbacks = ['release', 'debug']
57+
}
58+
...
59+
}
60+
}
61+
```
62+
63+
4664
To successfully build, you might need to exclude kotlin_modules from the packaging. To do this, inside the android/buildTypes/release closure, you would put:
4765
```
4866
packagingOptions {

0 commit comments

Comments
 (0)