update:ChannelConfig 更新
This commit is contained in:
16
ChannelConfigs/Android/_template/Plugins/Android/README.md
Normal file
16
ChannelConfigs/Android/_template/Plugins/Android/README.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Plugins/Android
|
||||
|
||||
可选目录。
|
||||
|
||||
渠道 SDK 的 `.aar` / `.jar` 放在这里。切渠道时,这里的第一层插件文件会同步到:
|
||||
|
||||
```text
|
||||
sdk-intergration/Packages/tysdk/Plugins/Android
|
||||
```
|
||||
|
||||
Gradle 增量放到:
|
||||
|
||||
```text
|
||||
Plugins/Android/gradle/
|
||||
```
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
// Applied to :unityLibrary from mainTemplate.gradle.
|
||||
// Put channel dependencies and android module config here.
|
||||
|
||||
dependencies {
|
||||
// implementation "group:name:version"
|
||||
// api "group:name:version"
|
||||
// coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.1.2"
|
||||
}
|
||||
|
||||
android {
|
||||
// compileOptions {
|
||||
// coreLibraryDesugaringEnabled true
|
||||
// }
|
||||
|
||||
// packagingOptions {
|
||||
// exclude "**/unused.file"
|
||||
// pickFirst "**/duplicated.file"
|
||||
// }
|
||||
|
||||
// defaultConfig {
|
||||
// manifestPlaceholders += [
|
||||
// key: "value"
|
||||
// ]
|
||||
// }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
// Applied from settingsTemplate.gradle.
|
||||
// Put channel Maven repositories or extra module includes here.
|
||||
|
||||
dependencyResolutionManagement {
|
||||
repositories {
|
||||
// maven {
|
||||
// url "https://example.maven.repo/"
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user