Skip to content

Commit

Permalink
Wrapped properties inside publish task to solve the build issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
amitsid1408 committed May 13, 2024
1 parent f5cb424 commit 7d0e465
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions smart-storage/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ val getArtifactId = { ->
"com.ss.smart-storage" // Replace with library name ID
}

val githubProperties = Properties()
githubProperties.load(FileInputStream(rootProject.file("github.properties")))


android {
namespace = "com.ss.smart-storage"
compileSdk = 34
Expand Down Expand Up @@ -54,6 +50,9 @@ android {
}

publishing {
val githubProperties = Properties()
githubProperties.load(FileInputStream(rootProject.file("github.properties")))

repositories {
maven {
name = "GitHubPackages"
Expand Down

0 comments on commit 7d0e465

Please sign in to comment.