ebfd066d5c
Converts the last four Groovy build scripts to Kotlin DSL so the entire build is consistent with the rest of the modules (commons, quartz, etc.). - settings.gradle -> settings.gradle.kts - build.gradle (root) -> build.gradle.kts - amethyst/build.gradle -> amethyst/build.gradle.kts - benchmark/build.gradle -> benchmark/build.gradle.kts Notes: - Switched the per-subproject spotless format from groovyGradle to kotlinGradle now that the only gradle scripts are .gradle.kts. - benchmark module: moved targetSdk from defaultConfig to testOptions — AGP 9 removed targetSdk from library defaultConfig. - Reimplemented getCurrentBranch() with ProcessBuilder (Groovy's String.execute() isn't available in Kotlin DSL).
45 lines
1.2 KiB
Kotlin
45 lines
1.2 KiB
Kotlin
pluginManagement {
|
|
repositories {
|
|
google {
|
|
content {
|
|
includeGroupByRegex("com\\.android.*")
|
|
includeGroupByRegex("com\\.google.*")
|
|
includeGroupByRegex("androidx.*")
|
|
}
|
|
}
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
maven {
|
|
url = uri("https://jitpack.io")
|
|
content {
|
|
includeModule("com.github.UnifiedPush", "android-connector")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
mavenLocal()
|
|
google()
|
|
mavenCentral()
|
|
maven { url = uri("https://jitpack.io") }
|
|
maven { url = uri("https://raw.githubusercontent.com/guardianproject/gpmaven/master") }
|
|
maven { url = uri("https://mvn.0110.be/releases") }
|
|
}
|
|
}
|
|
|
|
rootProject.name = "Amethyst"
|
|
include(":amethyst")
|
|
include(":benchmark")
|
|
include(":quartz")
|
|
include(":geode")
|
|
include(":commons")
|
|
include(":quic")
|
|
include(":nestsClient")
|
|
include(":desktopApp")
|
|
include(":cli")
|
|
include(":quic-interop")
|
|
project(":quic-interop").projectDir = file("quic/interop")
|