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

    Slackbot

    09/22/2022, 10:11 PM
    This message was deleted.
    c
    e
    +2
    • 5
    • 29
  • s

    Slackbot

    09/23/2022, 1:49 AM
    This message was deleted.
    e
    e
    v
    • 4
    • 5
  • r

    rrva

    09/23/2022, 6:56 AM
    I am getting these kind of intermittent errors a lot in CI builds with gradle:
    Copy code
    java.lang.Exception: Cannot create empty file: /builds/myproject/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab
    gradle 7.5.1, kotlin 1.7.10, gitlab. Usually, retrying the build works. It seems to be some cache lifecycle issue.
  • j

    John

    09/23/2022, 2:40 PM
    does anyone know of a workaround for this issue? https://github.com/gradle/gradle/issues/21551
  • s

    Slackbot

    09/23/2022, 4:15 PM
    This message was deleted.
    👍 1
    m
    • 2
    • 6
  • s

    Slackbot

    09/23/2022, 5:13 PM
    This message was deleted.
    j
    a
    +3
    • 6
    • 6
  • s

    Slackbot

    09/25/2022, 4:49 AM
    This message was deleted.
    v
    • 2
    • 1
  • s

    Slackbot

    09/24/2022, 8:45 PM
    This message was deleted.
    v
    s
    • 3
    • 3
  • a

    Anderson Lameck

    09/26/2022, 1:36 AM
    Hey folks, how do I add a
    because
    clause when using version catalogs? This appears to be working
    Copy code
    val commonMain by getting {
        dependencies {
            api("com:kool-dep:1.0.0") {
                because("I like cool things")
            }
        }
    }
    This one does not appear to be working
    Copy code
    val commonMain by getting {
        dependencies {
            api(libs.koolDep) {
                because("I like cool things")
            }
        }
    }
  • s

    Slackbot

    09/26/2022, 8:30 AM
    This message was deleted.
    t
    m
    • 3
    • 5
  • s

    Slackbot

    09/27/2022, 7:00 AM
    This message was deleted.
    d
    s
    +3
    • 6
    • 7
  • j

    Justin Tullgren

    09/27/2022, 2:28 PM
    Does anyone have an article that explains how to publish a component with different variants to a GAV but have two
    maven
    publish components, where one includes the source and docs, while the other does not? For publishing a "release" to a public repo with just docs. This is for a multi project, where the consumer uses an Android Library which is dependent on the other projects in the build.
  • h

    Hervé Guillemet

    09/28/2022, 3:58 AM
    Hello, I'd like to create a JavaExec task that calls some class passing some command line argument to the class. That works well:
    Copy code
    tasks.register<JavaExec>("someTask") {
        classpath = sourceSets["main"].runtimeClasspath
        mainClass.set("some.class")
        mainModule.set("some.module")
        args("--foo")
    }
    , but if I use the
    --args bar
    option when launching the task, this will override the setting of
    --foo
    . Any way to force a command line argument from the build script that won't get erased when
    --args
    is used ?
  • s

    Slackbot

    09/28/2022, 5:53 AM
    This message was deleted.
    v
    t
    j
    • 4
    • 6
  • s

    Slackbot

    09/28/2022, 1:37 PM
    This message was deleted.
    v
    • 2
    • 1
  • s

    Slackbot

    09/28/2022, 7:27 PM
    This message was deleted.
    c
    z
    v
    • 4
    • 5
  • s

    Slackbot

    09/28/2022, 9:57 PM
    This message was deleted.
    j
    b
    d
    • 4
    • 3
  • s

    Slackbot

    09/29/2022, 4:36 PM
    This message was deleted.
    v
    z
    • 3
    • 5
  • s

    Slackbot

    09/29/2022, 5:14 PM
    This message was deleted.
    m
    • 2
    • 2
  • s

    Slackbot

    09/29/2022, 5:34 PM
    This message was deleted.
    c
    c
    v
    • 4
    • 105
  • s

    Slackbot

    09/30/2022, 8:46 AM
    This message was deleted.
    n
    • 2
    • 1
  • s

    Slackbot

    10/01/2022, 4:33 AM
    This message was deleted.
    v
    • 2
    • 1
  • s

    Slackbot

    10/01/2022, 12:09 PM
    This message was deleted.
    j
    s
    v
    • 4
    • 8
  • s

    Slackbot

    10/03/2022, 9:44 PM
    This message was deleted.
    c
    b
    • 3
    • 2
  • s

    Slackbot

    10/04/2022, 5:34 AM
    This message was deleted.
    c
    v
    p
    • 4
    • 11
  • c

    Caleb Cushing

    10/04/2022, 3:02 PM
    Is it possible to publish artifacts to a local repository as native Gradle instead of maven? Never mind I see it
  • r

    Romulo Ruas

    10/04/2022, 6:30 PM
    I made a custom task that uses a WorkAction to call external commands, because I need its implementations to run in parallel. Now I need some of these implementations to read the output of the external command, but I can't get it out of the WorkAction, nor provide a function to manipulate it as it breaks configuration cache. Do you guys have some suggestion?
  • c

    Caleb Cushing

    10/04/2022, 11:37 PM
    Sorry for the screenshot can't access this slack from work computer. Trying to figure out why this test one time meta might be failing since it's the only failed Mark. Especially since it's test fixtures. Figured this out. I wish it was a little bit easier to see which project this scope had belonged to.
  • c

    Caleb Cushing

    10/05/2022, 5:54 AM
    Related to the above, is it possible to fail a build when using write locks if a dependencies missing and can't be locked?
  • s

    Slackbot

    10/05/2022, 5:10 PM
    This message was deleted.
    c
    a
    • 3
    • 3
1...222324...102Latest