class PublishTasks extends java.lang.Object
A utility plugin that when applied will automatically create source and javadoc publishing tasks To apply this plugin you must also add 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4' to your buildscript's classpath dependencies. To use this plugin you can add a new configuration block (extension) to your root build.gradle. See the fields in BintrayConfigExtension.
| Type | Name and description |
|---|---|
org.gradle.api.Project |
project |
ProjectPublishExtension |
publishConfig |
org.gradle.api.artifacts.Configuration |
publishDependencies |
java.lang.String |
publishName |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
apply(org.gradle.api.Project project) |
|
void |
checkAndConfigurePublishing() |
|
void |
configureBintray(BintrayConfigExtension bintrayConfig) |
|
void |
configureMavenPublish(BintrayConfigExtension bintrayConfig) |
|
void |
configurePublishing(BintrayConfigExtension bintrayConfig) |
|
void |
createConfigurations() |
|
void |
createExtensions() |
|
void |
createTasks() |
|
void |
extendPomForMavenCentral(org.gradle.api.publish.maven.MavenPom pom, BintrayConfigExtension config) |
|
void |
fromConfiguration(org.gradle.api.publish.maven.MavenPom pom, org.gradle.api.artifacts.ResolvedConfiguration configuration) |
|
void |
setPublishName(java.lang.String publishName)This call must come at the end of any publish block because it configures the publishing and any values set after this call in the DSL will not be configured properly (and will use the default value) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
This call must come at the end of any publish block because it configures the publishing and any values set after this call in the DSL will not be configured properly (and will use the default value)