Skip to content

Commit

Permalink
Remove unnecessary loading sentry dsn from local.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
LZRS committed Sep 20, 2022
1 parent 1c31914 commit 5acef69
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions android-json-form-wizard/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,6 @@ jacoco {
reportsDir = file("$buildDir/reports/jacoco")
}

Properties properties = new Properties()
if (project.rootProject.file("local.properties").exists()) {
properties.load(project.rootProject.file("local.properties").newDataInputStream())
}
ext.getLocalProperty = { key ->
if (properties != null && properties.containsKey(key)) {
println(key + ": " + properties[key])
return properties[key]
} else {
return "\"123\""
}
}

android {
compileSdkVersion androidCompileSdkVersion
buildToolsVersion androidBuildToolsVersion
Expand All @@ -52,7 +39,6 @@ android {
}

multiDexKeepProguard file('multidex-config.pro')
manifestPlaceholders += [ sentryDsnId:getLocalProperty("sentry.dsn")]
}

buildTypes {
Expand Down

0 comments on commit 5acef69

Please sign in to comment.