Permalink
Browse files

Added distribution lists to TestFlight

  • Loading branch information...
1 parent 92d75e8 commit 5c3413e32e3160a9a48d6cf586c34507f91ec2bc drewmca committed Apr 12, 2013
@@ -24,6 +24,7 @@ class TestFlightPluginExtension {
def String apiToken = null
def String teamToken = null
def String notes = "This build was uploaded using the gradle xcodePlugin"
+ def String distributionLists = null
private final Project project
@@ -93,6 +93,7 @@ class TestFlightUploadTask extends DefaultTask {
println "api_token " + project.testflight.apiToken
println "team_token " + project.testflight.teamToken
+ println "distribution_lists" + project.testflight.distributionLists
println "notes " + project.testflight.notes
println "file " + ipaFile
println "dsym " + dSYMFile
@@ -101,6 +102,7 @@ class TestFlightUploadTask extends DefaultTask {
entity.addPart("api_token", new StringBody(project.testflight.apiToken))
entity.addPart("team_token", new StringBody(project.testflight.teamToken))
entity.addPart("notes", new StringBody(project.testflight.notes))
+ entity.addPart("distribution_lists", new StringBody(project.testflight.distributionLists))
entity.addPart("file", new FileBody(ipaFile))
entity.addPart("dsym", new FileBody(dSYMFile))

0 comments on commit 5c3413e

Please sign in to comment.