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

    Slackbot

    06/09/2023, 8:54 AM
    This message was deleted.
    t
    v
    t
    • 4
    • 13
  • s

    Slackbot

    06/09/2023, 11:00 AM
    This message was deleted.
    j
    v
    • 3
    • 3
  • s

    Slackbot

    06/09/2023, 8:21 PM
    This message was deleted.
    c
    v
    e
    • 4
    • 8
  • s

    Slackbot

    06/10/2023, 3:46 PM
    This message was deleted.
    v
    g
    • 3
    • 4
  • s

    Slackbot

    06/10/2023, 4:58 PM
    This message was deleted.
    g
    c
    • 3
    • 2
  • s

    Slackbot

    06/10/2023, 9:38 PM
    This message was deleted.
    v
    r
    • 3
    • 4
  • s

    Slackbot

    06/11/2023, 10:35 AM
    This message was deleted.
    v
    • 2
    • 1
  • s

    Slackbot

    06/12/2023, 2:07 AM
    This message was deleted.
    v
    • 2
    • 1
  • s

    Slackbot

    06/12/2023, 4:10 AM
    This message was deleted.
    c
    • 2
    • 1
  • s

    Slackbot

    06/12/2023, 8:11 AM
    This message was deleted.
    v
    g
    • 3
    • 2
  • s

    Slackbot

    06/12/2023, 8:50 AM
    This message was deleted.
    c
    v
    a
    • 4
    • 3
  • s

    Slackbot

    06/12/2023, 10:27 AM
    This message was deleted.
    v
    v
    n
    • 4
    • 28
  • s

    Slackbot

    06/12/2023, 10:36 AM
    This message was deleted.
    v
    e
    • 3
    • 12
  • s

    Slackbot

    06/12/2023, 1:13 PM
    This message was deleted.
    n
    v
    • 3
    • 11
  • s

    Slackbot

    06/12/2023, 1:15 PM
    This message was deleted.
    d
    • 2
    • 1
  • s

    Slackbot

    06/12/2023, 5:15 PM
    This message was deleted.
    p
    v
    • 3
    • 4
  • s

    Slackbot

    06/12/2023, 5:23 PM
    This message was deleted.
    c
    b
    • 3
    • 2
  • s

    Slackbot

    06/13/2023, 7:16 AM
    This message was deleted.
    v
    s
    • 3
    • 12
  • s

    Slackbot

    06/13/2023, 10:17 AM
    This message was deleted.
    v
    m
    m
    • 4
    • 7
  • l

    Lucas Hahn

    06/13/2023, 10:32 AM
    I'am currently trying to convert a maven project to gradle using
    gradle init
    There are some dependencies from a private repository included. The credentials are provided through a settings.xml, which works with
    mvn clean install
    . Gradle init seems to read the settings.xml, however I always get an error
    Copy code
    [FATAL] Non-resolvable parent POM for de.novum.training:de.novum.training:MASTER-SNAPSHOT: Could not transfer artifact de.novum:de.novum:pom:0.9.18 from/to nexus-ndo (<https://nexus.novum.rgigroup.io/repository/development/>): authentication failed for <https://nexus.novum.rgigroup.io/repository/development/de/novum/de.novum/0.9.18/de.novum-0.9.18.pom>, status: 401 Unauthorized and 'parent.relativePath' points at wrong local POM @ line 4, column 13
                for project de.novum.training:de.novum.training:MASTER-SNAPSHOT at /home/rdo/workspace/repos/de.novum.training/pom.xml
    I also tried providing the credentials via
    init.gradle
    which also doesn't really work. No matter what I do, I run into the 401 error. Any suggestions :)?
  • s

    Slackbot

    06/13/2023, 2:45 PM
    This message was deleted.
    c
    d
    • 3
    • 4
  • m

    Matan Sabag

    06/13/2023, 3:18 PM
    Hi, when calling
    ./gradlew build
    on a project with lockfiles I get the following error:
    * What went wrong:
    Could not determine the dependencies of task ‘gcs clienttest’.
    > Could not resolve all task dependencies for configuration ‘gcs clienttestRuntimeClasspath’.
    > Resolved ‘com.google.guavalistenablefuture9999.0-empty-to-avoid-conflict-with-guava’ which is not part of the dependency lock state
    I tried adding the following to the
    build.gradle
    :
    Copy code
    testImplementation("com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava")
    and also
    Copy code
    testRuntimeClasspath("com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava")
    and then resolve and lock all, and try to run
    build
    again but still fails. The thing is, that this is a subproject, and while this dependency is not added to its lockfile, it is added to other subprojects. Any idea why this is not added to this subproject lockfile? If I add it manually to the lockfile, it works and then fail on another subproject
  • s

    Slackbot

    06/13/2023, 4:00 PM
    This message was deleted.
    ✅ 1
    p
    j
    • 3
    • 6
  • g

    Giuseppe Barbieri

    06/13/2023, 5:21 PM
    I wrote a catalog plugin using the plugin API in the past
    Copy code
    class SciJavaCatalogPlugin : Plugin<Settings> {
        override fun apply(settings: Settings) {
            settings.enableFeaturePreview("VERSION_CATALOGS")
            settings.dependencyResolutionManagement.versionCatalogs.addGeneratedCatalog()
    now I'm refreshing the project and at the consumer, I get:
    Could not resolve all files for configuration 'classpath'.
    > Could not find org.scijavagradle catalog35.1.1+2.
    Searched in the following locations:
    - https://plugins.gradle.org/m2/org/scijava/gradle-catalog/35.1.1+2/gradle-catalog-35.1.1+2.pom
    If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
    Required by:
    unspecifiedunspecifiedunspecified > org.scijava.catalogsorg.scijava.catalogs.gradle.plugin35.1.1+2
    What's the problem? The jar looks there
  • s

    Slackbot

    06/13/2023, 6:52 PM
    This message was deleted.
    c
    e
    • 3
    • 2
  • s

    Slackbot

    06/13/2023, 8:32 PM
    This message was deleted.
    v
    s
    • 3
    • 2
  • s

    Slackbot

    06/14/2023, 1:16 PM
    This message was deleted.
    c
    d
    v
    • 4
    • 6
  • s

    Slackbot

    06/13/2023, 7:23 PM
    This message was deleted.
    e
    p
    • 3
    • 4
  • s

    Slackbot

    06/15/2023, 8:06 AM
    This message was deleted.
    v
    r
    +2
    • 5
    • 11
  • s

    Slackbot

    06/15/2023, 10:17 AM
    This message was deleted.
    d
    • 2
    • 1
1...555657...102Latest