屏幕共享美颜更新
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user