From 3a484fe676202fb7bca473194bd3f52ca8cb7b38 Mon Sep 17 00:00:00 2001 From: shitzuu Date: Mon, 12 Aug 2024 23:10:55 +0200 Subject: [PATCH] Use buildSrc to organize project structure --- .idea/gradle.xml | 14 +++++++- .idea/kotlinc.xml | 6 ++++ build.gradle.kts | 26 -------------- buildSrc/build.gradle.kts | 14 ++++++++ buildSrc/src/main/kotlin/dew-java.gradle.kts | 20 +++++++++++ .../src/main/kotlin/dew-publish.gradle.kts | 34 +++++++++++++++++++ .../main/kotlin/dew-repositories.gradle.kts | 7 ++++ dew-common/build.gradle.kts | 12 +++++++ .../src}/dev/shiza/dew/Dew.java | 0 .../src}/dev/shiza/dew/event/Event.java | 0 .../src}/dev/shiza/dew/event/EventBus.java | 0 .../dev/shiza/dew/event/EventBusImpl.java | 0 .../dew/event/EventPublishingException.java | 0 .../dev/shiza/dew/subscription/Subscribe.java | 0 .../shiza/dew/subscription/Subscriber.java | 0 .../subscription/SubscribingException.java | 0 .../shiza/dew/subscription/Subscription.java | 0 .../dew/subscription/SubscriptionFacade.java | 0 .../dew/subscription/SubscriptionService.java | 0 gradle.properties | 9 +++++ settings.gradle.kts | 2 +- 21 files changed, 116 insertions(+), 28 deletions(-) create mode 100644 .idea/kotlinc.xml delete mode 100644 build.gradle.kts create mode 100644 buildSrc/build.gradle.kts create mode 100644 buildSrc/src/main/kotlin/dew-java.gradle.kts create mode 100644 buildSrc/src/main/kotlin/dew-publish.gradle.kts create mode 100644 buildSrc/src/main/kotlin/dew-repositories.gradle.kts create mode 100644 dew-common/build.gradle.kts rename {src/main/java => dew-common/src}/dev/shiza/dew/Dew.java (100%) rename {src/main/java => dew-common/src}/dev/shiza/dew/event/Event.java (100%) rename {src/main/java => dew-common/src}/dev/shiza/dew/event/EventBus.java (100%) rename {src/main/java => dew-common/src}/dev/shiza/dew/event/EventBusImpl.java (100%) rename {src/main/java => dew-common/src}/dev/shiza/dew/event/EventPublishingException.java (100%) rename {src/main/java => dew-common/src}/dev/shiza/dew/subscription/Subscribe.java (100%) rename {src/main/java => dew-common/src}/dev/shiza/dew/subscription/Subscriber.java (100%) rename {src/main/java => dew-common/src}/dev/shiza/dew/subscription/SubscribingException.java (100%) rename {src/main/java => dew-common/src}/dev/shiza/dew/subscription/Subscription.java (100%) rename {src/main/java => dew-common/src}/dev/shiza/dew/subscription/SubscriptionFacade.java (100%) rename {src/main/java => dew-common/src}/dev/shiza/dew/subscription/SubscriptionService.java (100%) create mode 100644 gradle.properties diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 2a65317..ed8af9a 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -4,11 +4,23 @@