From f6187352da85c264ef877e1afd660bcf2c8e2587 Mon Sep 17 00:00:00 2001 From: skydoves Date: Fri, 2 Dec 2022 14:03:42 +0900 Subject: [PATCH] Rename module & package name to stream-log-android-file --- app/build.gradle.kts | 2 +- settings.gradle | 2 +- .../api/stream-log-android-file.api | 16 ++++++++-------- .../build.gradle | 2 +- .../src/main/AndroidManifest.xml | 6 +++--- .../log/android/file}/StreamLogFileManager.kt | 6 +++--- .../log/android/file}/StreamLogFileProvider.kt | 4 ++-- .../log/android/file}/StreamLogFileService.kt | 2 +- .../file}/impl/ActivityLifecycleCallbacks.kt | 2 +- .../file}/impl/LifecycleAwareLogFileManager.kt | 6 +++--- .../io/getstream/log/file/FileStreamLogger.kt | 0 .../src/main/res/xml/log_file_paths.xml | 0 12 files changed, 24 insertions(+), 24 deletions(-) rename stream-log-android-init/api/stream-log-android-init.api => stream-log-android-file/api/stream-log-android-file.api (87%) rename {stream-log-android-init => stream-log-android-file}/build.gradle (95%) rename {stream-log-android-init => stream-log-android-file}/src/main/AndroidManifest.xml (88%) rename {stream-log-android-init/src/main/kotlin/io/getstream/log/android/init => stream-log-android-file/src/main/kotlin/io/getstream/log/android/file}/StreamLogFileManager.kt (89%) rename {stream-log-android-init/src/main/kotlin/io/getstream/log/android/init => stream-log-android-file/src/main/kotlin/io/getstream/log/android/file}/StreamLogFileProvider.kt (96%) rename {stream-log-android-init/src/main/kotlin/io/getstream/log/android/init => stream-log-android-file/src/main/kotlin/io/getstream/log/android/file}/StreamLogFileService.kt (97%) rename {stream-log-android-init/src/main/kotlin/io/getstream/log/android/init => stream-log-android-file/src/main/kotlin/io/getstream/log/android/file}/impl/ActivityLifecycleCallbacks.kt (97%) rename {stream-log-android-init/src/main/kotlin/io/getstream/log/android/init => stream-log-android-file/src/main/kotlin/io/getstream/log/android/file}/impl/LifecycleAwareLogFileManager.kt (93%) rename {stream-log-android-init => stream-log-android-file}/src/main/kotlin/io/getstream/log/file/FileStreamLogger.kt (100%) rename {stream-log-android-init => stream-log-android-file}/src/main/res/xml/log_file_paths.xml (100%) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index c4a98ae..ae0dc9a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -36,7 +36,7 @@ dependencies { implementation(project(":stream-log")) implementation(project(":stream-log-file")) implementation(project(":stream-log-android")) - implementation(project(":stream-log-android-init")) + implementation(project(":stream-log-android-file")) // compose implementation(Dependencies.composeUi) diff --git a/settings.gradle b/settings.gradle index ee0b127..e6997e1 100644 --- a/settings.gradle +++ b/settings.gradle @@ -17,4 +17,4 @@ include ':app' include ':stream-log' include ':stream-log-file' include ':stream-log-android' -include ':stream-log-android-init' +include ':stream-log-android-file' diff --git a/stream-log-android-init/api/stream-log-android-init.api b/stream-log-android-file/api/stream-log-android-file.api similarity index 87% rename from stream-log-android-init/api/stream-log-android-init.api rename to stream-log-android-file/api/stream-log-android-file.api index 1d210dd..c09a22e 100644 --- a/stream-log-android-init/api/stream-log-android-init.api +++ b/stream-log-android-file/api/stream-log-android-file.api @@ -1,31 +1,31 @@ -public final class io/getstream/log/android/init/BuildConfig { +public final class io/getstream/log/android/file/BuildConfig { public static final field BUILD_TYPE Ljava/lang/String; public static final field DEBUG Z public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String; public fun ()V } -public final class io/getstream/log/android/init/StreamLogFileManager { - public static final field INSTANCE Lio/getstream/log/android/init/StreamLogFileManager; +public final class io/getstream/log/android/file/StreamLogFileManager { + public static final field INSTANCE Lio/getstream/log/android/file/StreamLogFileManager; public final fun clear ()V - public final fun init (Lio/getstream/log/android/init/StreamLogFileManager$ShareManager;Lio/getstream/log/android/init/StreamLogFileManager$ClearManager;)V + public final fun init (Lio/getstream/log/android/file/StreamLogFileManager$ShareManager;Lio/getstream/log/android/file/StreamLogFileManager$ClearManager;)V public final fun share ()V } -public abstract interface class io/getstream/log/android/init/StreamLogFileManager$ClearManager { +public abstract interface class io/getstream/log/android/file/StreamLogFileManager$ClearManager { public abstract fun clear ()V } -public abstract interface class io/getstream/log/android/init/StreamLogFileManager$ShareManager { +public abstract interface class io/getstream/log/android/file/StreamLogFileManager$ShareManager { public abstract fun share ()V } -public final class io/getstream/log/android/init/StreamLogFileProvider : androidx/core/content/FileProvider { +public final class io/getstream/log/android/file/StreamLogFileProvider : androidx/core/content/FileProvider { public fun ()V public fun onCreate ()Z } -public final class io/getstream/log/android/init/StreamLogFileService : android/app/Service { +public final class io/getstream/log/android/file/StreamLogFileService : android/app/Service { public fun ()V public fun onBind (Landroid/content/Intent;)Landroid/os/IBinder; public fun onStartCommand (Landroid/content/Intent;II)I diff --git a/stream-log-android-init/build.gradle b/stream-log-android-file/build.gradle similarity index 95% rename from stream-log-android-init/build.gradle rename to stream-log-android-file/build.gradle index 6bb3f6a..4fa818b 100644 --- a/stream-log-android-init/build.gradle +++ b/stream-log-android-file/build.gradle @@ -7,7 +7,7 @@ apply plugin: 'de.mannodermaus.android-junit5' ext { PUBLISH_GROUP_ID = Configuration.artifactGroup - PUBLISH_ARTIFACT_ID = 'stream-log-android-init' + PUBLISH_ARTIFACT_ID = 'stream-log-android-file' PUBLISH_VERSION = rootVersionName } diff --git a/stream-log-android-init/src/main/AndroidManifest.xml b/stream-log-android-file/src/main/AndroidManifest.xml similarity index 88% rename from stream-log-android-init/src/main/AndroidManifest.xml rename to stream-log-android-file/src/main/AndroidManifest.xml index e95a14a..44c5ef5 100644 --- a/stream-log-android-init/src/main/AndroidManifest.xml +++ b/stream-log-android-file/src/main/AndroidManifest.xml @@ -15,13 +15,13 @@ limitations under the License. --> @@ -37,7 +37,7 @@