添加namespace
This commit is contained in:
parent
b38623c426
commit
bfb8a45ac5
|
@ -236,6 +236,9 @@ storePassword=123456
|
||||||
|
|
||||||
text = open(os.path.join(dst, "build.gradle"), "r", encoding="utf-8").read()
|
text = open(os.path.join(dst, "build.gradle"), "r", encoding="utf-8").read()
|
||||||
text = text.replace("implementation", "api")
|
text = text.replace("implementation", "api")
|
||||||
|
text = text.replace("compileSdkVersion", """
|
||||||
|
namespace "com.unity3d.player"
|
||||||
|
compileSdkVersion""")
|
||||||
text = text.replace("unityStreamingAssets.tokenize(', ')", '[".unity3d", ".bundle", ".version", ".bytes", ".hash"]')
|
text = text.replace("unityStreamingAssets.tokenize(', ')", '[".unity3d", ".bundle", ".version", ".bytes", ".hash"]')
|
||||||
text = text.replace("apply plugin: 'com.android.library'", """
|
text = text.replace("apply plugin: 'com.android.library'", """
|
||||||
plugins {
|
plugins {
|
||||||
|
|
Loading…
Reference in New Issue