Extracted iOSIsRealDevice so that it's easier to switch between iOS Simulator and real device
This commit is contained in:
parent
a821237641
commit
397acebf79
|
@ -30,6 +30,11 @@ ext {
|
|||
hbci4jVersion = '3.1.37'
|
||||
|
||||
|
||||
/* iOS */
|
||||
|
||||
iOSIsRealDevice = false
|
||||
|
||||
|
||||
/* Android */
|
||||
|
||||
androidCompileSdkVersion = 28
|
||||
|
|
|
@ -16,11 +16,8 @@ kotlin {
|
|||
}
|
||||
|
||||
targets {
|
||||
// Select iOS target for real device or emulator.
|
||||
final def iOSIsRealDevice = System.getenv('SDK_NAME')?.startsWith("iphoneos")
|
||||
final def iOSTarget = iOSIsRealDevice ? presets.iosArm64 : presets.iosX64
|
||||
|
||||
// iOS target.
|
||||
fromPreset(iOSTarget, 'ios') {
|
||||
binaries {
|
||||
framework {
|
||||
|
|
|
@ -23,7 +23,6 @@ kotlin {
|
|||
|
||||
targets {
|
||||
// Select iOS target for real device or emulator.
|
||||
final def iOSIsRealDevice = System.getenv('SDK_NAME')?.startsWith("iphoneos")
|
||||
final def iOSTarget = iOSIsRealDevice ? presets.iosArm64 : presets.iosX64
|
||||
|
||||
// iOS target.
|
||||
|
|
|
@ -17,7 +17,6 @@ kotlin {
|
|||
|
||||
targets {
|
||||
// Select iOS target for real device or emulator.
|
||||
final def iOSIsRealDevice = System.getenv('SDK_NAME')?.startsWith("iphoneos")
|
||||
final def iOSTarget = iOSIsRealDevice ? presets.iosArm64 : presets.iosX64
|
||||
|
||||
// iOS target.
|
||||
|
|
|
@ -17,7 +17,6 @@ kotlin {
|
|||
|
||||
targets {
|
||||
// Select iOS target for real device or emulator.
|
||||
final def iOSIsRealDevice = System.getenv('SDK_NAME')?.startsWith("iphoneos")
|
||||
final def iOSTarget = iOSIsRealDevice ? presets.iosArm64 : presets.iosX64
|
||||
|
||||
// iOS target.
|
||||
|
|
|
@ -8,12 +8,10 @@ ext.artifactName = "banking-ui-native-integration"
|
|||
|
||||
|
||||
kotlin {
|
||||
|
||||
targets {
|
||||
// Select iOS target for real device or emulator.
|
||||
final def iOSIsRealDevice = System.getenv('SDK_NAME')?.startsWith("iphoneos")
|
||||
final def iOSTarget = iOSIsRealDevice ? presets.iosArm64 : presets.iosX64
|
||||
|
||||
// iOS target.
|
||||
fromPreset(iOSTarget, 'ios') {
|
||||
binaries {
|
||||
framework {
|
||||
|
|
|
@ -17,7 +17,6 @@ kotlin {
|
|||
|
||||
targets {
|
||||
// Select iOS target for real device or emulator.
|
||||
final def iOSIsRealDevice = System.getenv('SDK_NAME')?.startsWith("iphoneos")
|
||||
final def iOSTarget = iOSIsRealDevice ? presets.iosArm64 : presets.iosX64
|
||||
|
||||
// iOS target.
|
||||
|
|
Loading…
Reference in New Issue