| apply plugin: 'com.android.library' | 
|   | 
| android { | 
|     compileSdkVersion 26 | 
|   | 
|   | 
|   | 
|     defaultConfig { | 
|         minSdkVersion 17 | 
|         targetSdkVersion 26 | 
|         versionCode 1 | 
|         versionName "1.0" | 
|     } | 
|   | 
|     buildTypes { | 
|         release { | 
|             //混淆 | 
|             minifyEnabled true | 
|             //对齐 | 
|             zipAlignEnabled true | 
|             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | 
|         } | 
|     } | 
|   | 
|     flavorDimensions "default" | 
|     productFlavors { | 
|         // quickSDK | 
|         game_qk{ | 
|             dimension "default" | 
|             manifestPlaceholders.put("appId", "com.djmx.yj.quick") | 
|             manifestPlaceholders.put("TrackAppID", "5ae23b6b905f98d9b8bd542debf35678") | 
|             manifestPlaceholders.put("TrackChannelID", "_default_") | 
|             manifestPlaceholders.put("JpushAppKey", "22186239fee975f883198cf4") | 
|         } | 
|     } | 
| } | 
|   | 
| repositories { | 
|     flatDir { | 
|         dirs 'libs' | 
|     } | 
| } | 
|   | 
| dependencies { | 
|     implementation 'com.android.support:appcompat-v7:26.0.0-beta1' | 
|     implementation files('libs/android-support-v4.jar') | 
|     implementation files('libs/bugly.jar') | 
|     implementation files('libs/buglyagent.jar') | 
|     implementation files('libs/jcore-android-1.2.1.jar') | 
|     implementation files('libs/jpush-android-3.1.3.jar') | 
|     implementation files('libs/tracking1.3.0.jar') | 
|     compileOnly files('libs/unity-classes.jar') | 
|     compileOnly files('libs/quicksdk_v2.7.1_20200309.jar') | 
| } | 
|   | 
|   | 
| task autoCopy_qkcwgame_Manifest(type: Copy) { | 
|     dependsOn 'assembleGame_qkRelease' | 
|     from zipTree("build/outputs/aar/qkcw2_sdk-game_qk-release.aar") | 
|     include "AndroidManifest.xml" | 
|     into "C:\\Unity3D_SDK\\ChannelDiff\\Android\\qkcwgame\\" | 
| } | 
|   | 
| task autoCopy_qkcwgame(type: Copy) { | 
|     dependsOn autoCopy_qkcwgame_Manifest | 
|     from "build/outputs/aar/" | 
|     include "qkcw2_sdk-game_qk-release.aar" | 
|     into "C:\\Unity3D_SDK\\ChannelDiff\\Android\\qkcwgame\\libs\\" | 
| } |