|
|
|
@ -18,10 +18,10 @@ compileKotlin {
|
|
|
|
kotlinOptions {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
freeCompilerArgs += [
|
|
|
|
freeCompilerArgs += [
|
|
|
|
'-opt-in=kotlin.RequiresOptIn',
|
|
|
|
'-opt-in=kotlin.RequiresOptIn',
|
|
|
|
'-opt-in=kotlin.contracts.ExperimentalContracts',
|
|
|
|
'-opt-in=kotlin.contracts.ExperimentalContracts',
|
|
|
|
'-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi',
|
|
|
|
'-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi',
|
|
|
|
'-opt-in=org.koitharu.kotatsu.parsers.InternalParsersApi',
|
|
|
|
'-opt-in=org.koitharu.kotatsu.parsers.InternalParsersApi',
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -30,9 +30,9 @@ compileTestKotlin {
|
|
|
|
kotlinOptions {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
freeCompilerArgs += [
|
|
|
|
freeCompilerArgs += [
|
|
|
|
'-opt-in=kotlin.RequiresOptIn',
|
|
|
|
'-opt-in=kotlin.RequiresOptIn',
|
|
|
|
'-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi',
|
|
|
|
'-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi',
|
|
|
|
'-opt-in=org.koitharu.kotatsu.parsers.InternalParsersApi',
|
|
|
|
'-opt-in=org.koitharu.kotatsu.parsers.InternalParsersApi',
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -54,21 +54,21 @@ afterEvaluate {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
dependencies {
|
|
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4'
|
|
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1'
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.11.0'
|
|
|
|
implementation 'com.squareup.okio:okio:3.2.0'
|
|
|
|
implementation 'com.squareup.okio:okio:3.3.0'
|
|
|
|
api 'org.jsoup:jsoup:1.15.3'
|
|
|
|
api 'org.jsoup:jsoup:1.16.1'
|
|
|
|
implementation 'org.json:json:20220320'
|
|
|
|
implementation 'org.json:json:20230618'
|
|
|
|
implementation 'androidx.collection:collection-ktx:1.2.0'
|
|
|
|
implementation 'androidx.collection:collection-ktx:1.2.0'
|
|
|
|
|
|
|
|
|
|
|
|
ksp project(':kotatsu-parsers-ksp')
|
|
|
|
ksp project(':kotatsu-parsers-ksp')
|
|
|
|
|
|
|
|
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.3'
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.9.3'
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.9.0'
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.9.3'
|
|
|
|
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.4'
|
|
|
|
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.1'
|
|
|
|
testImplementation 'io.webfolder:quickjs:1.1.0'
|
|
|
|
testImplementation 'io.webfolder:quickjs:1.1.0'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//noinspection ConfigurationAvoidance
|
|
|
|
//noinspection ConfigurationAvoidance
|
|
|
|
task generateTestsReport(type: ReportGenerateTask)
|
|
|
|
task generateTestsReport(type: ReportGenerateTask)
|
|
|
|
|