Skip to content

Commit 2de9969

Browse files
committedApr 5, 2024·
Delegate 'spring-boot.run.main-class' to 'start-class'
Closes gh-40145
1 parent 3ed77ae commit 2de9969

File tree

1 file changed

+2
-1
lines changed
  • spring-boot-project/spring-boot-starters/spring-boot-starter-parent

1 file changed

+2
-1
lines changed
 

‎spring-boot-project/spring-boot-starters/spring-boot-starter-parent/build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ publishing.publications.withType(MavenPublication) {
2424
delegate."maven.compiler.release"('${java.version}')
2525
delegate."project.build.sourceEncoding"('UTF-8')
2626
delegate."project.reporting.outputEncoding"('UTF-8')
27+
delegate."spring-boot.run.main-class"('${start-class}')
2728
}
2829
}
2930
root.scm.plus {
@@ -182,7 +183,7 @@ publishing.publications.withType(MavenPublication) {
182183
}
183184
}
184185
configuration {
185-
delegate.mainClass('${start-class}')
186+
delegate.mainClass('${spring-boot.run.main-class}')
186187
}
187188
}
188189
plugin {

0 commit comments

Comments
 (0)
Please sign in to comment.