From d73d135fa5b4eafe13e51a8372c7a8f77c9f6bd0 Mon Sep 17 00:00:00 2001 From: Kevin Boulongne Date: Mon, 21 Oct 2024 14:27:20 +0200 Subject: [PATCH] refactor: Rename SentryLog module into Sentry --- Core2/{SentryLog => Sentry}/build.gradle.kts | 4 ++-- Core2/{SentryLog => Sentry}/consumer-rules.pro | 0 Core2/{SentryLog => Sentry}/proguard-rules.pro | 0 .../src/main/java/com/infomaniak/sentry}/SentryLog.kt | 2 +- .../sentrylog.versions.toml => gradle/core2.versions.toml} | 0 app/build.gradle.kts | 2 +- settings.gradle.kts | 4 ++-- 7 files changed, 6 insertions(+), 6 deletions(-) rename Core2/{SentryLog => Sentry}/build.gradle.kts (88%) rename Core2/{SentryLog => Sentry}/consumer-rules.pro (100%) rename Core2/{SentryLog => Sentry}/proguard-rules.pro (100%) rename Core2/{SentryLog/src/main/java/com/infomaniak/sentrylog => Sentry/src/main/java/com/infomaniak/sentry}/SentryLog.kt (99%) rename Core2/{SentryLog/gradle/sentrylog.versions.toml => gradle/core2.versions.toml} (100%) diff --git a/Core2/SentryLog/build.gradle.kts b/Core2/Sentry/build.gradle.kts similarity index 88% rename from Core2/SentryLog/build.gradle.kts rename to Core2/Sentry/build.gradle.kts index 33d1ef8b6f..229de5fb8c 100644 --- a/Core2/SentryLog/build.gradle.kts +++ b/Core2/Sentry/build.gradle.kts @@ -4,7 +4,7 @@ plugins { } android { - namespace = "com.infomaniak.sentrylog" + namespace = "com.infomaniak.sentry" compileSdk = 34 defaultConfig { @@ -30,5 +30,5 @@ android { } dependencies { - implementation(sentrylog.sentry.android) + api(core2.sentry.android) } diff --git a/Core2/SentryLog/consumer-rules.pro b/Core2/Sentry/consumer-rules.pro similarity index 100% rename from Core2/SentryLog/consumer-rules.pro rename to Core2/Sentry/consumer-rules.pro diff --git a/Core2/SentryLog/proguard-rules.pro b/Core2/Sentry/proguard-rules.pro similarity index 100% rename from Core2/SentryLog/proguard-rules.pro rename to Core2/Sentry/proguard-rules.pro diff --git a/Core2/SentryLog/src/main/java/com/infomaniak/sentrylog/SentryLog.kt b/Core2/Sentry/src/main/java/com/infomaniak/sentry/SentryLog.kt similarity index 99% rename from Core2/SentryLog/src/main/java/com/infomaniak/sentrylog/SentryLog.kt rename to Core2/Sentry/src/main/java/com/infomaniak/sentry/SentryLog.kt index c8136c6af6..fb818c04d7 100644 --- a/Core2/SentryLog/src/main/java/com/infomaniak/sentrylog/SentryLog.kt +++ b/Core2/Sentry/src/main/java/com/infomaniak/sentry/SentryLog.kt @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package com.infomaniak.sentrylog +package com.infomaniak.sentry import android.util.Log import io.sentry.Breadcrumb diff --git a/Core2/SentryLog/gradle/sentrylog.versions.toml b/Core2/gradle/core2.versions.toml similarity index 100% rename from Core2/SentryLog/gradle/sentrylog.versions.toml rename to Core2/gradle/core2.versions.toml diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 3cce8cbaaa..97c49f1e56 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -80,7 +80,7 @@ sentry { } dependencies { - implementation(project(":Core2:SentryLog")) + implementation(project(":Core2:Sentry")) implementation(project(":FileTypes")) implementation(kotlin("reflect")) diff --git a/settings.gradle.kts b/settings.gradle.kts index b3e7443f00..4a8de3dc0a 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -22,7 +22,7 @@ dependencyResolutionManagement { maven { url = uri("https://jitpack.io") } } versionCatalogs { - create("sentrylog") { from(files("Core2/SentryLog/gradle/sentrylog.versions.toml")) } + create("core2") { from(files("Core2/gradle/core2.versions.toml")) } create("filetypes") { from(files("FileTypes/gradle/filetypes.versions.toml")) } } } @@ -30,5 +30,5 @@ dependencyResolutionManagement { rootProject.name = "android-SwissTransfer" include(":app") include(":Core2") -include(":Core2:SentryLog") +include(":Core2:Sentry") include(":FileTypes")