| | |
| | | |
| | | defaultConfig { |
| | | //applicationId "com.secondworld.univeralsdk" |
| | | minSdkVersion 16 |
| | | targetSdkVersion 22 |
| | | minSdkVersion 18 |
| | | targetSdkVersion 26 |
| | | versionCode 1 |
| | | versionName "1.1.0" |
| | | } |
| | |
| | | productFlavors { |
| | | game_ylgame { |
| | | dimension "default" |
| | | manifestPlaceholders.put("appId", "com.android.yiru.menghtj") |
| | | manifestPlaceholders.put("JpushAppKey", "de9e26bb35598bd8c602e1d9") |
| | | manifestPlaceholders.put("TrackAppID", "ffae98b68ba32b45a6d5fbd1203b9ae1") |
| | | // -------------------------------------------------------------- |
| | | // manifestPlaceholders.put("JpushAppKey", "de9e26bb35598bd8c602e1d9") //1.6 |
| | | // manifestPlaceholders.put("appId", "com.android.yiru.menghtj") //1.6 |
| | | // manifestPlaceholders.put("TrackAppID", "ffae98b68ba32b45a6d5fbd1203b9ae1") // 1.6 |
| | | // manifestPlaceholders.put("TT_AppName", "menghuantianjiao") // 1.6 |
| | | // manifestPlaceholders.put("TT_AppID", "155534") // 1.6 |
| | | // -------------------------------------------------------------- |
| | | manifestPlaceholders.put("JpushAppKey", "75cabb6bec28ffc681878516") // 2.0 |
| | | manifestPlaceholders.put("appId", "com.yiru.menhtj") //2.0 |
| | | manifestPlaceholders.put("TrackAppID", "34984be594b93353e6fd41d0b4f3b78d") // 2.0 |
| | | manifestPlaceholders.put("TT_AppName", "mhtj_new") // 2.0 |
| | | manifestPlaceholders.put("TT_AppID", "162325") // 2.0 |
| | | // -------------------------------------------------------------- |
| | | manifestPlaceholders.put("TrackChannelID", "_default_") |
| | | |
| | | manifestPlaceholders.put("TT_AppName", "menghuantianjiao") |
| | | manifestPlaceholders.put("TT_AppID", "155534") |
| | | manifestPlaceholders.put("TT_Chanel", "_default_") |
| | | |
| | | manifestPlaceholders.put("WANCMS_APPID", "2") |
| | |
| | | implementation files('libs/libammsdk.jar') |
| | | implementation files('libs/aoyou_sdk1.0.jar') |
| | | implementation files('libs/android-support-v4.jar') |
| | | implementation files('libs/iapppay_plugin.jar') |
| | | dependencies { |
| | | implementation(name: 'applog-release', ext: 'aar') |
| | | } |
| | | implementation files('libs/alipaySdk-20180403.jar') |
| | | } |
| | | |
| | | task autoCopy_ylgame_Manifest(type: Copy) { |
| | |
| | | include "yl_sdk-game_ylgame-release.aar" |
| | | into "C:\\Unity3D_SDK\\ChannelDiff\\Android\\yilegame\\libs\\" |
| | | } |
| | | |
| | | |
| | | task autoCopy_yilexbqy_Manifest(type: Copy) { |
| | | dependsOn 'assembleGame_ylgameRelease' |
| | | from zipTree("build/outputs/aar/yl_sdk-game_ylgame-release.aar") |
| | | include "AndroidManifest.xml" |
| | | into "C:\\Unity3D_SDK\\ChannelDiff\\Android\\yilexbqy\\" |
| | | } |
| | | |
| | | task autoCopy_yilexbqy(type: Copy) { |
| | | dependsOn autoCopy_yilexbqy_Manifest |
| | | from "build/outputs/aar/" |
| | | include "yl_sdk-game_ylgame-release.aar" |
| | | into "C:\\Unity3D_SDK\\ChannelDiff\\Android\\yilexbqy\\libs\\" |
| | | } |