Move BindingReflectionHintsRegistrar to spring-context

Closes gh-28735
This commit is contained in:
Sébastien Deleuze 2022-06-30 11:56:08 +02:00
parent c5cf7c0ab0
commit 9135921d1d
6 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,7 @@
description = "Spring Context"
apply plugin: "kotlin"
apply plugin: "kotlinx-serialization"
dependencies {
api(project(":spring-aop"))
@ -32,6 +33,7 @@ dependencies {
testImplementation("org.apache.commons:commons-pool2")
testImplementation("org.awaitility:awaitility")
testImplementation("jakarta.inject:jakarta.inject-tck")
testImplementation("org.jetbrains.kotlinx:kotlinx-serialization-json")
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)

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.aot.hint.support;
package org.springframework.context.aot;
import java.beans.BeanInfo;
import java.beans.IntrospectionException;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.aot.hint.support;
package org.springframework.context.aot;
import java.lang.reflect.Type;
import java.util.List;

View File

@ -14,7 +14,7 @@
* 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.ThrowingConsumer

View File

@ -3,7 +3,6 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
description = "Spring Core"
apply plugin: "kotlin"
apply plugin: "kotlinx-serialization"
// 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
@ -71,7 +70,6 @@ dependencies {
testImplementation("io.projectreactor:reactor-test")
testImplementation("io.projectreactor.tools:blockhound")
testImplementation("org.skyscreamer:jsonassert")
testImplementation("org.jetbrains.kotlinx:kotlinx-serialization-json")
testFixturesImplementation("com.google.code.findbugs:jsr305")
testFixturesImplementation("org.junit.platform:junit-platform-launcher")
testFixturesImplementation("org.junit.jupiter:junit-jupiter-api")

View File

@ -24,7 +24,7 @@ import java.lang.reflect.Type;
import org.springframework.aot.hint.ExecutableMode;
import org.springframework.aot.hint.ReflectionHints;
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.annotation.AnnotatedElementUtils;
import org.springframework.http.HttpEntity;