1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-28 23:31:17 +00:00
syncthing-android/build.gradle.kts
Adam Szewera 5c249ae6d3
Update dependency resolution management (#2000)
## Changes
* get rid of the JCenter repository
* centralize repository declaration for all projects in project settings
* refactor `build.gradle` and `settings.gradle` from Groovy syntax to
Kotlin DSL (thus replacing those files with `build.gradle.kts` and
`settings.gradle.kts` respectively)

The remaining `build.gradle` files are refactored in:
https://github.com/syncthing/syncthing-android/pull/2022
2024-01-03 09:35:19 +01:00

27 lines
795 B
Text

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
extra.apply {
// Cannot be called "ndkVersion" as that leads to naming collision
// Changes to this value must be reflected in `./docker/Dockerfile`
set("ndkVersionShared", "25.2.9519653")
}
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:7.3.1")
classpath("com.github.ben-manes:gradle-versions-plugin:0.36.0")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
tasks.register<Delete>("clean") {
delete(rootProject.buildDir)
}