// AUTO-GENERATED by whisker-cng. Do NOT edit — re-run
// `whisker run` to refresh.
//
// Maven-driven Gradle setup. Every Whisker concern (Settings plugin,
// Project plugin, runtime + module AAR, KSP processor, Lynx fork
// AARs) is resolved off published Maven coordinates — the user
// app's gen/android tree is self-contained, no whisker repo clone
// required.
pluginManagement {
repositories {
// Whisker's own Maven (gh-pages of whiskerrs/whisker). Hosts
// the two Gradle plugins (rs.whisker, rs.whisker.gradle), the
// SDK AARs (whisker-runtime-android, whisker-module-android),
// and the KSP processor (ksp).
maven {
url = uri("{{whisker_maven_url}}")
}
// Lynx fork Maven (gh-pages of whiskerrs/lynx). Hosts the
// four lynx-* AARs that `rs.whisker:whisker-runtime-android`
// pulls transitively.
maven {
url = uri("{{lynx_maven_url}}")
}
gradlePluginPortal()
google()
mavenCentral()
}
// Pre-declare the project-scope plugin version so the user app's
// `app/build.gradle.kts` references it as bare
// `id("rs.whisker.gradle")` without restating the version. The
// settings-scope `id("rs.whisker")` below is declared with an
// explicit version because pluginManagement.plugins only
// propagates to project scope, not settings scope.
plugins {
id("rs.whisker.gradle") version "{{whisker_gradle_plugin_version}}"
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
// Same Maven sources as pluginManagement — Whisker SDK AARs
// + Lynx fork AARs resolve here.
maven {
url = uri("{{whisker_maven_url}}")
}
maven {
url = uri("{{lynx_maven_url}}")
}
google()
mavenCentral()
}
}
plugins {
// Settings plugin — runs `whisker-build modules` to discover
// Whisker module Cargo deps, includes each as a Gradle
// subproject, and writes the cross-phase config file the
// project plugin reads.
id("rs.whisker") version "{{whisker_gradle_plugin_version}}"
}
whisker {
workspace = file("{{whisker_workspace_path}}")
userPackage = "{{whisker_user_package}}"
}
rootProject.name = "{{android_project_name}}"
include(":app")