client_Hale
2018-08-22 241e7efb009cc7cc7e991da49937ee11e1c01bbd
Project/app/build.gradle
@@ -26,15 +26,43 @@
    productFlavors {
        snxxz {
            dimension "default"
            manifestPlaceholders.put("appId","com.shandangceshi.snxxz")
            manifestPlaceholders.put("TrackAppID","5ae23b6b905f98d9b8bd542debf35678")
            manifestPlaceholders.put("TrackChannelID","_default_")
            manifestPlaceholders.put("appId", "com.shandangceshi.snxxz")
            manifestPlaceholders.put("TrackAppID", "5ae23b6b905f98d9b8bd542debf35678")
            manifestPlaceholders.put("TrackChannelID", "_default_")
            manifestPlaceholders.put("JpushAppKey", "22186239fee975f883198cf4")
            manifestPlaceholders.put("TT_AppName", "少年修仙传")
            manifestPlaceholders.put("TT_AppID", 151709)
            manifestPlaceholders.put("TT_Chanel", "android-snxxz")
        }
        djx {
            dimension "default"
            manifestPlaceholders.put("appId","com.shandangceshi.snxxz")
            manifestPlaceholders.put("TrackAppID","fa550076116709861b7e9b61bb401710")
            manifestPlaceholders.put("TrackChannelID","_default_")
            manifestPlaceholders.put("appId", "com.shandangceshi.snxxz")
            manifestPlaceholders.put("TrackAppID", "fa550076116709861b7e9b61bb401710")
            manifestPlaceholders.put("TrackChannelID", "_default_")
            manifestPlaceholders.put("JpushAppKey", "22186239fee975f883198cf4")
            manifestPlaceholders.put("TT_AppName", "少年修仙传")
            manifestPlaceholders.put("TT_AppID", "151709")
            manifestPlaceholders.put("TT_Chanel", "android-snxxz")
        }
        lxj {
            dimension "default"
            manifestPlaceholders.put("appId", "com.zyxhgame.game007")
            manifestPlaceholders.put("TrackAppID", "0c5ad863fb8935d18b3ecefe05389701")
            manifestPlaceholders.put("TrackChannelID", "_default_")
            manifestPlaceholders.put("JpushAppKey", "c848276e83ce1f5761ff4b27")
            manifestPlaceholders.put("TT_AppName", "少年修仙传")
            manifestPlaceholders.put("TT_AppID", "151709")
            manifestPlaceholders.put("TT_Chanel", "android-snxxz")
        }
        secondworld {
            dimension "default"
            manifestPlaceholders.put("appId", "com.secondworld.snxxz")
            manifestPlaceholders.put("TrackAppID", "5ae23b6b905f98d9b8bd542debf35678")
            manifestPlaceholders.put("TrackChannelID", "_default_")
            manifestPlaceholders.put("JpushAppKey", "22186239fee975f883198cf4")
            manifestPlaceholders.put("TT_AppName", "少年修仙传")
            manifestPlaceholders.put("TT_AppID", "151709")
            manifestPlaceholders.put("TT_Chanel", "android-snxxz")
        }
    }
}
@@ -54,6 +82,64 @@
    implementation files('libs/okhttp.jar')
    implementation files('libs/okio.jar')
    implementation files('libs/tracking1.3.0.jar')
    compile (name: 'freesdk-release', ext: 'aar')
    compile(name: 'freesdk-release', ext: 'aar')
    compile(name: 'applog-release', ext: 'aar')
    provided files('libs/unity-classes.jar')
}
task autoCopyLxjAndroidManifest(type: Copy) {
    dependsOn 'assembleLxjRelease'
    from zipTree("build/outputs/aar/app-lxj-release.aar")
    include "AndroidManifest.xml"
    into "C:\\Unity3D_SDK\\渠道差异\\灵仙记\\"
}
task autoCopyLxjAAR(type: Copy) {
    dependsOn autoCopyLxjAndroidManifest
    from "build/outputs/aar/"
    include "app-lxj-release.aar"
    into "C:\\Unity3D_SDK\\渠道差异\\灵仙记\\libs\\"
}
task autoCopyDjxAndroidManifest(type: Copy) {
    dependsOn 'assembleDjxRelease'
    from zipTree("build/outputs/aar/app-djx-release.aar")
    include "AndroidManifest.xml"
    into "C:\\Unity3D_SDK\\渠道差异\\斗剑仙\\"
}
task autoCopyDjxAAR(type: Copy) {
    dependsOn autoCopyDjxAndroidManifest
    from "build/outputs/aar/"
    include "app-djx-release.aar"
    into "C:\\Unity3D_SDK\\渠道差异\\斗剑仙\\libs\\"
}
task autoCopySnxxzAndroidManifest(type: Copy) {
    dependsOn 'assembleSnxxzRelease'
    from zipTree("build/outputs/aar/app-snxxz-release.aar")
    include "AndroidManifest.xml"
    into "C:\\Unity3D_SDK\\渠道差异\\少年修仙传\\"
}
task autoCopySnxxzAAR(type: Copy) {
    dependsOn autoCopySnxxzAndroidManifest
    from "build/outputs/aar/"
    include "app-snxxz-release.aar"
    into "C:\\Unity3D_SDK\\渠道差异\\少年修仙传\\libs\\"
}
task autoCopySecondWorldAndroidManifest(type: Copy) {
    dependsOn 'assembleSecondworldRelease'
    from zipTree("build/outputs/aar/app-secondworld-release.aar")
    include "AndroidManifest.xml"
    into "C:\\Unity3D_SDK\\Android\\test\\"
}
task autoCopySecondWorldAAR(type: Copy) {
    dependsOn autoCopySecondWorldAndroidManifest
    from 'build/outputs/aar/'
    include "app-secondworld-release.aar"
    into 'C:\\Unity3D_SDK\\Android\\test\\libs\\'
}