https://gradle.com/ logo
Join SlackCommunities
Powered by
# plugin-development
  • s

    Slackbot

    01/12/2023, 4:36 PM
    This message was deleted.
    ✅ 1
    d
    j
    +2
    • 5
    • 12
  • s

    Slackbot

    01/16/2023, 11:33 AM
    This message was deleted.
    e
    t
    +2
    • 5
    • 16
  • s

    Slackbot

    01/17/2023, 3:21 PM
    This message was deleted.
    v
    s
    • 3
    • 7
  • s

    Slackbot

    01/17/2023, 3:22 PM
    This message was deleted.
    p
    v
    • 3
    • 18
  • s

    Slackbot

    01/17/2023, 10:04 PM
    This message was deleted.
    ✅ 1
    c
    j
    +6
    • 9
    • 38
  • s

    Slackbot

    01/18/2023, 9:42 AM
    This message was deleted.
    t
    v
    d
    • 4
    • 13
  • p

    Philip W

    01/18/2023, 7:25 PM
    I have an external gradle project containing a settings plugin as well as a project plugin (in the same module/jar). Now I consume both plugins in another project: the settings plugin in, well, settings.gradle, and the project plugin as
    implementation
    in my build.gradle of the included convention build project. Does the settings file share its classpath with the dependencies of the included build? Reason: I need to apply for both plugins its version, I though setting the version once would be enough.
  • s

    Slackbot

    01/23/2023, 8:07 AM
    This message was deleted.
    v
    j
    • 3
    • 3
  • s

    Slackbot

    01/24/2023, 9:06 PM
    This message was deleted.
    d
    t
    • 3
    • 4
  • s

    Slackbot

    01/26/2023, 2:33 PM
    This message was deleted.
    t
    v
    j
    • 4
    • 16
  • s

    Slackbot

    01/27/2023, 7:27 PM
    This message was deleted.
    j
    j
    e
    • 4
    • 7
  • a

    Andrew Lethbridge

    01/30/2023, 5:30 PM
    I’m working on a custom binary plugin and I’m running into some weird classpath issues and wondering if anyone could shed some light on the fundamental difference in ways to add plugins to the buildscript classpath.
    Copy code
    plugins {
        kotlin("jvm") version "1.7.20"
        id("my-custom-binary-plugin")
    }
    If I do this approach everything works fine. However I want the plugin “my-custom-binary-plugin” to apply a bunch of Kotlin conventions so I need access to the class references. I’ve tried both
    Copy code
    implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20")
    and also
    Copy code
    buildscript {
        repositories {
        dependencies {
            classpath("my-custom-binary-plugin:4.23.2")
            classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20")
        }
    }
    Both of these approaches work in the sense that I am able to find the class files just fine and apply the conventions I want to. However in both of these examples, I start to get random exceptions which point to a classpath issue in a separate library. I do not get that same classpath issue when using the plugins {} DSL in the build script, even though I would expect their classpaths to be the same but there seems to be something else going on behind the scenes in these two approaches.
  • s

    Slackbot

    01/31/2023, 7:04 PM
    This message was deleted.
    👋 1
    v
    • 2
    • 1
  • s

    Slackbot

    02/02/2023, 5:32 AM
    This message was deleted.
    e
    p
    • 3
    • 6
  • s

    Slackbot

    02/03/2023, 10:07 AM
    This message was deleted.
    j
    • 2
    • 1
  • s

    Slackbot

    02/03/2023, 3:58 PM
    This message was deleted.
    v
    m
    +2
    • 5
    • 25
  • s

    Slackbot

    02/07/2023, 3:34 PM
    This message was deleted.
    v
    m
    • 3
    • 8
  • s

    Slackbot

    02/10/2023, 3:41 PM
    This message was deleted.
    c
    v
    • 3
    • 2
  • s

    Slackbot

    02/13/2023, 11:21 AM
    This message was deleted.
    v
    t
    • 3
    • 20
  • s

    Slackbot

    02/14/2023, 10:39 AM
    This message was deleted.
    v
    m
    s
    • 4
    • 18
  • s

    Slackbot

    02/15/2023, 11:54 AM
    This message was deleted.
    ➕ 1
    m
    c
    m
    • 4
    • 23
  • m

    Martin

    02/16/2023, 12:43 PM
    Is there some recommendations/guidance how to expose/publish artifacts from a plugin? I have a plugin that produces metadata files. There might be several of these metadata files for a single project. A few questions I'm having: 1. Should my plugin create its own publication(s) or just expose software components and leave the decision to publish to users? 2. Or should it "piggy back" on the Kotlin software component and add variants there (the metadata files are not usable without a matching kotlin jar/klib file)? 3. Should each file be its own artifact or should I "group" everything into a single zip and leave it up to consumer to loolup the "good" artifact? I hope it make sense? Looks like the Kotlin MPP plugin went with multiple publications but it could as well have been a single one with variants? How do I choose?
  • s

    Slackbot

    02/17/2023, 2:05 PM
    This message was deleted.
    a
    d
    +2
    • 5
    • 10
  • s

    Slackbot

    02/18/2023, 11:25 PM
    This message was deleted.
    t
    c
    • 3
    • 3
  • s

    Slackbot

    02/20/2023, 6:06 PM
    This message was deleted.
    e
    d
    • 3
    • 11
  • s

    Slackbot

    02/20/2023, 9:42 PM
    This message was deleted.
    v
    • 2
    • 3
  • s

    Slackbot

    02/21/2023, 9:52 AM
    This message was deleted.
    n
    m
    v
    • 4
    • 37
  • s

    Slackbot

    02/21/2023, 12:39 PM
    This message was deleted.
    t
    l
    +2
    • 5
    • 19
  • s

    Slackbot

    02/24/2023, 4:57 AM
    This message was deleted.
    v
    d
    • 3
    • 4
  • s

    Slackbot

    02/24/2023, 6:38 PM
    This message was deleted.
    a
    c
    v
    • 4
    • 14
1...91011...36Latest