GithubHelp home page GithubHelp logo

Comments (3)

bigdaz avatar bigdaz commented on July 28, 2024

Thanks for the interesting idea. I'm not sure that running Gradle with --debug is very useful in general: the amount of logging produced is overwhelming. But running with --info could well be helpful in this case.

Due to the way the action is implemented, it has no direct control over Gradle invocations. Instead, we could detect the presence of ACTIONS_STEP_DEBUG and add this content to ~/.gradle/gradle.properties, which would likely have the desired effect:

org.gradle.logging.level=info
org.gradle.logging.stacktrace=all

from actions.

hfhbd avatar hfhbd commented on July 28, 2024

I want to create a PR if you are okay with it. Do you have a pointer to start?

from actions.

bigdaz avatar bigdaz commented on July 28, 2024

I want to create a PR if you are okay with it. Do you have a pointer to start?

That would be great. You'll likely want to add a new step to initializeGradleUserHome, and add these values to gradle.properties.

A few points:

  • You'd need to detect whether gradle.properties already exists, and append if it does.
  • I think it's OK to hard-code these values in code: I don't think it's necessary to use a resource file (like we do for init-scripts and toolchains.xml).

There isn't a good guide to contributing, but one hint is you'll need to execute npm run build in order to generate the files into the dist directory.

from actions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.