Skip to content

Commit f982948

Browse files
authored
Merge pull request #145 from microsoftgraph/enable-signing
Enable signing using local.properties
2 parents c9d3330 + 8d1d741 commit f982948

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ gradle.taskGraph.whenReady { taskGraph ->
299299
if (project.rootProject.file('local.properties').exists()) {
300300
Properties properties = new Properties()
301301
properties.load(project.rootProject.file('local.properties').newDataInputStream())
302+
tasks.withType(Sign)*.enabled = properties.getProperty('enableSigning').toBoolean()
302303
allprojects { ext."signing.keyId" = properties.getProperty('signing.keyId') }
303304
allprojects { ext."signing.secretKeyRingFile" = properties.getProperty('signing.secretKeyRingFile') }
304305
allprojects { ext."signing.password" = properties.getProperty('signing.password') }

0 commit comments

Comments
 (0)