Fix wrong packages

pull/6/head
Koitharu 4 years ago
parent 3ea7e92e64
commit 7c7b98fd0d
No known key found for this signature in database
GPG Key ID: 8E861F8CE6E7CE27

@ -19,7 +19,7 @@ compileKotlin {
kotlinOptions { kotlinOptions {
jvmTarget = '1.8' jvmTarget = '1.8'
freeCompilerArgs += [ freeCompilerArgs += [
'-Xopt-in=kotlin.contracts.ExperimentalContracts', '-opt-in=kotlin.contracts.ExperimentalContracts',
] ]
} }
} }
@ -28,7 +28,7 @@ compileTestKotlin {
kotlinOptions { kotlinOptions {
jvmTarget = '1.8' jvmTarget = '1.8'
freeCompilerArgs += [ freeCompilerArgs += [
'-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi', '-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi',
] ]
} }
} }
@ -38,7 +38,7 @@ dependencies {
implementation 'com.squareup.okhttp3:okhttp:4.9.3' implementation 'com.squareup.okhttp3:okhttp:4.9.3'
implementation 'com.squareup.okio:okio:3.0.0' implementation 'com.squareup.okio:okio:3.0.0'
implementation 'org.jsoup:jsoup:1.14.3' implementation 'org.jsoup:jsoup:1.14.3'
implementation 'org.json:json:20211205' implementation 'org.json:json:20220320'
implementation 'androidx.collection:collection-ktx:1.2.0' implementation 'androidx.collection:collection-ktx:1.2.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2' testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'

@ -1,4 +1,4 @@
package org.koitharu.kotatsu.utils.json package org.koitharu.kotatsu.parsers.util.json
import org.json.JSONArray import org.json.JSONArray
import org.json.JSONObject import org.json.JSONObject

@ -1,4 +1,4 @@
package org.koitharu.kotatsu.utils.json package org.koitharu.kotatsu.parsers.util.json
import org.json.JSONArray import org.json.JSONArray

@ -1,4 +1,4 @@
package org.koitharu.kotatsu.utils.json package org.koitharu.kotatsu.parsers.util.json
import org.json.JSONObject import org.json.JSONObject

@ -3,9 +3,6 @@ package org.koitharu.kotatsu.parsers.util.json
import androidx.collection.ArraySet import androidx.collection.ArraySet
import org.json.JSONArray import org.json.JSONArray
import org.json.JSONObject import org.json.JSONObject
import org.koitharu.kotatsu.utils.json.JSONIterator
import org.koitharu.kotatsu.utils.json.JSONStringIterator
import org.koitharu.kotatsu.utils.json.JSONValuesIterator
import java.util.* import java.util.*
import kotlin.contracts.contract import kotlin.contracts.contract

Loading…
Cancel
Save