Skip to content

Conversation

@Nava2
Copy link
Contributor

@Nava2 Nava2 commented Oct 31, 2025

Change added in #8292.

Remove skip() configurations for apiElements and runtimeElements variants to allow proper dependency publishing. Without this, the published POM was empty, causing Maven consumers to miss ktlint transitive dependencies.

The skip() configurations prevented the module's dependencies from being included in the generated POM file, breaking Maven-based projects that depend on detekt-rules-ktlint-wrapper.

Fixes #8626.

Remove skip() configurations for apiElements and runtimeElements variants
to allow proper dependency publishing. Without this, the published POM was
empty, causing Maven consumers to miss ktlint transitive dependencies.

The skip() configurations prevented the module's dependencies from being
included in the generated POM file, breaking Maven-based projects that
depend on detekt-rules-ktlint-wrapper.

Fixes detekt#8626.
@Nava2
Copy link
Contributor Author

Nava2 commented Oct 31, 2025

@3flex you made the original change, I believe this fixes #8626 though it's hard to validate entirely.

@codecov
Copy link

codecov bot commented Oct 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.38%. Comparing base (373d3e6) to head (04a6448).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #8824   +/-   ##
=========================================
  Coverage     85.38%   85.38%           
  Complexity     4376     4376           
=========================================
  Files           569      569           
  Lines         12517    12517           
  Branches       2604     2604           
=========================================
  Hits          10688    10688           
  Misses          693      693           
  Partials       1136     1136           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@atulgpt
Copy link
Contributor

atulgpt commented Dec 3, 2025

Hi @Nava2 shouldn't same fix will go for detekt-kotlin-analysis-api-standalone and detekt-kotlin-analysis-api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

detekt-kotlin-analysis-api and detekt-kotlin-analysis-api-standalone report as missing in 2.0.0-alpha0 under maven antrun

3 participants