kiwix-android/build.gradle.kts
MohitMaliFtechiz 05e231579b Fixed: Compilation issues in unit test cases. The issue was in Gradle itself, which was preventing us from merging or excluding duplicate META-INF files.
* 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.
2025-03-31 15:27:31 +05:30

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)
}