bintray.gradle 611 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // This file is to be applied to some subproject.
  3. //
  4. apply plugin: 'com.jfrog.bintray'
  5. bintray {
  6. user = bintray_user
  7. key = bintray_api_key
  8. configurations = ['archives']
  9. dryRun = false
  10. pkg {
  11. repo = 'org.jmonkeyengine'
  12. userOrg = 'jmonkeyengine'
  13. name = project.name
  14. desc = POM_DESCRIPTION
  15. websiteUrl = POM_URL
  16. licenses = ['BSD New']
  17. vcsUrl = POM_SCM_URL
  18. labels = ['jmonkeyengine']
  19. }
  20. }
  21. bintrayUpload.dependsOn(writeFullPom)
  22. bintrayUpload.onlyIf {
  23. (bintray_api_key.length() > 0) &&
  24. !(version ==~ /.*SNAPSHOT/)
  25. }