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

    Peace Tour

    10/23/2022, 8:43 AM
    i need your help
    🥲 1
    🧵 1
  • s

    Slackbot

    10/24/2022, 10:44 AM
    This message was deleted.
    a
    a
    v
    • 4
    • 9
  • s

    Slackbot

    10/24/2022, 3:14 PM
    This message was deleted.
    d
    • 2
    • 2
  • s

    Slackbot

    10/24/2022, 7:17 PM
    This message was deleted.
    a
    s
    • 3
    • 3
  • j

    Jonathan Ryan

    10/25/2022, 2:43 PM
    Is there a way to have the report aggregation plugin not run ALL the tests it depends on? I have a multi project build and sometimes I don't run all the tests, but when I do the report aggregation, it runs them all since it depends on the results of them all.
  • s

    Slackbot

    10/25/2022, 8:41 PM
    This message was deleted.
    m
    s
    • 3
    • 3
  • s

    Slackbot

    10/25/2022, 8:42 PM
    This message was deleted.
    v
    s
    • 3
    • 3
  • s

    Slackbot

    10/25/2022, 9:24 PM
    This message was deleted.
    j
    v
    • 3
    • 2
  • s

    Slackbot

    10/25/2022, 10:39 PM
    This message was deleted.
    j
    v
    +2
    • 5
    • 37
  • s

    Slackbot

    10/25/2022, 11:10 PM
    This message was deleted.
    c
    e
    j
    • 4
    • 6
  • s

    Slackbot

    10/26/2022, 5:28 AM
    This message was deleted.
    v
    e
    • 3
    • 13
  • f

    Faraz Rasheed

    10/26/2022, 7:31 AM
    👋 Hello, team!
    👋 1
  • f

    Faraz Rasheed

    10/26/2022, 7:32 AM
    I have private repo which contains a JSON file. I want to pull that file into my android code using gradle task. I have successfully pull the file with public repo now i want to do it with private repo
  • f

    Faraz Rasheed

    10/26/2022, 7:33 AM
    i have tried to provide the username and password as well
  • f

    Faraz Rasheed

    10/26/2022, 7:34 AM
    Copy code
    task downloadFile(type: Download) {
        preemptiveAuth true
        username 'sldjfsdjf'
        password 'lskdjflsdfj'
        src '<https://bitbucket.org/><file>'
        dest new File(getRootDir(), '1.3.json')
        overwrite true
    
    }
  • f

    Faraz Rasheed

    10/26/2022, 7:34 AM
    here is my gradle task
  • s

    Slackbot

    10/26/2022, 7:35 AM
    This message was deleted.
    v
    c
    • 3
    • 2
  • s

    Slackbot

    10/26/2022, 2:16 PM
    This message was deleted.
    c
    v
    d
    • 4
    • 17
  • s

    Slackbot

    10/26/2022, 6:19 PM
    This message was deleted.
    e
    c
    • 3
    • 9
  • s

    Slackbot

    10/26/2022, 7:52 PM
    This message was deleted.
    v
    v
    • 3
    • 8
  • s

    Slackbot

    10/26/2022, 9:37 PM
    This message was deleted.
    c
    z
    • 3
    • 9
  • s

    Slackbot

    10/26/2022, 9:44 PM
    This message was deleted.
    c
    e
    • 3
    • 69
  • s

    Slackbot

    10/27/2022, 6:11 AM
    This message was deleted.
    ✅ 1
    j
    l
    • 3
    • 3
  • s

    Slackbot

    10/27/2022, 6:51 AM
    This message was deleted.
    j
    m
    • 3
    • 11
  • s

    Slackbot

    10/27/2022, 6:56 AM
    This message was deleted.
    v
    s
    • 3
    • 16
  • b

    Brian Rosenberger

    10/27/2022, 7:53 AM
    Hi,
    👋 1
  • b

    Brian Rosenberger

    10/27/2022, 7:56 AM
    Hi, I have a question please. I have a module, that depends on another modules configuration. That configuration has an artifact with a 'classifier' specified.
    Copy code
    dependencies {
       api project(path: ":cavis-native:cavis-native-lib", configuration: "runtimeElements")
    }
    That works so far, the correct artifact gets pulled in. Now when I am publishing using MavenPublish, the generated POM is missing the classifier
    Copy code
    <dependency>
          <groupId>net.brutex.cavis.cavis-native</groupId>
          <artifactId>cavis-native-lib</artifactId>
          <version>1.0.0-SNAPSHOT</version>
          <scope>compile</scope>
        </dependency>
    This is how configuration runtimeElements is set in the "producing" module:
    Copy code
    --------------------------------------------------
    Variant runtimeElements
    --------------------------------------------------
    Elements of runtime for main.
    
    Capabilities
        - net.brutex.cavis.cavis-native:cavis-native-lib:1.0.0-SNAPSHOT (default capability)
    Attributes
        - org.gradle.category            = library
        - org.gradle.dependency.bundling = external
        - org.gradle.jvm.version         = 8
        - org.gradle.libraryelements     = jar
        - org.gradle.usage               = java-runtime
    Artifacts
        - build\libs\cavis-native-lib-1.0.0-SNAPSHOT-windows-x86_64-avx2-cpu.jar (artifactType = jar, classifier = windows-x86_64-avx2-cpu)
        - build\libs\cavis-native-lib-1.0.0-SNAPSHOT-windows-x86_64-avx2-cuda.jar (artifactType = jar, classifier = windows-x86_64-avx2-cuda)
        - build\libs\cavis-native-lib-1.0.0-SNAPSHOT.jar (artifactType = jar)
    How can I achieve to to have the classifier included when publishing the POM dependencies ? Here is the concept used https://docs.gradle.org/current/userguide/variant_model.html, but I am looking about mapping to maven POM, rather mapping from maven. Gradle 7.5.1 Thank you. Cheers Brian
  • s

    Slackbot

    10/27/2022, 8:01 AM
    This message was deleted.
    g
    • 2
    • 2
  • s

    Slackbot

    10/27/2022, 8:13 AM
    This message was deleted.
    n
    l
    g
    • 4
    • 3
  • s

    Slackbot

    10/27/2022, 8:34 AM
    This message was deleted.
    e
    g
    • 3
    • 4
1...252627...102Latest