| | |
| | | |
| | | flavorDimensions "default" |
| | | productFlavors { |
| | | game_jsgame { |
| | | game_jisugame { |
| | | dimension "default" |
| | | manifestPlaceholders.put("appId", "com.lingleigame.shaonianqixiachuan") |
| | | manifestPlaceholders.put("JpushAppKey", "803d5cb73efe51a59968bf52") |
| | |
| | | } |
| | | |
| | | dependencies { |
| | | implementation files('libs/android-support-v4.jar') |
| | | implementation files('libs/jcore-android-1.2.1.jar') |
| | | implementation files('libs/jpush-android-3.1.3.jar') |
| | | implementation files('libs/gson.jar') |
| | |
| | | compileOnly files('libs/unity-classes.jar') |
| | | implementation files('libs/bugly.jar') |
| | | implementation files('libs/buglyagent.jar') |
| | | implementation files('libs/lingleisdk-2.1.0.jar') |
| | | implementation files('libs/lingleisdk-3.0.1.jar') |
| | | } |
| | | |
| | | task autoCopy_jsgame_Manifest(type: Copy) { |
| | | dependsOn 'assembleGame_jsgameRelease' |
| | | from zipTree("build/outputs/aar/js_sdk-game_jsgame-release.aar") |
| | | task autoCopy_jisugame_Manifest(type: Copy) { |
| | | dependsOn 'assembleGame_jisugameRelease' |
| | | from zipTree("build/outputs/aar/js_sdk-game_jisugame-release.aar") |
| | | include "AndroidManifest.xml" |
| | | into "C:\\Unity3D_SDK\\ChannelDiff\\Android\\jsgame\\" |
| | | into "C:\\Unity3D_SDK\\ChannelDiff\\Android\\jisugame\\" |
| | | } |
| | | |
| | | task autoCopy_jsgame(type: Copy) { |
| | | dependsOn autoCopy_jsgame_Manifest |
| | | task autoCopy_jisugame(type: Copy) { |
| | | dependsOn autoCopy_jisugame_Manifest |
| | | from "build/outputs/aar/" |
| | | include "js_sdk-game_jsgame-release.aar" |
| | | into "C:\\Unity3D_SDK\\ChannelDiff\\Android\\jsgame\\libs\\" |
| | | include "js_sdk-game_jisugame-release.aar" |
| | | into "C:\\Unity3D_SDK\\ChannelDiff\\Android\\jisugame\\libs\\" |
| | | } |