mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-30 07:37:38 +00:00
geode (the standalone relay) and relayBench (the relay benchmark) now live in their own repo, with their own CI, release pipeline (bundles, .deb/.rpm, GHCR image, Homebrew formula sync) and Maven Central publication. - settings: drop :geode and :relayBench; add -PgeodeDir=../geode-relay to build a local checkout instead of the published artifact. - cli (amy serve) and the amethyst unit tests take libs.geode (com.vitorpamplona.geode:geode:1.20.0) and its test fixtures. - CI/release: remove test-geode, build-geode, docker-geode and the geode Homebrew formula sync; asset-name.sh keeps desktop + amy only. - cordn test stack finds geode in a sibling geode-relay checkout (or $GEODE). - Docs and skills point at the new repo; release asset counts drop by the 10 geode assets. geode 1.20.0 must be published to Maven Central before this builds without -PgeodeDir. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T4Hviaxdm4NXDwxWRRsXYs
103 lines
3.6 KiB
Kotlin
103 lines
3.6 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") }
|
|
}
|
|
}
|
|
|
|
rootProject.name = "Amethyst"
|
|
include(":amethyst")
|
|
include(":nappletHost")
|
|
include(":benchmark")
|
|
include(":baselineprofile")
|
|
include(":commons")
|
|
include(":commonsUI")
|
|
include(":nestsClient")
|
|
include(":marmotQuic")
|
|
include(":desktopApp")
|
|
include(":cli")
|
|
include(":marmotBench")
|
|
|
|
// quartz lives in its own repo (vitorpamplona/quartz) and comes from Maven Central, like crypto
|
|
// and quic below. To change it alongside the app, point Gradle at a local checkout and it builds
|
|
// that checkout instead of the published artifact, for every module and for quic's own
|
|
// dependency on it:
|
|
// ./gradlew -PquartzDir=../quartz :commons:jvmTest
|
|
providers.gradleProperty("quartzDir").orNull?.let { dir ->
|
|
includeBuild(dir) {
|
|
dependencySubstitution {
|
|
substitute(module("com.vitorpamplona.quartz:quartz")).using(project(":quartz"))
|
|
}
|
|
}
|
|
}
|
|
|
|
// geode lives in its own repo (vitorpamplona/geode-relay) and comes from Maven Central: `amy
|
|
// serve` embeds it and the amethyst/cli tests boot it in-process through its test fixtures. To
|
|
// change it alongside them, point Gradle at a local checkout:
|
|
// ./gradlew -PgeodeDir=../geode-relay :cli:test
|
|
providers.gradleProperty("geodeDir").orNull?.let { dir ->
|
|
includeBuild(dir) {
|
|
dependencySubstitution {
|
|
substitute(module("com.vitorpamplona.geode:geode")).using(project(":geode"))
|
|
}
|
|
}
|
|
}
|
|
|
|
// crypto-kmp lives in its own repo (vitorpamplona/crypto-kmp) and reaches this build through
|
|
// quartz. To change it alongside quartz and the app, point Gradle at a local checkout:
|
|
// ./gradlew -PquartzDir=../quartz -PcryptoKmpDir=../crypto-kmp :commons:jvmTest
|
|
providers.gradleProperty("cryptoKmpDir").orNull?.let { dir ->
|
|
includeBuild(dir) {
|
|
dependencySubstitution {
|
|
substitute(module("com.vitorpamplona.crypto:crypto")).using(project(":crypto"))
|
|
}
|
|
}
|
|
}
|
|
|
|
// quic lives in its own repo (vitorpamplona/quic-kmp) and comes from Maven Central. To change
|
|
// it alongside nestsClient or marmotQuic, point Gradle at a local checkout and it builds that
|
|
// checkout instead of the published artifact:
|
|
// ./gradlew -PquicKmpDir=../quic-kmp :nestsClient:jvmTest
|
|
providers.gradleProperty("quicKmpDir").orNull?.let { dir ->
|
|
includeBuild(dir) {
|
|
dependencySubstitution {
|
|
substitute(module("com.vitorpamplona.quic:quic")).using(project(":quic"))
|
|
}
|
|
}
|
|
}
|
|
|
|
// The MLS engine lives in its own repo (vitorpamplona/mls-kmp) and comes from Maven Central, like
|
|
// quic, and reaches this build through quartz. To change it alongside Marmot or cordn, build a
|
|
// local checkout instead of the artifact:
|
|
// ./gradlew -PquartzDir=../quartz -PmlsKmpDir=../mls-kmp :commons:jvmTest
|
|
providers.gradleProperty("mlsKmpDir").orNull?.let { dir ->
|
|
includeBuild(dir) {
|
|
dependencySubstitution {
|
|
substitute(module("com.vitorpamplona.mls:mls")).using(project(":mls"))
|
|
}
|
|
}
|
|
}
|