mockito / shipkit

Toolkit for shipping it used by Mockito library
http://shipkit.org
MIT License
158 stars 35 forks source link

Initial build fails in task updateReleaseNotes #725

Closed magneticflux- closed 6 years ago

magneticflux- commented 6 years ago

My logs:

➜  kotlin-livedata-utils git:(master) ./gradlew updateReleaseNotes

> Configure project : 
  Building version '0.1.0' (value loaded from 'version.properties' file).

GET https://api.github.com/users/magneticflux-?access_token=****

> Task :fetchContributors 
  Fetching all GitHub contributors of magneticflux-/kotlin-livedata-utils
  Querying GitHub API for all contributors for project
GET https://api.github.com/repos/magneticflux-/kotlin-livedata-utils/contributors?access_token=****&per_page=100
GET https://api.github.com/repos/magneticflux-/kotlin-livedata-utils/commits?access_token=****&since=2018-06-05T11:27:41-0500&page=1&per_page=100
  Serialized contributors information: build/shipkit/all-contributors.json

> Task :fetchReleaseNotes 
Generating release notes data for:
  - target versions: []
  - GitHub labels: []
  - only pull requests: false
  - version tag prefix: 'v'
  Executing:
    git fetch origin HEAD
  Executing:
    git log --pretty=format:%H@@info@@%ae@@info@@%an@@info@@%B%N@@commit@@ HEAD
Retrieved 1 contribution(s) between null..HEAD
Retrieved 0 improvement(s) for tickets: []

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':updateReleaseNotes'.
> No value has been specified for property 'publicationRepository'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

My project: https://github.com/magneticflux-/kotlin-livedata-utils

I'm not sure if this is a problem because this is the first release, if I failed to set some Shipkit property, or some other issue.

magneticflux- commented 6 years ago

Turns out I had the JFrog Bintray plugin applied instead of the Shipkit one. I changed this:

plugins {
    id 'com.jfrog.bintray'
}

to this:

plugins {
    id 'com.jfrog.bintray'
    id 'org.shipkit.bintray'
}