Skip to content

Commit 6c882f0

Browse files
authored
Remove dead code in build.gradle.kts
`localProperties` was committed in the initial commit, but no trace of real usage. It might have been copied by mistake.
1 parent f84eab3 commit 6c882f0

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

app/build.gradle.kts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* limitations under the License.
1515
*/
1616
import com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsExtension
17-
import java.io.FileInputStream
18-
import java.util.Properties
1917

2018
plugins {
2119
alias(libs.plugins.android.application)
@@ -29,20 +27,6 @@ plugins {
2927
alias(libs.plugins.baselineprofile)
3028
}
3129

32-
33-
// Function to load properties from a file (e.g., local.properties)
34-
fun loadProperties(filePath: String): Properties {
35-
val properties = Properties()
36-
try {
37-
FileInputStream(filePath).use { properties.load(it) }
38-
} catch (e: Exception) {
39-
println("Error loading properties: ${e.message}")
40-
}
41-
return properties
42-
}
43-
44-
val localProperties = loadProperties(rootProject.file("local.properties").absolutePath)
45-
4630
android {
4731
namespace = "com.android.developers.androidify"
4832
compileSdk = libs.versions.compileSdk.get().toInt()

0 commit comments

Comments
 (0)