Use Kotlin instead of Groovy for Android build configuration (#2902)

This commit is contained in:
Kaushal Kumar Singh
2024-10-10 13:38:05 +05:30
committed by GitHub
parent 1fa7df3331
commit 8d284cf331
42 changed files with 910 additions and 813 deletions

View File

@@ -0,0 +1,39 @@
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven("https://plugins.gradle.org/m2/")
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
include(":MapLibreAndroid", ":MapLibreAndroidTestApp", ":MapLibreAndroidLint")
rootProject.name = "MapLibre Native for Android"
val renderTestProjectDir = file("$rootDir/../../render-test/android")
includeBuild(renderTestProjectDir) {
name = "renderTestApp"
}
val cppTestProjectDir = file("$rootDir/../../test/android")
includeBuild(cppTestProjectDir) {
name = "cppUnitTestsApp"
}