Comments (3)
You definitely don't need to define platform specific dependencies like com.badoo.reaktive:reaktive-iossimulatorarm64:$reaktiveVersion
. All you need to do is to specify the dependency in the commonMain
source set, and also export it to the framework.
The following should work:
kotlin {
android()
iosArm64 {
binaries {
framework {
baseName = "SomeCommon"
export("com.badoo.reaktive:reaktive:$reaktiveVersion")
}
}
}
iosSimulatorArm64 {
binaries {
framework {
baseName = "SomeCommon"
export("com.badoo.reaktive:reaktive:$reaktiveVersion")
}
}
}
iosX64 {
binaries {
framework {
baseName = "SomeCommon"
export("com.badoo.reaktive:reaktive:$reaktiveVersion")
}
}
}
sourceSets {
val commonMain by getting {
dependencies {
api("com.badoo.reaktive:reaktive:$reaktiveVersion")
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test"))
}
}
val androidMain by getting
val androidTest by getting {
dependencies {
implementation("junit:junit:4.13")
}
}
val iosMain by creating { dependsOn(commonMain) }
val iosArm64Main by getting { dependsOn(iosMain) }
val iosX64Main by getting { dependsOn(iosMain) }
val iosSimulatorArm64Main by getting { dependsOn(iosMain) }
val iosTest by creating { dependsOn(commonTest) }
val iosArm64Test by getting { dependsOn(iosTest) }
val iosX64Test by getting { dependsOn(iosTest) }
val iosSimulatorArm64Test by getting { dependsOn(iosTest) }
}
}
from reaktive.
Ah, I see, thanks for responding so quickly!
The description in the documentation is different from what you're describing here, though.
from reaktive.
Let's keep this issue open until I update the Readme.
from reaktive.
Related Issues (20)
- Update Kotlin to 1.8.0
- CanΒ΄t export reaktive to Ios, reactive swift interop HOT 1
- [lintAnalyzeDebug] Module was compiled with an incompatible version of Kotlin HOT 3
- Lots of "Unable to configure task xyz in place, using hacks instead" when syncing the project HOT 2
- Warnings during JVM tests HOT 2
- [Bug] BehaviorSubject doesn't synchronously emit the current value on subscription if another value is being emitted on another thread HOT 1
- The binary version of its metadata is 1.8.0 expected version is 1.6.0 . How do i fix this in jetpack compose? HOT 3
- Use Android-V2-SourceSetLayout
- Publishing β Support AGP 8.0+
- Coroutines 1.7.1 causing internal compiler error HOT 2
- Update Kotlin to 1.9.0
- kotlin-js plugin is deprecated
- Warnings related to Kotlin 1.9
- Update Kotlin to 1.9.20
- Setting 2.0.0 version in coroutines-interop fails to find utils HOT 13
- Support WASM target HOT 1
- After updating to version 2.0.0 cdass com.badoo.reaktive.utils.lock.Condition is not available HOT 1
- ConditionLock.signal() doesn't wake up the thread. HOT 5
- Consider making ValueCallback a fun interface
- Use macos-14 runner for better build speed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reaktive.