congrats Icon
New! Announcing our next generation AI code completions
Read here
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

    • Making http requests using okhttp
    • startActivity (Activity)
    • onCreateOptionsMenu (Activity)
    • onRequestPermissionsResult (Fragment)
    • Menu (java.awt)
    • URL (java.net)
      A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
    • HashSet (java.util)
      HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
    • HttpServlet (javax.servlet.http)
      Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
    • BasicDataSource (org.apache.commons.dbcp)
      Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
    • Table (org.hibernate.mapping)
      A relational table
    • Top 15 Vim 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