mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Backport 'Support import into Eclipse 2022-06'
Backport `spring-boot-cli` gradle fix from d4ed2bd4
to allow clean
import into Eclipse 2022-06 and above.
This commit is contained in:
parent
e912c1b2b8
commit
b5cf3e0a1a
@ -1,5 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "java"
|
id "java"
|
||||||
|
id "eclipse"
|
||||||
id "org.springframework.boot.deployed"
|
id "org.springframework.boot.deployed"
|
||||||
id "org.springframework.boot.conventions"
|
id "org.springframework.boot.conventions"
|
||||||
id "org.springframework.boot.integration-test"
|
id "org.springframework.boot.integration-test"
|
||||||
@ -11,10 +12,12 @@ configurations {
|
|||||||
dependenciesBom
|
dependenciesBom
|
||||||
loader
|
loader
|
||||||
testRepository
|
testRepository
|
||||||
|
compileOnlyProject
|
||||||
|
compileClasspath.extendsFrom(compileOnlyProject)
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly(project(":spring-boot-project:spring-boot"))
|
compileOnlyProject(project(":spring-boot-project:spring-boot"))
|
||||||
compileOnly("jakarta.servlet:jakarta.servlet-api")
|
compileOnly("jakarta.servlet:jakarta.servlet-api")
|
||||||
compileOnly("org.codehaus.groovy:groovy-templates")
|
compileOnly("org.codehaus.groovy:groovy-templates")
|
||||||
compileOnly("org.springframework:spring-web")
|
compileOnly("org.springframework:spring-web")
|
||||||
@ -185,3 +188,6 @@ publishing {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
eclipse.classpath { // https://github.com/eclipse/buildship/issues/939
|
||||||
|
plusConfigurations += [ configurations.compileOnlyProject ]
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user