Move BindingReflectionHintsRegistrar to spring-context
Closes gh-28735
This commit is contained in:
parent
c5cf7c0ab0
commit
9135921d1d
|
@ -1,6 +1,7 @@
|
||||||
description = "Spring Context"
|
description = "Spring Context"
|
||||||
|
|
||||||
apply plugin: "kotlin"
|
apply plugin: "kotlin"
|
||||||
|
apply plugin: "kotlinx-serialization"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(project(":spring-aop"))
|
api(project(":spring-aop"))
|
||||||
|
@ -32,6 +33,7 @@ dependencies {
|
||||||
testImplementation("org.apache.commons:commons-pool2")
|
testImplementation("org.apache.commons:commons-pool2")
|
||||||
testImplementation("org.awaitility:awaitility")
|
testImplementation("org.awaitility:awaitility")
|
||||||
testImplementation("jakarta.inject:jakarta.inject-tck")
|
testImplementation("jakarta.inject:jakarta.inject-tck")
|
||||||
|
testImplementation("org.jetbrains.kotlinx:kotlinx-serialization-json")
|
||||||
testRuntimeOnly("jakarta.xml.bind:jakarta.xml.bind-api")
|
testRuntimeOnly("jakarta.xml.bind:jakarta.xml.bind-api")
|
||||||
testRuntimeOnly("org.glassfish:jakarta.el")
|
testRuntimeOnly("org.glassfish:jakarta.el")
|
||||||
// Substitute for javax.management:jmxremote_optional:1.0.1_04 (not available on Maven Central)
|
// Substitute for javax.management:jmxremote_optional:1.0.1_04 (not available on Maven Central)
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.springframework.aot.hint.support;
|
package org.springframework.context.aot;
|
||||||
|
|
||||||
import java.beans.BeanInfo;
|
import java.beans.BeanInfo;
|
||||||
import java.beans.IntrospectionException;
|
import java.beans.IntrospectionException;
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.springframework.aot.hint.support;
|
package org.springframework.context.aot;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.springframework.aot.hint.support
|
package org.springframework.context.aot
|
||||||
|
|
||||||
import org.assertj.core.api.Assertions.assertThat
|
import org.assertj.core.api.Assertions.assertThat
|
||||||
import org.assertj.core.api.ThrowingConsumer
|
import org.assertj.core.api.ThrowingConsumer
|
|
@ -3,7 +3,6 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
||||||
description = "Spring Core"
|
description = "Spring Core"
|
||||||
|
|
||||||
apply plugin: "kotlin"
|
apply plugin: "kotlin"
|
||||||
apply plugin: "kotlinx-serialization"
|
|
||||||
|
|
||||||
// spring-core includes asm, javapoet and repackages cglib, inlining all into the
|
// spring-core includes asm, javapoet and repackages cglib, inlining all into the
|
||||||
// spring-core jar. cglib itself depends on asm and is therefore further transformed by
|
// spring-core jar. cglib itself depends on asm and is therefore further transformed by
|
||||||
|
@ -71,7 +70,6 @@ dependencies {
|
||||||
testImplementation("io.projectreactor:reactor-test")
|
testImplementation("io.projectreactor:reactor-test")
|
||||||
testImplementation("io.projectreactor.tools:blockhound")
|
testImplementation("io.projectreactor.tools:blockhound")
|
||||||
testImplementation("org.skyscreamer:jsonassert")
|
testImplementation("org.skyscreamer:jsonassert")
|
||||||
testImplementation("org.jetbrains.kotlinx:kotlinx-serialization-json")
|
|
||||||
testFixturesImplementation("com.google.code.findbugs:jsr305")
|
testFixturesImplementation("com.google.code.findbugs:jsr305")
|
||||||
testFixturesImplementation("org.junit.platform:junit-platform-launcher")
|
testFixturesImplementation("org.junit.platform:junit-platform-launcher")
|
||||||
testFixturesImplementation("org.junit.jupiter:junit-jupiter-api")
|
testFixturesImplementation("org.junit.jupiter:junit-jupiter-api")
|
||||||
|
|
|
@ -24,7 +24,7 @@ import java.lang.reflect.Type;
|
||||||
import org.springframework.aot.hint.ExecutableMode;
|
import org.springframework.aot.hint.ExecutableMode;
|
||||||
import org.springframework.aot.hint.ReflectionHints;
|
import org.springframework.aot.hint.ReflectionHints;
|
||||||
import org.springframework.aot.hint.annotation.ReflectiveProcessor;
|
import org.springframework.aot.hint.annotation.ReflectiveProcessor;
|
||||||
import org.springframework.aot.hint.support.BindingReflectionHintsRegistrar;
|
import org.springframework.context.aot.BindingReflectionHintsRegistrar;
|
||||||
import org.springframework.core.MethodParameter;
|
import org.springframework.core.MethodParameter;
|
||||||
import org.springframework.core.annotation.AnnotatedElementUtils;
|
import org.springframework.core.annotation.AnnotatedElementUtils;
|
||||||
import org.springframework.http.HttpEntity;
|
import org.springframework.http.HttpEntity;
|
||||||
|
|
Loading…
Reference in New Issue