| | |
| | | |
| | | android { |
| | | |
| | | compileSdkVersion 22 |
| | | compileSdkVersion 26 |
| | | |
| | | defaultConfig { |
| | | //applicationId "com.secondworld.univeralsdk" |
| | | minSdkVersion 16 |
| | | targetSdkVersion 22 |
| | | minSdkVersion 18 |
| | | targetSdkVersion 26 |
| | | versionCode 1 |
| | | versionName "1.1.0" |
| | | } |
| | |
| | | |
| | | flavorDimensions "default" |
| | | productFlavors { |
| | | // TAPTAP |
| | | game_904100357 { |
| | | dimension "default" |
| | | manifestPlaceholders.put("appId", "com.ziyouyouxi08.djxxz") |
| | | manifestPlaceholders.put("FreeSDK_AppID", "904100357") |
| | | manifestPlaceholders.put("FreeSDK_ChanelID", "1000") |
| | | manifestPlaceholders.put("FreeSDK_PlatformID", "1000") |
| | | manifestPlaceholders.put("JpushAppKey", "bc1907c74128fdbd85018a83") |
| | | } |
| | | // 少年修仙传 - 新 |
| | | game_822055139 { |
| | | dimension "default" |
| | |
| | | into "C:\\Unity3D_SDK\\ChannelDiff\\Android\\822055139\\libs\\" |
| | | } |
| | | |
| | | task autoCopy_904100357_Manifest(type: Copy) { |
| | | dependsOn 'assembleGame_904100357Release' |
| | | from zipTree("build/outputs/aar/app-game_904100357-release.aar") |
| | | include "AndroidManifest.xml" |
| | | into "C:\\Unity3D_SDK\\ChannelDiff\\Android\\904100357\\" |
| | | } |
| | | |
| | | task autoCopy_904100357(type: Copy, dependsOn: autoCopy_904100357_Manifest) { |
| | | from "build/outputs/aar/" |
| | | include "app-game_904100357-release.aar" |
| | | into "C:\\Unity3D_SDK\\ChannelDiff\\Android\\904100357\\libs\\" |
| | | } |
| | | |
| | | task autoCopy_813015059_Manifest(type: Copy) { |
| | | dependsOn 'assembleGame_813015059Release' |
| | | from zipTree("build/outputs/aar/app-game_813015059-release.aar") |
| | |
| | | dependsOn autoCopySecondWorldAndroidManifest |
| | | from 'build/outputs/aar/' |
| | | include "app-secondworld-release.aar" |
| | | into 'C:\\Unity3D_SDK\\ChannelDiff\\test\\libs\\' |
| | | |
| | | into 'C:\\Unity3D_SDK\\ChannelDiff\\Android\\test\\libs\\' |
| | | } |