mirror of
https://github.com/status-im/status-keycard.git
synced 2025-01-13 07:14:11 +00:00
forward the the pairing password setting to the JDK
This commit is contained in:
parent
ee12e6e1a3
commit
c803265ac1
@ -39,6 +39,11 @@ if (!testTarget) {
|
||||
testTarget = 'card'
|
||||
}
|
||||
|
||||
def pairingPass = project.properties['im.status.keycard.test.pairing']
|
||||
if (!pairingPass) {
|
||||
pairingPass = 'KeycardTest'
|
||||
}
|
||||
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -85,7 +90,8 @@ compileTestJava {
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
def jvmArgs = ["-Dim.status.keycard.test.target=${testTarget}"]
|
||||
def jvmArgs = ["-Dim.status.keycard.test.target=${testTarget}", "-Dim.status.keycard.test.pairing=${pairingPass}"]
|
||||
|
||||
if (testTarget == 'simulator') {
|
||||
jvmArgs.push('-noverify')
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user