heroku-gradle | Gradle plugin for deploying JAR | Platform As A Service library

 by   heroku Java Version: 2.0.0 License: MIT

kandi X-RAY | heroku-gradle Summary

kandi X-RAY | heroku-gradle Summary

heroku-gradle is a Java library typically used in Cloud, Platform As A Service, Spring Boot, Gradle applications. heroku-gradle has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

This plugin is used to deploy Gradle based JVM applications directly to Heroku without pushing to a Git repository. This can be useful when deploying from a CI server.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              heroku-gradle has a low active ecosystem.
              It has 47 star(s) with 17 fork(s). There are 84 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 4 open issues and 12 have been closed. On average issues are closed in 49 days. There are 4 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of heroku-gradle is 2.0.0

            kandi-Quality Quality

              heroku-gradle has 0 bugs and 0 code smells.

            kandi-Security Security

              heroku-gradle has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              heroku-gradle code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              heroku-gradle is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              heroku-gradle releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              heroku-gradle saves you 64 person hours of effort in developing the same functionality from scratch.
              It has 168 lines of code, 22 functions and 3 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed heroku-gradle and discovered the below as its top functions. This is intended to give you an instant insight into heroku-gradle implemented functionality, and help decide if they suit your requirements.
            • Deploys JVM application directly to Heroku
            • Get plugin version
            • Log a message object at debug level
            • Log an error
            • Logs a message at the INFO level
            • Logs the upload progress
            • Log a warning message
            • Returns an unmodifiable list of the buildpacks
            • Returns an unmodifiable map of config variables
            • Returns an unmodifiable list of the includes
            • Get the process types
            Get all kandi verified functions for this library.

            heroku-gradle Key Features

            No Key Features are available at this moment for heroku-gradle.

            heroku-gradle Examples and Code Snippets

            Heroku Gradle Plugin,Configuration
            Javadot img1Lines of Code : 21dot img1License : Permissive (MIT)
            copy iconCopy
            heroku {
              appName = "sushi"
            }
            
            heroku {
              includes = ["README.md"]
            }
            
            heroku {
              includes = ["build/libs/my-app.jar"]
              includeBuildDir = false
            }
            
            heroku {
              includeRootDir = project.buildDir
            }
            
            heroku {
              jdkVersion = 11
            }
            
            heroku {
              processTypes(  
            Heroku Gradle Plugin,Using the Plugin
            Javadot img2Lines of Code : 5dot img2License : Permissive (MIT)
            copy iconCopy
            plugins {
              id "com.heroku.sdk.heroku-gradle" version "2.0.0"
            }
            
            $ heroku create
            
            $ ./gradlew build deployHeroku
              
            Heroku Gradle Plugin,Development
            Javadot img3Lines of Code : 4dot img3License : Permissive (MIT)
            copy iconCopy
            $ git clone https://github.com/heroku/heroku-maven-plugin
            $ cd heroku-maven-plugin/heroku-deploy
            # make your changes
            $ mvn clean install
              

            Community Discussions

            QUESTION

            How to configure build.gradle using Junit5 and Jacoco for test coverage
            Asked 2020-Nov-13 at 08:48

            I am trying to configure the build.gradle file so that it supports both Junit 5 and Jacoco. I was using useJunitPlatform before, but it generates another errors. I also tried some other ways, but none can successfully generate Jacoco report. This configuration however, sucessfully generated Jacoco report for me, but it also gave me an exception. Below is my build.gradle file.

            ...

            ANSWER

            Answered 2020-Nov-13 at 08:48

            Based on your error message

            Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 59

            and according to https://en.wikipedia.org/wiki/Java_class_file you're using Java 15.

            According to https://www.jacoco.org/jacoco/trunk/doc/changes.html support for Java 15 was added in JaCoCo version 0.8.6

            So either you don't need Java 15 and can use earlier version such as 11 (LTS), or you need to change

            Source https://stackoverflow.com/questions/64816410

            QUESTION

            Accessing Neo4j/GrapheneDB (Dev free plan) on Heroku from Micronaut Java app fails: Connection to database terminated
            Asked 2020-Jun-13 at 07:16

            currently I'm struggling with Neo4j/GrapheneDB (Dev free plan) on Heroku platform. Launching my app locally via "heroku local" works fine, it connects (Neo4j Java Driver 4) to a Neo4j 3.5.18 (running from Docker image "neo4j:3.5").

            My app is built using Micronaut framework, using its Neo4j support. Launching my app on Heroku platform succeeds, I'm using Gradle Heroku plugin for this task.

            But accessing the database with business operations (and health checks) fails with exception like this:

            ...

            ANSWER

            Answered 2020-Jun-13 at 07:16

            I had a closer look at this and it seems that you need the driver encryption turned on for the Graphene db instances. This can be configured in application.yml as below:

            Source https://stackoverflow.com/questions/62174806

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install heroku-gradle

            You can download it from GitHub.
            You can use heroku-gradle like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the heroku-gradle component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/heroku/heroku-gradle.git

          • CLI

            gh repo clone heroku/heroku-gradle

          • sshUrl

            git@github.com:heroku/heroku-gradle.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Platform As A Service Libraries

            asset_sync

            by AssetSync

            fbone

            by imwilsonxu

            piku

            by piku

            herokuish

            by gliderlabs

            heroku-accounts

            by ddollar

            Try Top Libraries by heroku

            react-refetch

            by herokuJavaScript

            legacy-cli

            by herokuRuby

            heroku-pg-extras

            by herokuJavaScript