We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9e2cc8 commit 5e2dd93Copy full SHA for 5e2dd93
README.md
@@ -114,9 +114,20 @@ Application:
114
Common publish configurations for both Android and Kotlin libraries.
115
116
- Applies plugin `maven-publish`
117
-- Adds repository [rmrNexus]
118
- Adds sources to publication
119
+You should specify publishing repositories manually. You can also use predicates for publication:
120
+```kotlin
121
+publishing {
122
+ repositories {
123
+ rmrNexus()
124
+ githubPackages("RedMadRobot/gradle-infrastructure")
125
+ // Publication with conditions
126
+ if (!isSnapshotVersion && credentialsExist("bintray")) rmrBintray("infrastructure")
127
+ }
128
+}
129
+```
130
+
131
### detekt
132
133
- Adds repository `jcenter`
0 commit comments