Prior to this commit, GroovyDynamicElementReader was implemented in Groovy, which required that developers have Groovy language support installed and configured in their IDEs. This commit ports GroovyDynamicElementReader from Groovy to Java, making the compilation much simpler and allowing developers to open the project in Eclipse or VSCode (or other IDEs without Groovy support) without compiler errors. This commit also converts related tests from Groovy to Java. Closes gh-27945
46 lines
2.1 KiB
Groovy
46 lines
2.1 KiB
Groovy
description = "Spring Context"
|
|
|
|
apply plugin: "kotlin"
|
|
|
|
dependencies {
|
|
api(project(":spring-aop"))
|
|
api(project(":spring-beans"))
|
|
api(project(":spring-core"))
|
|
api(project(":spring-expression"))
|
|
optional(project(":spring-instrument"))
|
|
optional("jakarta.annotation:jakarta.annotation-api")
|
|
optional("jakarta.ejb:jakarta.ejb-api")
|
|
optional("jakarta.enterprise.concurrent:jakarta.enterprise.concurrent-api")
|
|
optional("jakarta.inject:jakarta.inject-api")
|
|
optional("jakarta.interceptor:jakarta.interceptor-api")
|
|
optional("jakarta.validation:jakarta.validation-api")
|
|
optional("javax.money:money-api")
|
|
optional("org.aspectj:aspectjweaver")
|
|
optional("org.codehaus.groovy:groovy")
|
|
optional("org.apache-extras.beanshell:bsh")
|
|
optional("org.hibernate:hibernate-validator")
|
|
optional("org.jetbrains.kotlin:kotlin-reflect")
|
|
optional("org.jetbrains.kotlin:kotlin-stdlib")
|
|
optional("org.reactivestreams:reactive-streams")
|
|
testImplementation(testFixtures(project(":spring-aop")))
|
|
testImplementation(testFixtures(project(":spring-beans")))
|
|
testImplementation(testFixtures(project(":spring-core")))
|
|
testImplementation("io.projectreactor:reactor-core")
|
|
testImplementation("org.codehaus.groovy:groovy-jsr223")
|
|
testImplementation("org.codehaus.groovy:groovy-test")
|
|
testImplementation("org.codehaus.groovy:groovy-xml")
|
|
testImplementation("org.apache.commons:commons-pool2")
|
|
testImplementation("org.awaitility:awaitility")
|
|
testImplementation("jakarta.inject:jakarta.inject-tck")
|
|
testRuntimeOnly("jakarta.xml.bind:jakarta.xml.bind-api")
|
|
testRuntimeOnly("org.glassfish:jakarta.el")
|
|
// Substitute for javax.management:jmxremote_optional:1.0.1_04 (not available on Maven Central)
|
|
testRuntimeOnly("org.glassfish.external:opendmk_jmxremote_optional_jar")
|
|
testRuntimeOnly("org.javamoney:moneta")
|
|
testRuntimeOnly("org.junit.vintage:junit-vintage-engine") // for @Inject TCK
|
|
testFixturesApi("org.junit.jupiter:junit-jupiter-api")
|
|
testFixturesImplementation(testFixtures(project(":spring-beans")))
|
|
testFixturesImplementation("com.google.code.findbugs:jsr305")
|
|
testFixturesImplementation("org.assertj:assertj-core")
|
|
}
|