From 08435084eebf983dae6480e974cc69c2fb2677d5 Mon Sep 17 00:00:00 2001 From: Aman tonk Date: Wed, 13 Nov 2024 10:40:56 +0900 Subject: [PATCH] Renamed Komoju Android SDK module name (#72) * Renamed android sdk Module name * Renamed android sdk Module name --- .github/workflows/deploy.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/verify.yml | 2 +- example-android/build.gradle.kts | 2 +- {android => komoju-android-sdk}/.gitignore | 0 {android => komoju-android-sdk}/build.gradle.kts | 0 {android => komoju-android-sdk}/consumer-rules.pro | 0 {android => komoju-android-sdk}/proguard-rules.pro | 0 .../src/androidTest/java/com/komoju/android/sdk/.keep | 0 {android => komoju-android-sdk}/src/main/AndroidManifest.xml | 0 .../src/main/java/com/komoju/android/sdk/KomojuAndroidSDK.kt | 0 .../main/java/com/komoju/android/sdk/KomojuPaymentActivity.kt | 0 .../main/java/com/komoju/android/sdk/KomojuPaymentViewModel.kt | 0 .../komoju/android/sdk/KomojuStartPaymentForResultContract.kt | 0 .../android/sdk/annotations/ExperimentalKomojuPaymentApi.kt | 0 .../src/main/java/com/komoju/android/sdk/types/Currency.kt | 0 .../src/main/java/com/komoju/android/sdk/types/Language.kt | 0 .../src/main/res/values/komoju_themes.xml | 0 {android => komoju-android-sdk}/src/main/res/values/strings.xml | 0 .../src/test/java/com/komoju/android/sdk/.keep | 0 settings.gradle.kts | 2 +- 21 files changed, 5 insertions(+), 5 deletions(-) rename {android => komoju-android-sdk}/.gitignore (100%) rename {android => komoju-android-sdk}/build.gradle.kts (100%) rename {android => komoju-android-sdk}/consumer-rules.pro (100%) rename {android => komoju-android-sdk}/proguard-rules.pro (100%) rename {android => komoju-android-sdk}/src/androidTest/java/com/komoju/android/sdk/.keep (100%) rename {android => komoju-android-sdk}/src/main/AndroidManifest.xml (100%) rename {android => komoju-android-sdk}/src/main/java/com/komoju/android/sdk/KomojuAndroidSDK.kt (100%) rename {android => komoju-android-sdk}/src/main/java/com/komoju/android/sdk/KomojuPaymentActivity.kt (100%) rename {android => komoju-android-sdk}/src/main/java/com/komoju/android/sdk/KomojuPaymentViewModel.kt (100%) rename {android => komoju-android-sdk}/src/main/java/com/komoju/android/sdk/KomojuStartPaymentForResultContract.kt (100%) rename {android => komoju-android-sdk}/src/main/java/com/komoju/android/sdk/annotations/ExperimentalKomojuPaymentApi.kt (100%) rename {android => komoju-android-sdk}/src/main/java/com/komoju/android/sdk/types/Currency.kt (100%) rename {android => komoju-android-sdk}/src/main/java/com/komoju/android/sdk/types/Language.kt (100%) rename {android => komoju-android-sdk}/src/main/res/values/komoju_themes.xml (100%) rename {android => komoju-android-sdk}/src/main/res/values/strings.xml (100%) rename {android => komoju-android-sdk}/src/test/java/com/komoju/android/sdk/.keep (100%) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index eff5046..0568025 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,7 +22,7 @@ jobs: # os: macos-latest - target: :shared:publishAllPublicationsToMavenCentralRepository os: ubuntu-latest - - target: :android:publishAllPublicationsToMavenCentralRepository + - target: :komoju-android-sdk:publishAllPublicationsToMavenCentralRepository os: ubuntu-latest runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 80678f0..9600a63 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -24,7 +24,7 @@ jobs: java-version: '17' - name: Generate Docs - run: chmod +x gradlew && ./gradlew :android:dokkaHtml + run: chmod +x gradlew && ./gradlew :komoju-android-sdk:dokkaHtml - name: Push uses: s0/git-publish-subdir-action@develop diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 5a3f4ed..d8c5a40 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -42,4 +42,4 @@ jobs: distribution: zulu java-version: 17 - name: Run Gradle - run: ./gradlew :android:lintDebug \ No newline at end of file + run: ./gradlew :komoju-android-sdk:lintDebug \ No newline at end of file diff --git a/example-android/build.gradle.kts b/example-android/build.gradle.kts index 6e34cda..387d58b 100644 --- a/example-android/build.gradle.kts +++ b/example-android/build.gradle.kts @@ -69,7 +69,7 @@ android { } dependencies { - implementation(project(":android")) + implementation(project(":komoju-android-sdk")) implementation(libs.core.ktx) implementation(libs.appcompat) implementation(libs.lifecycle.runtime.ktx) diff --git a/android/.gitignore b/komoju-android-sdk/.gitignore similarity index 100% rename from android/.gitignore rename to komoju-android-sdk/.gitignore diff --git a/android/build.gradle.kts b/komoju-android-sdk/build.gradle.kts similarity index 100% rename from android/build.gradle.kts rename to komoju-android-sdk/build.gradle.kts diff --git a/android/consumer-rules.pro b/komoju-android-sdk/consumer-rules.pro similarity index 100% rename from android/consumer-rules.pro rename to komoju-android-sdk/consumer-rules.pro diff --git a/android/proguard-rules.pro b/komoju-android-sdk/proguard-rules.pro similarity index 100% rename from android/proguard-rules.pro rename to komoju-android-sdk/proguard-rules.pro diff --git a/android/src/androidTest/java/com/komoju/android/sdk/.keep b/komoju-android-sdk/src/androidTest/java/com/komoju/android/sdk/.keep similarity index 100% rename from android/src/androidTest/java/com/komoju/android/sdk/.keep rename to komoju-android-sdk/src/androidTest/java/com/komoju/android/sdk/.keep diff --git a/android/src/main/AndroidManifest.xml b/komoju-android-sdk/src/main/AndroidManifest.xml similarity index 100% rename from android/src/main/AndroidManifest.xml rename to komoju-android-sdk/src/main/AndroidManifest.xml diff --git a/android/src/main/java/com/komoju/android/sdk/KomojuAndroidSDK.kt b/komoju-android-sdk/src/main/java/com/komoju/android/sdk/KomojuAndroidSDK.kt similarity index 100% rename from android/src/main/java/com/komoju/android/sdk/KomojuAndroidSDK.kt rename to komoju-android-sdk/src/main/java/com/komoju/android/sdk/KomojuAndroidSDK.kt diff --git a/android/src/main/java/com/komoju/android/sdk/KomojuPaymentActivity.kt b/komoju-android-sdk/src/main/java/com/komoju/android/sdk/KomojuPaymentActivity.kt similarity index 100% rename from android/src/main/java/com/komoju/android/sdk/KomojuPaymentActivity.kt rename to komoju-android-sdk/src/main/java/com/komoju/android/sdk/KomojuPaymentActivity.kt diff --git a/android/src/main/java/com/komoju/android/sdk/KomojuPaymentViewModel.kt b/komoju-android-sdk/src/main/java/com/komoju/android/sdk/KomojuPaymentViewModel.kt similarity index 100% rename from android/src/main/java/com/komoju/android/sdk/KomojuPaymentViewModel.kt rename to komoju-android-sdk/src/main/java/com/komoju/android/sdk/KomojuPaymentViewModel.kt diff --git a/android/src/main/java/com/komoju/android/sdk/KomojuStartPaymentForResultContract.kt b/komoju-android-sdk/src/main/java/com/komoju/android/sdk/KomojuStartPaymentForResultContract.kt similarity index 100% rename from android/src/main/java/com/komoju/android/sdk/KomojuStartPaymentForResultContract.kt rename to komoju-android-sdk/src/main/java/com/komoju/android/sdk/KomojuStartPaymentForResultContract.kt diff --git a/android/src/main/java/com/komoju/android/sdk/annotations/ExperimentalKomojuPaymentApi.kt b/komoju-android-sdk/src/main/java/com/komoju/android/sdk/annotations/ExperimentalKomojuPaymentApi.kt similarity index 100% rename from android/src/main/java/com/komoju/android/sdk/annotations/ExperimentalKomojuPaymentApi.kt rename to komoju-android-sdk/src/main/java/com/komoju/android/sdk/annotations/ExperimentalKomojuPaymentApi.kt diff --git a/android/src/main/java/com/komoju/android/sdk/types/Currency.kt b/komoju-android-sdk/src/main/java/com/komoju/android/sdk/types/Currency.kt similarity index 100% rename from android/src/main/java/com/komoju/android/sdk/types/Currency.kt rename to komoju-android-sdk/src/main/java/com/komoju/android/sdk/types/Currency.kt diff --git a/android/src/main/java/com/komoju/android/sdk/types/Language.kt b/komoju-android-sdk/src/main/java/com/komoju/android/sdk/types/Language.kt similarity index 100% rename from android/src/main/java/com/komoju/android/sdk/types/Language.kt rename to komoju-android-sdk/src/main/java/com/komoju/android/sdk/types/Language.kt diff --git a/android/src/main/res/values/komoju_themes.xml b/komoju-android-sdk/src/main/res/values/komoju_themes.xml similarity index 100% rename from android/src/main/res/values/komoju_themes.xml rename to komoju-android-sdk/src/main/res/values/komoju_themes.xml diff --git a/android/src/main/res/values/strings.xml b/komoju-android-sdk/src/main/res/values/strings.xml similarity index 100% rename from android/src/main/res/values/strings.xml rename to komoju-android-sdk/src/main/res/values/strings.xml diff --git a/android/src/test/java/com/komoju/android/sdk/.keep b/komoju-android-sdk/src/test/java/com/komoju/android/sdk/.keep similarity index 100% rename from android/src/test/java/com/komoju/android/sdk/.keep rename to komoju-android-sdk/src/test/java/com/komoju/android/sdk/.keep diff --git a/settings.gradle.kts b/settings.gradle.kts index 137f31a..8baffce 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -16,5 +16,5 @@ dependencyResolutionManagement { rootProject.name = "komoju-mobile-sdk" include(":shared") -include(":android") +include(":komoju-android-sdk") include(":example-android")