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

    Slackbot

    06/28/2022, 4:33 PM
    This message was deleted.
    v
    r
    • 3
    • 2
  • s

    Slackbot

    06/28/2022, 9:00 PM
    This message was deleted.
    e
    t
    +2
    • 5
    • 6
  • s

    Slackbot

    06/29/2022, 12:03 PM
    This message was deleted.
    w
    c
    • 3
    • 2
  • s

    Slackbot

    06/29/2022, 12:05 PM
    This message was deleted.
    v
    e
    +2
    • 5
    • 16
  • s

    Slackbot

    06/29/2022, 2:24 PM
    This message was deleted.
    e
    l
    • 3
    • 3
  • s

    Slackbot

    06/29/2022, 2:49 PM
    This message was deleted.
    d
    e
    v
    • 4
    • 7
  • s

    Slackbot

    06/29/2022, 3:49 PM
    This message was deleted.
    g
    • 2
    • 1
  • s

    Slackbot

    06/29/2022, 6:16 PM
    This message was deleted.
    c
    r
    • 3
    • 4
  • s

    Slackbot

    06/29/2022, 6:54 PM
    This message was deleted.
    a
    m
    • 3
    • 2
  • s

    Slackbot

    06/30/2022, 12:45 AM
    This message was deleted.
    c
    o
    • 3
    • 4
  • s

    Slackbot

    06/30/2022, 2:52 AM
    This message was deleted.
    v
    r
    • 3
    • 12
  • s

    Slackbot

    06/30/2022, 7:49 AM
    This message was deleted.
    v
    j
    e
    • 4
    • 8
  • p

    PatrickBoat

    06/30/2022, 11:56 AM
    A problem occurred configuring project ':flutter_plugin_android_lifecycle'.
    Could not load compiled classes for build file 'C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-2.0.6\android\build.gradle' from cache.
    Failed to notify project evaluation listener.
    > Could not get unknown property 'android' for project ':flutter_plugin_android_lifecycle' of type org.gradle.api.Project. > Could not get unknown property 'android' for project ':flutter_plugin_android_lifecycle' of type org.gradle.api.Project.
  • s

    Slackbot

    06/30/2022, 12:39 PM
    This message was deleted.
    t
    • 2
    • 1
  • s

    Slackbot

    06/30/2022, 11:12 PM
    This message was deleted.
    e
    s
    • 3
    • 9
  • s

    Slackbot

    07/01/2022, 12:23 AM
    This message was deleted.
    v
    • 2
    • 1
  • l

    Lars Ködderitzsch

    07/01/2022, 5:32 AM
    Hello, I built a custom plugin which produces a zip artifact (schema resources) and potentially a jar artifact. Due to cosumer considerations - we need to care for Maven clients - the jar artifact is published under different coordinates than the main zip artifact. This is done by modifying the
    artifactId
    of the publication for the java artifact. This all works pretty well - except for the case where a project of this kind is being used in a multiproject build using a project reference. While Gradles dependency resolution can still work out the correct dependency via the artifact capabilities, publishing the dependent project fails with the infamous:
    Publishing is not able to resolve a dependency on a project with multiple publications that have different coordinates.
    project A: -> produces
    group:a
    (zip) -> produces
    group:a-java
    (jar) project B -> declares dependency
    implementation(project(":a"))
    Is there a workaround to coerce publishing of B to choose the correct coordinates (
    group:a-java
    )?
  • j

    jojopad

    07/01/2022, 6:10 AM
    Hello, I would like to get some help how to configure a Gradle build that will include certain dependencies based on a project "variant". For example, when building the application intended for performance test deployment, certain "performance metrics" dependencies will need to be included in the assembled application. When building the application intended for production use, these "performance metrics" dependencies should be excluded. Is there a way in Gradle on how to get this configured? I'm currently looking at the "feature variants" capability in Gradle. Would this be applicable? https://docs.gradle.org/current/userguide/feature_variants.html
  • s

    Slackbot

    07/01/2022, 6:56 AM
    This message was deleted.
    v
    e
    • 3
    • 9
  • s

    Slackbot

    07/01/2022, 9:00 AM
    This message was deleted.
    v
    • 2
    • 1
  • s

    Slackbot

    07/01/2022, 10:36 AM
    This message was deleted.
    v
    j
    p
    • 4
    • 7
  • s

    Slackbot

    07/01/2022, 3:48 PM
    This message was deleted.
    j
    • 2
    • 2
  • s

    Slackbot

    07/01/2022, 4:13 PM
    This message was deleted.
    d
    t
    +3
    • 6
    • 18
  • s

    Slackbot

    07/02/2022, 5:52 PM
    This message was deleted.
    g
    v
    • 3
    • 3
  • s

    Stylianos Gakis

    07/03/2022, 4:20 PM
    I’m trying to create a gradle plugin in .kts format, and am looking at a Groovy one to take some inspiration. At one point I see this code in Groovy
    def dirRes = project.android.sourceSets.findByName("main").res.srcDirs.first()
    . My immediate question is, how do I get the same
    android
    type from project if I don’t know what to ask for, in Groovy is seems to “just work” but in Kotlin I guess I need to do something like find it by name and specify what type it is so that I can then do
    .sourceSets
    on it etc. But the more general question may also be, is there an obvious way of how to find what I am looking for when going from Groovy -> Kotlin? As someone who’s never done something like this before and has never done Groovy before I don’t see any obvious way to do this.
  • s

    Slackbot

    07/03/2022, 9:00 PM
    This message was deleted.
    g
    j
    +2
    • 5
    • 4
  • s

    Slackbot

    07/04/2022, 4:20 AM
    This message was deleted.
    m
    p
    • 3
    • 8
  • s

    Slackbot

    07/04/2022, 11:41 AM
    This message was deleted.
  • s

    Slackbot

    07/04/2022, 1:39 PM
    This message was deleted.
    c
    v
    p
    • 4
    • 3
  • s

    Slackbot

    07/05/2022, 8:16 AM
    This message was deleted.
    n
    c
    v
    • 4
    • 4
1...131415...102Latest