Skip to content

Commit

Permalink
Always use rootProject to get store file
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 committed Aug 30, 2023
1 parent 876bc93 commit f48f2fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apksign/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ java {
targetCompatibility = JavaVersion.VERSION_17
}

version = "1.2"
version = "1.3"

kotlin {
jvmToolchain(17)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ private open class ApksignExtensionImpl(private val project: Project) : ApksignE
override var storeFileProperty: String? = null
set(value) {
field = value
storeFile = (project.properties.getOrDefault(value, null) as? String?)?.let { project.file(it) }
storeFile = (project.rootProject.properties.getOrDefault(value, null) as? String?)?.let { project.file(it) }
maybeConfig()
}
override var storePasswordProperty: String? = null
Expand Down

0 comments on commit f48f2fe

Please sign in to comment.