Tabnine Logo
BintrayConfigPlugin
Code IndexAdd Tabnine to your IDE (free)

How to use
BintrayConfigPlugin
in
me.seeber.gradle.distribution.bintray

Best Java code snippets using me.seeber.gradle.distribution.bintray.BintrayConfigPlugin (Showing top 2 results out of 315)

origin: me.seeber.gradle/gradle-bintray-config

/**
 * Initialize the Bintray configuration plugin
 *
 * <ul>
 * <li>Apply Project Config Plugin
 * <li>Apply Maven Config Plugin
 * <li>Apply Bintray Plugin
 * </ul>
 *
 * @see me.seeber.gradle.plugin.AbstractProjectConfigPlugin#initialize()
 */
@Override
public void initialize() {
  getProject().getPluginManager().apply(ProjectConfigPlugin.class);
  getProject().getPluginManager().apply(MavenConfigPlugin.class);
  getProject().getPluginManager().apply(BintrayPlugin.class);
  getProject().afterEvaluate(p -> {
    // The Bintray plugin configures its tasks in a {@link BuildListener}, so we need to force realization of
    // the extension in order to make it available before the plugin accesses it. They could've just used a
    // ConventionPlugin...
    ((ProjectInternal) p).getModelRegistry().realize("bintrayExtension", BintrayExtension.class);
  });
  getProject().getPluginManager().withPlugin("me.seeber.github", p -> {
    getProject().getPluginManager().apply(GithubPluginRules.class);
  });
}
origin: gradle.plugin.me.seeber.gradle/gradle-bintray-config

/**
 * Initialize the Bintray configuration plugin
 *
 * <ul>
 * <li>Apply Project Config Plugin
 * <li>Apply Maven Config Plugin
 * <li>Apply Bintray Plugin
 * </ul>
 *
 * @see me.seeber.gradle.plugin.AbstractProjectConfigPlugin#initialize()
 */
@Override
public void initialize() {
  getProject().getPluginManager().apply(ProjectConfigPlugin.class);
  getProject().getPluginManager().apply(MavenConfigPlugin.class);
  getProject().getPluginManager().apply(BintrayPlugin.class);
  getProject().afterEvaluate(p -> {
    // The Bintray plugin configures its tasks in a {@link BuildListener}, so we need to force realization of
    // the extension in order to make it available before the plugin accesses it. They could've just used a
    // ConventionPlugin...
    ((ProjectInternal) p).getModelRegistry().realize("bintrayExtension", BintrayExtension.class);
  });
  getProject().getPluginManager().withPlugin("me.seeber.github", p -> {
    getProject().getPluginManager().apply(GithubPluginRules.class);
  });
}
me.seeber.gradle.distribution.bintrayBintrayConfigPlugin

Javadoc

Configure a project to use Bintray as a repository

Most used methods

  • getProject

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • findViewById (Activity)
  • getSystemService (Context)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • BoxLayout (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now