mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00

* In this update, we've replaced the `URLConnection` with the OkHttp library, and now headers are being correctly passed in the request. As a result, the Zim file is successfully downloading. * To integrate OkHttp into our Gradle project, we've moved the OkHttp dependency to our `buildSrc` folder.
31 lines
988 B
Plaintext
31 lines
988 B
Plaintext
plugins {
|
|
`kotlin-dsl`
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
maven {
|
|
setUrl("https://plugins.gradle.org/m2/")
|
|
}
|
|
maven { setUrl("https://jitpack.io") }
|
|
}
|
|
|
|
dependencies {
|
|
implementation("com.android.tools.build:gradle:7.4.2")
|
|
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0")
|
|
implementation("org.jacoco:org.jacoco.core:0.8.8")
|
|
implementation("org.jlleitschuh.gradle:ktlint-gradle:10.3.0")
|
|
implementation("com.google.apis:google-api-services-androidpublisher:v3-rev20230406-2.0.0") {
|
|
exclude(group = "com.google.guava", module = "guava")
|
|
}
|
|
implementation("com.google.http-client:google-http-client-jackson2:1.40.0") {
|
|
exclude(group = "com.google.guava", module = "guava")
|
|
}
|
|
implementation("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.20.0")
|
|
implementation("com.googlecode.json-simple:json-simple:1.1")
|
|
implementation("com.squareup.okhttp3:okhttp:4.9.0")
|
|
|
|
implementation(gradleApi())
|
|
implementation(localGroovy())
|
|
}
|