jamesbassett / nebula-bintray-plugin

Bintray Tasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nebula-bintray-plugin

Support Status Build Status Coverage Status Apache 2.0

Additional Bintray tasks and defaults for nebula projects

Usages

To apply this plugin if using Gradle 2.1 or newer

buildscript { repositories { jcenter() } } // need jcenter since gradle-bintray-plugin is not in mavenCentral
plugins {
  id 'nebula.nebula-bintray' version '3.3.4'
}

If using an older version of Gradle

buildscript {
  repositories { jcenter() }

  dependencies {
    classpath 'com.netflix.nebula:nebula-bintray-plugin:3.3.4'
  }
}

apply plugin: 'nebula.nebula-bintray'

Applies the Following Plugins

  • nebula.nebula-bintray-publishing
  • nebula.nebula-ojo-publishing

nebula-bintray-publishing

Usage

Sets defaults on many of the fields from com.jfrog.bintray.gradle:gradle-bintray-plugin. You can still configure the bintray extension as in the gradle-bintray-plugin

Defaults

bintray {
  user = <user from hidden properties file>
  key = <key from hidden properties file>

  publications = ['nebula']
  dryRun = false
  publish = true
  pkg {
    repo = 'gradle-plugins'
    userOrg = 'nebula'
    name = 'project.name'
    desc = project.description
    websiteUrl = 'https://github.com/nebula-plugins/${project.name}'
    issueTrackerUrl = 'https://github.com/nebula-plugins/${project.name}/issues'
    vcsUrl = 'https://github.com/nebula-plugins/${project.name}.git'
    licenses = ['Apache-2.0']
    labels = ['gradle', 'nebula']
    publicDownloadNumbers = true
    attributes = [:]
    version {
      name = project.version
      vcsTag = project.version
      attributes = [:]
    }
  }
}

nebula-ojo-publishing

Publish snapshots to oss.jfrog.org

Gradle Compatibility Tested

Built with Oracle JDK7 Tested with Oracle JDK8

Gradle Version Works
2.2.1 yes
2.3 yes
2.4 yes
2.5 yes
2.6 yes
2.7 yes
2.8 yes
2.9 yes
2.10 yes

LICENSE

Copyright 2013-2016 Netflix, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Bintray Tasks

License:Apache License 2.0


Languages

Language:Groovy 88.5%Language:Shell 11.5%