revert "refactor: Some multiplatform bs"

This commit is contained in:
Ahmad Ansori Palembani 2024-12-15 21:19:28 +07:00
parent 247ed3bca7
commit 6c1d8d5011
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
10 changed files with 3 additions and 17 deletions

View file

@ -16,7 +16,6 @@ The format is simplified version of [Keep a Changelog](https://keepachangelog.co
- Update plugin kotlinter to v5
- Update plugin gradle-versions to v0.51.0
- Update kotlin monorepo to v2.1.0
- Downgrade dependency me.zhanghai.android.libarchive:library to v1.1.2
## [1.9.4]

View file

@ -66,7 +66,6 @@ android {
tasks {
withType<KotlinCompile> {
compilerOptions.freeCompilerArgs.addAll(
"-Xexpect-actual-classes",
"-Xcontext-receivers",
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",

View file

@ -3,6 +3,6 @@ package yokai.core.archive
import java.io.InputStream
// TODO: Use Okio's Source
actual abstract class ArchiveInputStream : InputStream() {
abstract class ArchiveInputStream : InputStream() {
abstract fun getNextEntry(): ArchiveEntry?
}

View file

@ -3,7 +3,7 @@ package yokai.core.archive
import java.io.Closeable
import java.io.InputStream
actual abstract class ArchiveReader : Closeable {
abstract class ArchiveReader : Closeable {
abstract val address: Long
abstract val size: Long

View file

@ -1,3 +0,0 @@
package yokai.core.archive
expect abstract class ArchiveInputStream

View file

@ -1,3 +0,0 @@
package yokai.core.archive
expect abstract class ArchiveReader

View file

@ -1,3 +0,0 @@
package yokai.core.archive
actual abstract class ArchiveInputStream

View file

@ -1,3 +0,0 @@
package yokai.core.archive
actual abstract class ArchiveReader

View file

@ -54,7 +54,7 @@ kotest-assertions = { module = "io.kotest:kotest-assertions-core", version = "5.
leakcanary-android = { module = "com.squareup.leakcanary:leakcanary-android", version.ref = "leakcanary" }
leakcanary-plumber = { module = "com.squareup.leakcanary:plumber-android", version.ref = "leakcanary" }
libarchive = { module = "me.zhanghai.android.libarchive:library", version = "1.1.2" }
libarchive = { module = "me.zhanghai.android.libarchive:library", version = "1.1.4" }
material = { module = "com.google.android.material:material", version = "1.12.0" }
markwon = { module = "io.noties.markwon:core", version = "4.6.2" }