mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
revert "refactor: Some multiplatform bs"
This commit is contained in:
parent
247ed3bca7
commit
6c1d8d5011
10 changed files with 3 additions and 17 deletions
|
@ -16,7 +16,6 @@ The format is simplified version of [Keep a Changelog](https://keepachangelog.co
|
||||||
- Update plugin kotlinter to v5
|
- Update plugin kotlinter to v5
|
||||||
- Update plugin gradle-versions to v0.51.0
|
- Update plugin gradle-versions to v0.51.0
|
||||||
- Update kotlin monorepo to v2.1.0
|
- Update kotlin monorepo to v2.1.0
|
||||||
- Downgrade dependency me.zhanghai.android.libarchive:library to v1.1.2
|
|
||||||
|
|
||||||
## [1.9.4]
|
## [1.9.4]
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,6 @@ android {
|
||||||
tasks {
|
tasks {
|
||||||
withType<KotlinCompile> {
|
withType<KotlinCompile> {
|
||||||
compilerOptions.freeCompilerArgs.addAll(
|
compilerOptions.freeCompilerArgs.addAll(
|
||||||
"-Xexpect-actual-classes",
|
|
||||||
"-Xcontext-receivers",
|
"-Xcontext-receivers",
|
||||||
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
|
||||||
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
|
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
|
||||||
|
|
|
@ -3,6 +3,6 @@ package yokai.core.archive
|
||||||
import java.io.InputStream
|
import java.io.InputStream
|
||||||
|
|
||||||
// TODO: Use Okio's Source
|
// TODO: Use Okio's Source
|
||||||
actual abstract class ArchiveInputStream : InputStream() {
|
abstract class ArchiveInputStream : InputStream() {
|
||||||
abstract fun getNextEntry(): ArchiveEntry?
|
abstract fun getNextEntry(): ArchiveEntry?
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ package yokai.core.archive
|
||||||
import java.io.Closeable
|
import java.io.Closeable
|
||||||
import java.io.InputStream
|
import java.io.InputStream
|
||||||
|
|
||||||
actual abstract class ArchiveReader : Closeable {
|
abstract class ArchiveReader : Closeable {
|
||||||
abstract val address: Long
|
abstract val address: Long
|
||||||
abstract val size: Long
|
abstract val size: Long
|
||||||
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
package yokai.core.archive
|
|
||||||
|
|
||||||
expect abstract class ArchiveInputStream
|
|
|
@ -1,3 +0,0 @@
|
||||||
package yokai.core.archive
|
|
||||||
|
|
||||||
expect abstract class ArchiveReader
|
|
|
@ -1,3 +0,0 @@
|
||||||
package yokai.core.archive
|
|
||||||
|
|
||||||
actual abstract class ArchiveInputStream
|
|
|
@ -1,3 +0,0 @@
|
||||||
package yokai.core.archive
|
|
||||||
|
|
||||||
actual abstract class ArchiveReader
|
|
|
@ -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-android = { module = "com.squareup.leakcanary:leakcanary-android", version.ref = "leakcanary" }
|
||||||
leakcanary-plumber = { module = "com.squareup.leakcanary:plumber-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" }
|
material = { module = "com.google.android.material:material", version = "1.12.0" }
|
||||||
markwon = { module = "io.noties.markwon:core", version = "4.6.2" }
|
markwon = { module = "io.noties.markwon:core", version = "4.6.2" }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue