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

    Slackbot

    07/14/2022, 8:30 AM
    This message was deleted.
    g
    • 2
    • 1
  • s

    Slackbot

    07/14/2022, 8:51 AM
    This message was deleted.
    j
    f
    • 3
    • 10
  • c

    Carter

    07/14/2022, 2:27 PM
    With Gradle 7.5, I’m seeing a warning:
    Project accessors enabled, but root project name not explicitly set for 'buildSrc'
    I found the related issue, but it isn’t clear to me what action I should take. Am I supposed to add a
    settings.gradle.kts
    to my buildSrc directory declaring
    rootProject.name = "buildSrc"
    ? Since this name is used for the cache, I’m not clear if it needs to be different for each Gradle project on the same system.
  • s

    Slackbot

    07/14/2022, 2:49 PM
    This message was deleted.
    d
    t
    +2
    • 5
    • 12
  • u

    UTSAV BHETWAL

    07/14/2022, 4:24 PM
    Hi Team, I got the following error:
    Could not create service of type FileAccessTimeJournal using
    GradleUserHomeScopeServices.createFileAccessTimeJournal().
    > Failed to ping owner of lock for journal cache (/Users/utsavbhetwal/.gradle/caches/journal-1) (lock id: -4032313904963299416, port: 55239)
    I deleted the journal-1 file:
    sudo rm -r /Users/utsavbhetwal/.gradle/caches/journal-1
    But now I get:`java.io.FileNotFoundException: /Users/utsavbhetwal/.gradle/caches/journal-1/file-access.properties (No such file or directory)` Any solution fo this please?
  • a

    Angus Hamill

    07/15/2022, 2:49 PM
    Hey I’m trying to add my nexus password as a gradle property overriding -Ppassword=password from the command line. However my password has a special character namely a caret ^ which seems to escape. When i log the variable from build.gradle the caret is not present in the string. Ive tried all manner of escaping but nothing seems to work
  • a

    Angus Hamill

    07/15/2022, 2:50 PM
    Is there any special escape character/something different I can do? Running on windows 10
  • s

    Slackbot

    07/15/2022, 2:51 PM
    This message was deleted.
    v
    a
    • 3
    • 3
  • s

    Slackbot

    07/15/2022, 10:36 PM
    This message was deleted.
    s
    v
    • 3
    • 2
  • s

    Slackbot

    07/17/2022, 4:30 PM
    This message was deleted.
    t
    • 2
    • 1
  • s

    Sachin Pandey

    07/18/2022, 5:20 AM
    Hello all !! I want to extend gradle test feature and add some functionalities to it such as on passing
    --discover
    argument i should get a list of all the test cases and
    --execute
    argument i should be able to execute the tests. I have found the apis to do this, how can i extend the test plugin ? any pointers or starting point to that will be helpful
  • m

    Mattia

    07/18/2022, 8:53 AM
    What’s the proper way to pass nullable data to managed objects? I tried • pass directly, e.g.
    objectFactory.newInstance(klass, nullableData)
    . Gradle throws, can’t pass nullable parameters • add two
    @Inject
    constructors, one empty and one with non-null parameter. Gradle throws in this case - only one inject constructor is allowed. I’m trying to model a tree like structure where object
    Node
    can have a
    parent: Node?
    and add parent properties as a convention to its own. Maybe extensions can help?
  • s

    Slackbot

    07/18/2022, 12:27 PM
    This message was deleted.
    m
    v
    • 3
    • 10
  • s

    Slackbot

    07/19/2022, 1:54 AM
    This message was deleted.
    t
    f
    +3
    • 6
    • 11
  • s

    Slackbot

    07/19/2022, 9:37 AM
    This message was deleted.
    v
    v
    d
    • 4
    • 9
  • s

    Slackbot

    07/19/2022, 9:17 PM
    This message was deleted.
    s
    t
    +4
    • 7
    • 90
  • s

    Slackbot

    07/20/2022, 12:20 AM
    This message was deleted.
    a
    e
    +2
    • 5
    • 7
  • s

    Slackbot

    07/20/2022, 9:51 AM
    This message was deleted.
    d
    j
    • 3
    • 6
  • s

    Slackbot

    07/20/2022, 10:50 AM
    This message was deleted.
    m
    r
    g
    • 4
    • 8
  • r

    René

    07/20/2022, 10:50 AM
    or Optional<String> ?
    🧵 1
  • r

    René

    07/20/2022, 10:50 AM
    is preferedVersion what I have declared in my toml file?
    🧵 1
  • s

    Slackbot

    07/20/2022, 5:02 PM
    This message was deleted.
    c
    • 2
    • 1
  • c

    Chris

    07/20/2022, 7:35 PM
    Is there a way using public (or not too private) APIs in Gradle to take a version string (returned from
    VersionContraint.getRequiredVersion()
    ) and determine if it identifies a “singular” version (without crafting my own regex)? I’m trying to write a
    ComponentMetadataHandler
    that will rewrite
    slf4j-api
    dependencies to be more accurate ranges. So
    1.7.25
    becomes
    [1.7.25,1.7.9999)
    (or similar). I’d like to make sure I avoid rewriting any “non-unique” version syntaxes.
  • s

    Slackbot

    07/20/2022, 7:47 PM
    This message was deleted.
    v
    c
    • 3
    • 3
  • s

    Slackbot

    07/20/2022, 10:08 PM
    This message was deleted.
    m
    • 2
    • 1
  • s

    Slackbot

    07/21/2022, 4:30 AM
    This message was deleted.
    v
    s
    • 3
    • 4
  • s

    Slackbot

    07/21/2022, 4:45 PM
    This message was deleted.
    c
    e
    +5
    • 8
    • 53
  • s

    Slackbot

    07/21/2022, 7:14 PM
    This message was deleted.
    e
    m
    j
    • 4
    • 27
  • s

    Slackbot

    07/21/2022, 7:17 PM
    This message was deleted.
    e
    g
    • 3
    • 2
  • s

    Slackbot

    07/21/2022, 9:44 PM
    This message was deleted.
    g
    j
    • 3
    • 2
1...151617...102Latest