Skip to content

Commit

Permalink
Updating README.md to describe how to prevent loop behavior on Kotlin…
Browse files Browse the repository at this point in the history
… projects / modules. (#41)
  • Loading branch information
wellingtoncosta authored and vanniktech committed Jan 15, 2019
1 parent c48a573 commit 39fc92f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ mavenPublish {

Once you've configured this and defined the typical pom attributes via Gradle properties you can upload your library using the `uploadArchives` task.

__Note:__ To prevent looping behavior, especially in Kotlin projects / modules, you need to run the `uploadArchives` task with `--no-daemon`and `--no-parallel` flags:

`./gradlew uploadArchives --no-daemon --no-parallel`

# Sample

This Gradle plugin is using itself to publish any of the updates. It applies a previously released version in the build.gradle just as mentioned above and sets the Gradle properties in this [gradle.properties](gradle.properties).
Expand All @@ -52,4 +56,4 @@ This Gradle plugin is using itself to publish any of the updates. It applies a p

Copyright (C) 2018 Vanniktech - Niklas Baudy

Licensed under the Apache License, Version 2.0
Licensed under the Apache License, Version 2.0

0 comments on commit 39fc92f

Please sign in to comment.