Skip to content

Commit

Permalink
Fix sentry for release, move emerge block out of Android block (#104)
Browse files Browse the repository at this point in the history
Runs sentry setup wizard and configures project.

Also moves emerge block out of android block
  • Loading branch information
rbro112 authored Aug 7, 2024
1 parent 73d1ae6 commit dfd25ba
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
3 changes: 3 additions & 0 deletions android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@
.externalNativeBuild
.cxx
local.properties

# Sentry Config File
sentry.properties
33 changes: 21 additions & 12 deletions android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,25 +57,34 @@ 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}"
}
}
}

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)
Expand Down

0 comments on commit dfd25ba

Please sign in to comment.