sdk/sdk-scrapper/build.gradle
2023-04-15 23:38:35 +02:00

29 lines
866 B
Groovy

plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm'
alias(libs.plugins.validator)
}
dependencies {
implementation "pl.droidsonroids:jspoon:$jspoon"
implementation "org.jsoup:jsoup:$jsoup"
testImplementation "com.squareup.okhttp3:mockwebserver"
implementation libs.retrofit.core
implementation libs.retrofit.scalars
implementation "pl.droidsonroids.retrofit2:converter-jspoon:$jspoon"
implementation "com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.8.0"
implementation "com.brsanthu:migbase64:2.2"
implementation "com.squareup.okhttp3:okhttp-urlconnection"
testImplementation "io.mockk:mockk-jvm:1.13.4"
}
tasks.withType(Test) {
/**
* fix for retrofit https://github.com/square/retrofit/issues/3341
*/
jvmArgs = ["--add-opens", "java.base/java.lang.invoke=ALL-UNNAMED"]
}