import java.util.Properties val properties = Properties() if (file("local.properties").exists()) { file("local.properties").inputStream().use { properties.load(it) } } rootProject.name = "CoreApp" enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") pluginManagement { repositories { google { mavenContent { includeGroupAndSubgroups("androidx") includeGroupAndSubgroups("com.android") includeGroupAndSubgroups("com.google") } } mavenCentral() gradlePluginPortal() } } dependencyResolutionManagement { repositories { google { mavenContent { includeGroupAndSubgroups("androidx") includeGroupAndSubgroups("com.android") includeGroupAndSubgroups("com.google") } } mavenCentral() maven { url = uri("https://jitpack.io") } if (properties.getProperty("USE_MAVEN_LOCAL") == "true") { mavenLocal() } maven { name = "GitHubPackages" url = uri("https://maven.pkg.github.com/coredevices/krisp-kmp") credentials { username = properties.getProperty("github.username") ?: System.getenv("GITHUB_ACTOR") password = properties.getProperty("github.token") ?: System.getenv("GITHUB_TOKEN") } } } defaultLibrariesExtensionName = "corelibs" versionCatalogs { create("libs") { from(files("public/gradle/libs.versions.toml")) } } } include(":composeApp") project(":composeApp").projectDir = file("public/composeApp") include(":desktopAITool") include(":mcp") project(":mcp").projectDir = file("public/mcp") include(":resampler") project(":resampler").projectDir = file("public/resampler") include(":pebble") project(":pebble").projectDir = file("public/pebble") include(":util") project(":util").projectDir = file("public/util") include(":libindex") project(":libindex").projectDir = file("public/libindex") include(":experimental") project(":experimental").projectDir = file("public/experimental") include(":cactus") project(":cactus").projectDir = file("public/cactus") include(":krisp-stubs") project(":krisp-stubs").projectDir = file("public/krisp-stubs") include(":index-ai") project(":index-ai").projectDir = file("public/index-ai") include(":libpebble3") project(":libpebble3").projectDir = file("public/libpebble3") include(":blobannotations") project(":blobannotations").projectDir = file("public/blobannotations") include(":blobdbgen") project(":blobdbgen").projectDir = file("public/blobdbgen")