Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix Spring Boot ASM conflict by following Genie's plugin pattern
- Add Spring Boot plugin declaration with 'apply false' to root build.gradle
- Remove version from maestro-server Spring Boot plugin (inherits from root)
- This isolates Spring Boot plugin buildscript dependencies from Nebula plugin
- Resolves java.lang.NoSuchMethodError for org.springframework.asm.Type

The 'apply false' pattern prevents buildscript classpath pollution and ASM
version conflicts between Nebula Netflix OSS plugin and Spring Boot plugin.

References Netflix Genie's build configuration for multi-module projects.
  • Loading branch information
rdeepak2002 committed Dec 22, 2025
commit eac84b8d0dec50b2478fbc72c38c868a9349f594
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ buildscript {

plugins {
id "com.netflix.nebula.netflixoss" version "11.6.0" apply false
// The apply false pattern prevents the Spring Boot plugin's buildscript dependencies from polluting
// the root buildscript classpath, avoiding ASM version conflicts with the Nebula plugin.
// Subprojects that need Spring Boot (like maestro-server) inherit this declaration without a version.
id "org.springframework.boot" version "3.+" apply false
}

apply from: "${rootDir}/dependencies.gradle"
Expand Down
2 changes: 1 addition & 1 deletion maestro-server/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'org.springframework.boot' version '3.+'
id 'org.springframework.boot' // Version inherited from root build.gradle
}

sourceSets {
Expand Down
Loading