From eed4539ae832115000080219767316c421e6348c Mon Sep 17 00:00:00 2001 From: Marvin Schramm Date: Mon, 8 Mar 2021 23:13:14 +0100 Subject: [PATCH] fix autoconfiguration package name --- .../autoconfiguration/StripeWebhookAutoConfiguration.kt | 4 ++-- starter/src/main/resources/META-INF/spring.factories | 2 +- .../io/hndrs/autoconfiguration/AutoConfigurationTests.kt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename starter/src/main/kotlin/io/{hdnrs => hndrs}/autoconfiguration/StripeWebhookAutoConfiguration.kt (93%) diff --git a/starter/src/main/kotlin/io/hdnrs/autoconfiguration/StripeWebhookAutoConfiguration.kt b/starter/src/main/kotlin/io/hndrs/autoconfiguration/StripeWebhookAutoConfiguration.kt similarity index 93% rename from starter/src/main/kotlin/io/hdnrs/autoconfiguration/StripeWebhookAutoConfiguration.kt rename to starter/src/main/kotlin/io/hndrs/autoconfiguration/StripeWebhookAutoConfiguration.kt index 7c751ce..3115073 100644 --- a/starter/src/main/kotlin/io/hdnrs/autoconfiguration/StripeWebhookAutoConfiguration.kt +++ b/starter/src/main/kotlin/io/hndrs/autoconfiguration/StripeWebhookAutoConfiguration.kt @@ -1,8 +1,8 @@ -package io.hdnrs.autoconfiguration +package io.hndrs.autoconfiguration import com.stripe.Stripe import com.stripe.model.StripeObject -import io.hdnrs.autoconfiguration.StripeConfigurationProperties.Companion.PROPERTY_PREFIX +import io.hndrs.autoconfiguration.StripeConfigurationProperties.Companion.PROPERTY_PREFIX import io.hndrs.stripe.StripeEventReceiver import io.hndrs.stripe.StripeEventWebhook import org.springframework.boot.autoconfigure.condition.ConditionalOnClass diff --git a/starter/src/main/resources/META-INF/spring.factories b/starter/src/main/resources/META-INF/spring.factories index 67d5a09..6e4839e 100644 --- a/starter/src/main/resources/META-INF/spring.factories +++ b/starter/src/main/resources/META-INF/spring.factories @@ -1,2 +1,2 @@ org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ - io.hdnrs.autoconfiguration.StripeWebhookAutoConfiguration + io.hndrs.autoconfiguration.StripeWebhookAutoConfiguration diff --git a/starter/src/test/kotlin/io/hndrs/autoconfiguration/AutoConfigurationTests.kt b/starter/src/test/kotlin/io/hndrs/autoconfiguration/AutoConfigurationTests.kt index 86fd12d..1636f1a 100644 --- a/starter/src/test/kotlin/io/hndrs/autoconfiguration/AutoConfigurationTests.kt +++ b/starter/src/test/kotlin/io/hndrs/autoconfiguration/AutoConfigurationTests.kt @@ -1,7 +1,7 @@ package io.hndrs.autoconfiguration import com.stripe.Stripe -import io.hdnrs.autoconfiguration.StripeWebhookAutoConfiguration +import io.hndrs.autoconfiguration.StripeWebhookAutoConfiguration import io.hndrs.stripe.StripeEventWebhook import org.junit.jupiter.api.Assertions.assertNotNull import org.junit.jupiter.api.Assertions.assertThrows