Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Commit

Permalink
add sample channels
Browse files Browse the repository at this point in the history
  • Loading branch information
mcxiaoke committed Jun 15, 2017
1 parent 8767abd commit 90654c5
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 12 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -5,7 +5,6 @@ apks/
repo/
dist/
tmp/
channels/
*.iml
*.apk
*.pyc
Expand Down
2 changes: 0 additions & 2 deletions build.gradle
Expand Up @@ -3,8 +3,6 @@ ext {
buildToolsVersion = "25.0.3"
minSdkVersion = 14
targetSdkVersion = 22
versionName = "1.1.0-SNAPSHOT"
versionCode = 110
}

group = GROUP
Expand Down
16 changes: 16 additions & 0 deletions channels/channels.txt
@@ -0,0 +1,16 @@
Google_Market#Google电子市场
Hiapk_Market#安卓市场
Yingyonghui_Market#应用汇市场
ali_market#阿里云商店
Xiaomi_Market#小米市场
Yingyongbao_Market#腾讯应用宝市场
Samsung_Market#三星市场
OPPO_Market#OPPO市场
Huawei_Market#华为市场
amazon_market#亚马逊市场
Meizu_Market#魅族市场
3G_market#3G安卓市场
WanDouJia_Parter#豌豆荚
Baidu_Market#百度应用中心
360_Market#360手机助手
Taobao_Market#淘宝应用市场
7 changes: 7 additions & 0 deletions channels/free.txt
@@ -0,0 +1,7 @@
Cat1#hello2
cat2#哈哈哈
BigCat#hello1
田园猫
橘Cat#gogogo
GoodCat
Special@Cat%001 # oooo
4 changes: 4 additions & 0 deletions channels/paid.txt
@@ -0,0 +1,4 @@
Dog1
Dog2#d1
Dog3#d5
金毛# it is a dog
18 changes: 9 additions & 9 deletions sample/build.gradle
@@ -1,5 +1,5 @@
buildscript {
ext.packer_version = '1.9.2-SNAPSHOT'
ext.packer_version = '1.9.2'

repositories {
maven { url '/tmp/repo/' }
Expand All @@ -8,7 +8,7 @@ buildscript {
}

dependencies {
classpath "com.android.tools.build:gradle:2.2.2"
classpath "com.android.tools.build:gradle:2.2.3"
classpath "com.mcxiaoke.packer-ng:plugin:$packer_version"
}
}
Expand All @@ -33,11 +33,11 @@ packer {
archiveOutput = new File(project.rootProject.buildDir, "apks")
// channelList = ['*Douban*', 'Google/', '中文/@#市场', 'Hello@World',
// 'GradleTest', '20070601!@#$%^&*(){}:"<>?-=[];\',./']
// channelFile = new File(project.rootDir, "markets.txt")
// channelFile = new File(project.rootDir, "channels.txt")
channelMap = [
"Cat" : project.rootProject.file("channels/cat.txt"),
"Dog" : project.rootProject.file("channels/dog.txt"),
"Fish": project.rootProject.file("channels/channels.txt")
"free" : project.rootProject.file("channels/free.txt"),
"paid" : project.rootProject.file("channels/paid.txt"),
"other": project.rootProject.file("channels/channels.txt")
]
}
//packer-end
Expand Down Expand Up @@ -97,11 +97,11 @@ android {
}

productFlavors {
Dog {}
free {}

Cat {}
paid {}

Fish {}
other {}
}

lintOptions {
Expand Down

0 comments on commit 90654c5

Please sign in to comment.