congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
BintrayConfigPlugin.getProject
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using me.seeber.gradle.distribution.bintray.BintrayConfigPlugin.getProject (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.bintrayBintrayConfigPlugingetProject

Popular methods of BintrayConfigPlugin

    Popular in Java

    • Reading from database using SQL prepared statement
    • getOriginalFilename (MultipartFile)
      Return the original filename in the client's filesystem.This may contain path information depending
    • getSystemService (Context)
    • getSharedPreferences (Context)
    • Table (com.google.common.collect)
      A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
    • Menu (java.awt)
    • Calendar (java.util)
      Calendar is an abstract base class for converting between a Date object and a set of integer fields
    • Dictionary (java.util)
      Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
    • Callable (java.util.concurrent)
      A task that returns a result and may throw an exception. Implementors define a single method with no
    • JCheckBox (javax.swing)
    • CodeWhisperer alternatives
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

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