Added task packAllForXcode and renamed packForXCode to packForXcode

This commit is contained in:
dankito 2020-07-23 16:35:20 +02:00
parent fbeec09916
commit 61d0ee0cfc
7 changed files with 33 additions and 18 deletions

View File

@ -114,4 +114,17 @@ allprojects {
group 'net.dankito.banking'
version appVersionName
}
task packAllForXcode {
dependsOn = [
"common:packForXcode",
"fints4k:packForXcode",
"BankFinder:packForXcode",
"BankingUiCommon:packForXcode",
"fints4kBankingClient:packForXcode",
"BankingUiNativeIntegration:packForXcode"
]
}

View File

@ -87,7 +87,7 @@ kotlin {
// Task to generate iOS framework for xcode projects.
task packForXCode(type: Sync) {
task packForXcode(type: Sync) {
final File frameworkDir = new File(buildDir, "xcode-frameworks")
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
@ -108,8 +108,8 @@ task packForXCode(type: Sync) {
}
}
// Run packForXCode when building.
tasks.build.dependsOn packForXCode
// Run packForXcode when building.
tasks.build.dependsOn packForXcode
android {

View File

@ -31,6 +31,8 @@ kotlin {
binaries {
framework {
baseName = "fints4k"
export(project(":common"))
}
}
}
@ -153,7 +155,7 @@ kotlin {
// Task to generate iOS framework for xcode projects.
task packForXCode(type: Sync) {
task packForXcode(type: Sync) {
final File frameworkDir = new File(buildDir, "xcode-frameworks")
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
@ -174,8 +176,8 @@ task packForXCode(type: Sync) {
}
}
// Run packForXCode when building.
tasks.build.dependsOn packForXCode
// Run packForXcode when building.
tasks.build.dependsOn packForXcode
android {

View File

@ -82,7 +82,7 @@ kotlin {
// Task to generate iOS framework for xcode projects.
task packForXCode(type: Sync) {
task packForXcode(type: Sync) {
final File frameworkDir = new File(buildDir, "xcode-frameworks")
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
@ -103,8 +103,8 @@ task packForXCode(type: Sync) {
}
}
// Run packForXCode when building.
tasks.build.dependsOn packForXCode
// Run packForXcode when building.
tasks.build.dependsOn packForXcode
android {

View File

@ -98,7 +98,7 @@ kotlin {
// Task to generate iOS framework for xcode projects.
task packForXCode(type: Sync) {
task packForXcode(type: Sync) {
final File frameworkDir = new File(buildDir, "xcode-frameworks")
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
@ -119,8 +119,8 @@ task packForXCode(type: Sync) {
}
}
// Run packForXCode when building.
tasks.build.dependsOn packForXCode
// Run packForXcode when building.
tasks.build.dependsOn packForXcode
android {

View File

@ -53,7 +53,7 @@ kotlin {
// Task to generate iOS framework for xcode projects.
task packForXCode(type: Sync) {
task packForXcode(type: Sync) {
final File frameworkDir = new File(buildDir, "xcode-frameworks")
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
@ -74,5 +74,5 @@ task packForXCode(type: Sync) {
}
}
// Run packForXCode when building.
tasks.build.dependsOn packForXCode
// Run packForXcode when building.
tasks.build.dependsOn packForXcode

View File

@ -58,7 +58,7 @@ kotlin {
// Task to generate iOS framework for xcode projects.
task packForXCode(type: Sync) {
task packForXcode(type: Sync) {
final File frameworkDir = new File(buildDir, "xcode-frameworks")
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
@ -79,8 +79,8 @@ task packForXCode(type: Sync) {
}
}
// Run packForXCode when building.
tasks.build.dependsOn packForXCode
// Run packForXcode when building.
tasks.build.dependsOn packForXcode
android {