intellij-platform-gradle-plugin icon indicating copy to clipboard operation
intellij-platform-gradle-plugin copied to clipboard

Research list of "common" third-party libraries bundled with IDE clashing with those provided by plugin (transitively)

Open YannCebron opened this issue 1 year ago • 1 comments

Describe the need of your request

Prevent "weird" behaviour at runtime or even runtime errors/failures (e.g. #1740). We already have a check for kotlinx-coroutines which seems to be one of the most popular affected libraries.

Proposed solution

Expand the existing solution for kotlinx-coroutines to validate against a (configurable?) set of known dependencies which will cause issues.

Candidates: SLF4J, ???

Alternatives you've considered

No response

Additional context

No response

YannCebron avatar Nov 11 '24 13:11 YannCebron

List of libraries to be excluded automatically:

  • org.slf4j
  • ch.qos.logback
  • org.apache.logging.log4j
  • Kotlinx Coroutines (org.jetbrains.kotlinx, com.intellij.platform)
    • see: https://github.com/JetBrains/intellij-platform-gradle-plugin/blob/7ad822fdfd6e9cde7e0f57649e9a6e78d533adff/src/main/kotlin/org/jetbrains/intellij/platform/gradle/providers/ModuleDescriptorsValueSource.kt#L90-L117

hsz avatar Nov 18 '24 11:11 hsz