fix(build): 修复安卓构建依赖并整理服务器配置
This commit is contained in:
@@ -9,6 +9,17 @@ plugins {
|
||||
**BUILD_SCRIPT_DEPS**
|
||||
}
|
||||
|
||||
// DataStore 1.1.7 在当前 AGP 下会选中 JVM 制品,显式使用包含 Android 类的同版本制品。
|
||||
allprojects {
|
||||
configurations.configureEach {
|
||||
resolutionStrategy.dependencySubstitution {
|
||||
['datastore', 'datastore-core', 'datastore-preferences', 'datastore-preferences-core'].each { artifact ->
|
||||
substitute module("androidx.datastore:${artifact}") using module("androidx.datastore:${artifact}-android:1.1.7")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
|
||||
@@ -244,6 +244,8 @@ half WCE_calcShadowIntensity(WCE_Lit lit, half dotLN, WCE_CommonData dt) {
|
||||
uint WCE_getMeshRendLayer() {
|
||||
#if defined(SHADERGRAPH_PREVIEW) || !defined(_LIGHT_LAYERS)
|
||||
return 255;
|
||||
#elif UNITY_VERSION >= 202220
|
||||
return GetMeshRenderingLayer();
|
||||
#else
|
||||
return GetMeshRenderingLightLayer();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user