Skip to content

Commit

Permalink
Fix lingering parity issue when both java-library and kotlin-jvm plug…
Browse files Browse the repository at this point in the history
…ins are applied.

For example, in Gradle plugin projects.
  • Loading branch information
autonomousapps committed Sep 29, 2023
1 parent 8d42e77 commit 696a6f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ internal class ProjectPlugin(private val project: Project) {
j.sourceSets.forEach { sourceSet ->
try {
val kind = sourceSet.jvmSourceSetKind()
val hasAbi = hasAbi(sourceSet)

// Regardless of the fact that this is a "java-library" project, the presence of Spring
// Boot indicates an app project.
Expand All @@ -358,7 +359,6 @@ internal class ProjectPlugin(private val project: Project) {
kind = kind
)
} else {
val hasAbi = configurations.findByName(sourceSet.apiConfigurationName) != null
if (hasAbi) {
JavaWithAbiAnalyzer(
project = this,
Expand Down

0 comments on commit 696a6f9

Please sign in to comment.