屏幕共享美颜更新

This commit is contained in:
2025-12-04 15:31:05 +08:00
parent e09271a60e
commit 6a1f3db5eb
11 changed files with 157 additions and 18 deletions

View File

@@ -5,6 +5,10 @@ pluginManagement {
gradlePluginPortal()
}
}
def sdkDir = file('SellyCloudSDK')
def hasLocalSdk = sdkDir.exists()
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
@@ -12,11 +16,19 @@ dependencyResolutionManagement {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
// Local AARs for SellyCloudSDK
flatDir { dirs file('SellyCloudSDK/libs') }
// Local AARs for the demo or the SDK when present
flatDir {
dirs file('example/libs')
if (hasLocalSdk) {
dirs sdkDir.toPath().resolve('libs').toFile()
}
}
}
}
rootProject.name = "SellyCLoudSDKExample"
include ':example'
include ':SellyCloudSDK'
// Use the SDK module only when it exists locally; otherwise rely on the published/prebuilt AAR.
if (hasLocalSdk) {
include ':SellyCloudSDK'
}