https://gradle.com/ logo
Join Slack
Powered by
# community-support
  • s

    Slackbot

    05/31/2023, 5:47 PM
    This message was deleted.
    c
    t
    v
    • 4
    • 10
  • s

    Slackbot

    06/01/2023, 3:17 PM
    This message was deleted.
    c
    v
    • 3
    • 9
  • s

    Slackbot

    06/01/2023, 10:13 PM
    This message was deleted.
    v
    m
    • 3
    • 7
  • s

    Slackbot

    06/02/2023, 7:47 AM
    This message was deleted.
    v
    • 2
    • 2
  • s

    Slackbot

    06/02/2023, 4:38 PM
    This message was deleted.
    v
    a
    • 3
    • 14
  • s

    Slackbot

    06/02/2023, 6:00 PM
    This message was deleted.
    a
    j
    v
    • 4
    • 10
  • s

    Slackbot

    06/02/2023, 6:53 PM
    This message was deleted.
    a
    • 2
    • 1
  • j

    Javi

    06/02/2023, 10:00 PM
    VersionCatalogBuilder::from
    accepts
    Provider<String>
    ? The internal string is the notation for a published catalog
  • s

    Syed Sami

    06/02/2023, 10:06 PM
    How to resolve this Any Suggestions
  • s

    Slackbot

    06/04/2023, 3:48 PM
    This message was deleted.
    t
    v
    j
    • 4
    • 5
  • r

    Ryan

    06/05/2023, 1:41 AM
    hello 👋 could use some expert gradle input on this issue https://github.com/dagger/dagger/issues/5287 Essentially, Gradle hangs indefinitely when called from the dagger cli https://dagger.io via commands such as
    dagger run ./gradlew run
    . I don't think this is a bug with gradle. I'm not even particularly sure it's a bug with Dagger. It may just be some strange incompatability between the way that , dagger and gradle handle std out/in/err. Does this sound plausible? If not, does anyone have any ideas why gradle may hang when called from the Dagger CLI?
  • s

    Slackbot

    06/05/2023, 9:45 AM
    This message was deleted.
    j
    v
    • 3
    • 7
  • s

    Slackbot

    06/05/2023, 9:49 AM
    This message was deleted.
    v
    • 2
    • 1
  • p

    Philip W

    06/05/2023, 3:05 PM
    I want to create a task with a WorkAction using
    Provider<ResolvedComponentResult>
    as task/worker parameter input. According to the guideline, this is safe with configuration cache:
    For example, if you reference some ResolvedComponentResult instances, you should instead declare a Provider<ResolvedComponentResult> as an input to your task. Such a provider can be obtained by invoking ResolutionResult.getRootComponent().
    But I still get this error message:
    Cannot fingerprint input property 'resolvedComponentResult$build_logic': value '[project :ir]' cannot be serialized.
    Is this not supported with project dependencies?
  • d

    Dmitriy Voronin

    06/05/2023, 4:33 PM
    Hey. We recently discovered a problem with test runs on CI. It looks like this:
    Copy code
    Execution failed for task ':my_feature:testDebugUnitTest'. org.gradle.process.internal.ExecException: Process 'Gradle Test Executor 41' finished with non-zero exit value 134
      This problem might be caused by incorrect test process configuration.
      Please refer to the test execution section in the User Manual at <https://docs.gradle.org/7.5.1/userguide/java_testing.html#sec:test_execution>
      
    [18:36:11] :	 [Step 20/24] # A fatal error has been detected by the Java Runtime Environment:
    [18:36:11] :	 [Step 20/24] #  SIGSEGV (0xb) at pc=0x00007f8dbcdb8056, pid=23042, tid=23050
    [18:36:11] :	 [Step 20/24] # JRE version: OpenJDK Runtime Environment (11.0.15+10) (build 11.0.15+10-Ubuntu-0ubuntu0.20.04.1)
    [18:36:11] :	 [Step 20/24] # Java VM: OpenJDK 64-Bit Server VM (11.0.15+10-Ubuntu-0ubuntu0.20.04.1, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
    [18:36:11] :	 [Step 20/24] # Problematic frame:
    [18:36:11] :	 [Step 20/24] # V  [libjvm.so+0xb6c056]  MetaspaceShared::find_archived_heap_object(oopDesc*)+0x36
    [18:36:11] :	 [Step 20/24] # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /opt/teamcity/work/ec484a2826eb1643/app/my_feature/core.23042)
    [18:36:11] :	 [Step 20/24] # An error report file with more information is saved as:
    [18:36:11] :	 [Step 20/24] # /opt/teamcity/work/ec484a2826eb1643/app/my_feature/hs_err_pid23042.log
    [18:36:11] :	 [Step 20/24] # If you would like to submit a bug report, please visit:
    [18:36:11] :	 [Step 20/24] #   Unknown
    I see it's somehow related to Metaspace and 134 error code is SIGABRT. I can play with configuration and add more metaspace, but I want to do it with at least some idea, It looks like a fatal error to me and not an OOM which can be tuned somehow. Did you saw something similar? Internet is not so helpful. p.s. Core dump is not easily accessible in my case, but even if it was i don't know what to look there for p.p.s. Problem is not reproducible locally with same tasks run, it just happens on CI from time to time
  • s

    Slackbot

    06/05/2023, 6:23 PM
    This message was deleted.
    🐛 1
    v
    • 2
    • 1
  • s

    Slackbot

    06/05/2023, 6:23 PM
    This message was deleted.
    ⛔ 1
    v
    s
    j
    • 4
    • 6
  • s

    Slackbot

    06/05/2023, 9:46 PM
    This message was deleted.
    e
    a
    v
    • 4
    • 8
  • s

    Slackbot

    06/05/2023, 9:53 PM
    This message was deleted.
    a
    v
    s
    • 4
    • 5
  • s

    Slackbot

    06/06/2023, 1:40 PM
    This message was deleted.
    a
    a
    • 3
    • 3
  • s

    Slackbot

    06/06/2023, 2:28 PM
    This message was deleted.
    c
    v
    i
    • 4
    • 15
  • j

    Javi

    06/06/2023, 10:47 PM
    Is it possible to do a unit test doing assertions inside
    afterEvaluate
    ? Looks like the lambda is called after the test is finished.
  • s

    Slackbot

    06/07/2023, 9:08 AM
    This message was deleted.
    c
    d
    +2
    • 5
    • 8
  • s

    Satyarth Sampath

    06/07/2023, 11:46 AM
    Hey folks, I'm trying to setup an equivalent of maven's repository mirrors. I've managed to set this up using an init scripts as outlined at https://docs.gradle.org/current/userguide/init_scripts.html#sec:init_script_plugins . While I've managed to route most downloads using the mirrors , I'm unable to do that for the gradle enterprise plugin which is downloaded when I invoke gradle with
    --scan
    . I wanted to understand how is this currently downloaded? Updating the repositories for
    settings.pluginManagement
    does not seem to impact the repository where this is downloaded from.
  • s

    Slackbot

    06/07/2023, 12:19 PM
    This message was deleted.
    v
    j
    s
    • 4
    • 15
  • s

    Slackbot

    06/07/2023, 7:26 PM
    This message was deleted.
    v
    j
    • 3
    • 6
  • s

    Slackbot

    06/08/2023, 11:36 AM
    This message was deleted.
    m
    v
    +2
    • 5
    • 11
  • s

    Slackbot

    06/08/2023, 2:16 PM
    This message was deleted.
    v
    d
    • 3
    • 3
  • d

    Dzeri96

    06/08/2023, 5:27 PM
    Hi everyone. I have a question regarding loading of spring boot properties for use with gradle plugins. I think this issue I posted describes it best: https://github.com/liquibase/liquibase-gradle-plugin/issues/124. If this isn't possible, I was wondering if extracting the env parsing code from spring boot and making it available as a plugin might be a long-term solution.
  • s

    Slackbot

    06/08/2023, 10:46 PM
    This message was deleted.
    a
    m
    • 3
    • 6
1...545556...102Latest