Disable unused iOS targets in build
This commit is contained in:
@@ -22,6 +22,19 @@ dependencyResolutionManagement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buildCache {
|
||||||
|
local {
|
||||||
|
isEnabled = true
|
||||||
|
removeUnusedEntriesAfterDays = 7
|
||||||
|
}
|
||||||
|
// Optional: add a remote cache (Gradle Enterprise/HTTP) shared by CI & devs
|
||||||
|
// remote<HttpBuildCache> {
|
||||||
|
// url = uri("https://<your-cache>/cache/")
|
||||||
|
// isPush = true
|
||||||
|
// isEnabled = true
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
|
||||||
rootProject.name = "Klottr"
|
rootProject.name = "Klottr"
|
||||||
include(":app")
|
include(":app")
|
||||||
include(":shared")
|
include(":shared")
|
||||||
|
|||||||
@@ -55,13 +55,13 @@ kotlin {
|
|||||||
val xcfName = "shared"
|
val xcfName = "shared"
|
||||||
val xcf = XCFramework()
|
val xcf = XCFramework()
|
||||||
|
|
||||||
iosX64 {
|
// iosX64 {
|
||||||
binaries.framework {
|
// binaries.framework {
|
||||||
baseName = xcfName
|
// baseName = xcfName
|
||||||
isStatic = true
|
// isStatic = true
|
||||||
xcf.add(this)
|
// xcf.add(this)
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
iosArm64 {
|
iosArm64 {
|
||||||
binaries.framework {
|
binaries.framework {
|
||||||
@@ -71,13 +71,13 @@ kotlin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
iosSimulatorArm64 {
|
// iosSimulatorArm64 {
|
||||||
binaries.framework {
|
// binaries.framework {
|
||||||
baseName = xcfName
|
// baseName = xcfName
|
||||||
isStatic = true
|
// isStatic = true
|
||||||
xcf.add(this)
|
// xcf.add(this)
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
// Cocoapods is used for 3rd party library dependencies in iOS
|
// Cocoapods is used for 3rd party library dependencies in iOS
|
||||||
cocoapods {
|
cocoapods {
|
||||||
|
|||||||
Reference in New Issue
Block a user