diff --git a/android/.gitignore b/android/.gitignore index aa724b77..88e4264a 100644 --- a/android/.gitignore +++ b/android/.gitignore @@ -13,3 +13,6 @@ .externalNativeBuild .cxx local.properties + +# Sentry Config File +sentry.properties diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 817b974c..491bc072 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -57,18 +57,6 @@ android { composeOptions { kotlinCompilerExtensionVersion = libs.versions.composeCompilerExtension.get() } - emerge { - snapshots { - tag.set("snapshot") - } - - vcs { - gitHub { - repoName.set("hackernews") - repoOwner.set("EmergeTools") - } - } - } packaging { resources { excludes += "/META-INF/{AL2.0,LGPL2.1}" @@ -76,6 +64,27 @@ android { } } +emerge { + snapshots { + tag.set("snapshot") + } + + vcs { + gitHub { + repoName.set("hackernews") + repoOwner.set("EmergeTools") + } + } +} + +sentry { + org.set("emerge-tools") + projectName.set("hackernews-android") + + // Don't upload source code to Sentry + includeSourceContext.set(false) +} + dependencies { implementation(libs.androidx.core.ktx)