Added task packAllForXcode and renamed packForXCode to packForXcode
This commit is contained in:
parent
fbeec09916
commit
61d0ee0cfc
13
build.gradle
13
build.gradle
|
@ -115,3 +115,16 @@ allprojects {
|
||||||
group 'net.dankito.banking'
|
group 'net.dankito.banking'
|
||||||
version appVersionName
|
version appVersionName
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
task packAllForXcode {
|
||||||
|
dependsOn = [
|
||||||
|
"common:packForXcode",
|
||||||
|
"fints4k:packForXcode",
|
||||||
|
"BankFinder:packForXcode",
|
||||||
|
"BankingUiCommon:packForXcode",
|
||||||
|
"fints4kBankingClient:packForXcode",
|
||||||
|
"BankingUiNativeIntegration:packForXcode"
|
||||||
|
]
|
||||||
|
}
|
|
@ -87,7 +87,7 @@ kotlin {
|
||||||
|
|
||||||
|
|
||||||
// Task to generate iOS framework for xcode projects.
|
// 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 File frameworkDir = new File(buildDir, "xcode-frameworks")
|
||||||
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
|
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
|
||||||
|
@ -108,8 +108,8 @@ task packForXCode(type: Sync) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run packForXCode when building.
|
// Run packForXcode when building.
|
||||||
tasks.build.dependsOn packForXCode
|
tasks.build.dependsOn packForXcode
|
||||||
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|
|
@ -31,6 +31,8 @@ kotlin {
|
||||||
binaries {
|
binaries {
|
||||||
framework {
|
framework {
|
||||||
baseName = "fints4k"
|
baseName = "fints4k"
|
||||||
|
|
||||||
|
export(project(":common"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -153,7 +155,7 @@ kotlin {
|
||||||
|
|
||||||
|
|
||||||
// Task to generate iOS framework for xcode projects.
|
// 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 File frameworkDir = new File(buildDir, "xcode-frameworks")
|
||||||
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
|
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
|
||||||
|
@ -174,8 +176,8 @@ task packForXCode(type: Sync) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run packForXCode when building.
|
// Run packForXcode when building.
|
||||||
tasks.build.dependsOn packForXCode
|
tasks.build.dependsOn packForXcode
|
||||||
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|
|
@ -82,7 +82,7 @@ kotlin {
|
||||||
|
|
||||||
|
|
||||||
// Task to generate iOS framework for xcode projects.
|
// 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 File frameworkDir = new File(buildDir, "xcode-frameworks")
|
||||||
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
|
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
|
||||||
|
@ -103,8 +103,8 @@ task packForXCode(type: Sync) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run packForXCode when building.
|
// Run packForXcode when building.
|
||||||
tasks.build.dependsOn packForXCode
|
tasks.build.dependsOn packForXcode
|
||||||
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|
|
@ -98,7 +98,7 @@ kotlin {
|
||||||
|
|
||||||
|
|
||||||
// Task to generate iOS framework for xcode projects.
|
// 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 File frameworkDir = new File(buildDir, "xcode-frameworks")
|
||||||
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
|
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
|
||||||
|
@ -119,8 +119,8 @@ task packForXCode(type: Sync) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run packForXCode when building.
|
// Run packForXcode when building.
|
||||||
tasks.build.dependsOn packForXCode
|
tasks.build.dependsOn packForXcode
|
||||||
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|
|
@ -53,7 +53,7 @@ kotlin {
|
||||||
|
|
||||||
|
|
||||||
// Task to generate iOS framework for xcode projects.
|
// 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 File frameworkDir = new File(buildDir, "xcode-frameworks")
|
||||||
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
|
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
|
||||||
|
@ -74,5 +74,5 @@ task packForXCode(type: Sync) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run packForXCode when building.
|
// Run packForXcode when building.
|
||||||
tasks.build.dependsOn packForXCode
|
tasks.build.dependsOn packForXcode
|
|
@ -58,7 +58,7 @@ kotlin {
|
||||||
|
|
||||||
|
|
||||||
// Task to generate iOS framework for xcode projects.
|
// 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 File frameworkDir = new File(buildDir, "xcode-frameworks")
|
||||||
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
|
final String mode = project.findProperty("XCODE_CONFIGURATION")?.toUpperCase() ?: 'DEBUG'
|
||||||
|
@ -79,8 +79,8 @@ task packForXCode(type: Sync) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run packForXCode when building.
|
// Run packForXcode when building.
|
||||||
tasks.build.dependsOn packForXCode
|
tasks.build.dependsOn packForXcode
|
||||||
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|
Loading…
Reference in New Issue