-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/workspace.xml | ||
/.idea/libraries | ||
.DS_Store | ||
/build | ||
/captures |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
apply plugin: 'com.android.application' | ||
apply plugin: 'org.greenrobot.greendao' | ||
|
||
android { | ||
compileSdkVersion 25 | ||
buildToolsVersion '25.0.0' | ||
|
||
defaultConfig { | ||
applicationId "com.monke.monkeybook" | ||
minSdkVersion 17 | ||
targetSdkVersion 25 | ||
versionCode 6 | ||
versionName "1.2.1" | ||
manifestPlaceholders = [UMENG_CHANNEL_VALUE: "debug"] | ||
} | ||
|
||
productFlavors{ | ||
baidu { | ||
manifestPlaceholders = [UMENG_CHANNEL_VALUE: "baidu"] | ||
} | ||
pyger{ | ||
manifestPlaceholders = [UMENG_CHANNEL_VALUE: "pyger"] | ||
} | ||
} | ||
|
||
signingConfigs { | ||
config { | ||
keyAlias 'monkeybook' | ||
keyPassword 'zqh19931118' | ||
storeFile file('D:/WorkSpace/Android/PersonalKey/Monke_keystore.jks') | ||
storePassword 'zqh19931118' | ||
} | ||
} | ||
lintOptions { | ||
abortOnError false | ||
} | ||
buildTypes { | ||
release { | ||
buildConfigField "boolean", "IS_RELEASE", "true" | ||
minifyEnabled true | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
applicationVariants.all { variant -> | ||
variant.outputs.each { output -> | ||
def outputFile = output.outputFile | ||
if (outputFile != null && outputFile.name.endsWith('.apk')) { | ||
//这里修改apk文件名 | ||
def fileName = APP_NAME +"_"+"${variant.productFlavors[0].name}"+ "_v" + defaultConfig.versionName + "(" + defaultConfig.versionCode + ").apk" | ||
output.outputFile = new File(outputFile.parent, fileName) | ||
} | ||
} | ||
} | ||
} | ||
debug { | ||
buildConfigField "boolean", "IS_RELEASE", "false" | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
// signingConfig signingConfigs.config | ||
} | ||
} | ||
} | ||
|
||
repositories{ | ||
flatDir{ | ||
dirs 'libs' | ||
} | ||
} | ||
|
||
|
||
dependencies { | ||
compile fileTree(include: ['*.jar'], dir: 'libs') | ||
testCompile 'junit:junit:4.12' | ||
compile(name: 'autoupdatesdk-release', ext: 'aar') | ||
compile 'com.android.support:appcompat-v7:25.1.0' | ||
compile 'com.android.support:design:25.1.0' | ||
compile 'com.android.support:cardview-v7:25.1.0' | ||
compile 'com.android.support:support-compat:25.1.0' | ||
compile project(':basemvplib') | ||
//GreenDao | ||
compile 'org.greenrobot:greendao:3.0.1' | ||
compile 'org.greenrobot:greendao-generator:3.0.0' | ||
//JSOUP | ||
compile 'org.jsoup:jsoup:1.10.2' | ||
//沉浸式状态栏 | ||
compile 'com.zhangmonke:ImmerseLayout:1.1.1' | ||
//ProgressBar | ||
compile 'com.zhangmonke:MProgressBar:1.0.1' | ||
//Glide | ||
compile 'com.github.bumptech.glide:glide:3.7.0' | ||
//AutofitTextView | ||
compile 'me.grantland:autofittextview:0.2.1' | ||
//删除粒子效果 | ||
compile 'tyrantgit:explosionfield:1.0.1' | ||
//View简易动画 | ||
compile 'com.daimajia.easing:library:2.0@aar' | ||
compile 'com.daimajia.androidanimations:library:2.2@aar' | ||
//CircleImageView | ||
compile 'de.hdodenhof:circleimageview:2.1.0' | ||
//SwitchButton | ||
compile 'com.kyleduo.switchbutton:library:1.4.4' | ||
compile 'com.victor:lib:1.0.4' | ||
compile files('libs/commons-codec-1.10-sources.jar') | ||
compile files('libs/juniversalchardet-1.0.3.jar') | ||
compile files('libs/umeng-analytics-v6.1.1.jar') | ||
compile files('libs/utdid4all-1.0.4.jar') | ||
} | ||
|
||
greendao { | ||
schemaVersion 1 | ||
daoPackage 'com.monke.monkeybook.dao' | ||
targetGenDir 'src/main/java' | ||
} |