mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00

* Upgraded Gradle to `8.11.0-alpha03` for better support for Android 16. * Upgraded the Gradle wrapper to `8.13`, the latest version. * Fixed: Some deprecated methods in the custom app's Gradle. The new methods for registering tasks are better than the previous ones, which is why Gradle deprecated the older methods. * Refactored the `createDynamically` task for custom apps according to new gradle. * Fixed: Some lint and detekt issues.
36 lines
822 B
Plaintext
36 lines
822 B
Plaintext
import org.gradle.kotlin.dsl.register
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { setUrl("https://jitpack.io") }
|
|
}
|
|
dependencies {
|
|
classpath(Libs.com_android_tools_build_gradle)
|
|
classpath(Libs.kotlin_gradle_plugin)
|
|
classpath(Libs.kotlin_ksp)
|
|
classpath(Libs.navigation_safe_args_gradle_plugin)
|
|
classpath(Libs.keeper)
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
plugins {
|
|
buildSrcVersions
|
|
id("org.jetbrains.kotlin.plugin.compose") version Versions.org_jetbrains_kotlin apply false
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { setUrl("https://jitpack.io") }
|
|
}
|
|
}
|
|
|
|
tasks.register<Delete>("clean") {
|
|
delete(rootProject.layout.buildDirectory)
|
|
}
|