migrate to kts

This commit is contained in:
tom5079
2025-02-23 16:34:53 -08:00
parent e8443664dc
commit 0f2336eccf
7 changed files with 68 additions and 104 deletions

32
settings.gradle.kts Normal file
View File

@@ -0,0 +1,32 @@
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == "com.google.android.gms.oss-licenses-plugin") {
useModule("com.google.android.gms:oss-licenses-plugin:${requested.version}")
}
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
jcenter()
}
}
rootProject.name = "Pupil"
include(":app")