-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
java.lang.NoClassDefFoundError: Failed resolution of: Lkotlinx/atomic…
…fu/AtomicFU Signed-off-by: mramotar <[email protected]>
- Loading branch information
1 parent
c78d49e
commit 4f7b3c4
Showing
31 changed files
with
1,391 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 15 additions & 2 deletions
17
android/app/src/main/kotlin/so/howl/android/app/wiring/AppComponent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
package so.howl.android.app.wiring | ||
|
||
import android.content.Context | ||
import com.squareup.anvil.annotations.MergeComponent | ||
import dagger.BindsInstance | ||
import dagger.Component | ||
import so.howl.android.app.HowlApp | ||
import so.howl.android.common.scoping.AppScope | ||
import so.howl.android.common.scoping.SingleIn | ||
import so.howl.android.common.scoping.UserScope | ||
import so.howl.common.storekit.HowlDatabase | ||
|
||
@SingleIn(AppScope::class) | ||
@MergeComponent(AppScope::class) | ||
interface AppComponent | ||
interface AppComponent { | ||
@Component.Factory | ||
interface Factory { | ||
fun create( | ||
@BindsInstance application: HowlApp, | ||
@BindsInstance database: HowlDatabase, | ||
@BindsInstance applicationContext: Context | ||
): AppComponent | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...storekit/src/androidMain/kotlin/so/howl/common/storekit/store/howler/sot/DriverFactory.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package so.howl.common.storekit.store.howler.sot | ||
|
||
import android.content.Context | ||
import com.squareup.sqldelight.android.AndroidSqliteDriver | ||
import com.squareup.sqldelight.db.SqlDriver | ||
import so.howl.common.storekit.HowlDatabase | ||
|
||
actual class DriverFactory(private val context: Context) { | ||
actual suspend fun createDriver(): SqlDriver { | ||
return AndroidSqliteDriver(HowlDatabase.Schema, context, "howl.database") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...it/src/commonMain/kotlin/so/howl/common/storekit/entities/howler/network/NetworkHowler.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
package so.howl.common.storekit.entities.howler.network | ||
|
||
import so.howl.common.storekit.entities.howler.HowlerId | ||
import so.howl.common.storekit.entities.user.network.NetworkHowlUser | ||
import so.howl.common.storekit.entities.user.output.HowlUser | ||
|
||
interface NetworkHowler { | ||
val id: HowlerId | ||
val name: String | ||
val avatarUrl: String | ||
val owners: List<HowlUser> | ||
val avatarUrl: String? | ||
val owners: List<NetworkHowlUser> | ||
} |
8 changes: 8 additions & 0 deletions
8
.../src/commonMain/kotlin/so/howl/common/storekit/entities/howler/network/NetworkResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package so.howl.common.storekit.entities.howler.network | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class NetworkResponse( | ||
val value: List<RealNetworkHowler> | ||
) |
Oops, something went wrong.