wordpress会员中心页面,seo网站首页推广,wordpress设置注册页面,p2p网站开发思路方案/**首先第一行应用了一个插件#xff0c;一般有两个值可选#xff0c;com.android.application表示这是一个应用程序模块#xff0c;* com.android.library表示这是一个库模块。应用模块和库模块的最大区别是#xff1a;一个是可以直接运行的#xff0c;一个只能做为代码库…/**首先第一行应用了一个插件一般有两个值可选com.android.application表示这是一个应用程序模块* com.android.library表示这是一个库模块。应用模块和库模块的最大区别是一个是可以直接运行的一个只能做为代码库* 依附于其他应用程序模块来运行。*/
apply plugin: com.android.applicationandroid {
// 用于指定项目的编译版本compileSdkVersion 26
// 用于指定项目构建工具的版本buildToolsVersion 26.0.0
//defaultConfig {applicationId com.zjs.guanggaoshanping
// 用于指定项目最低兼容的Android系统版本。minSdkVersion 15
// 指定的值表示你在该目标版本上已经做过了充分的测试系统将会为你的应用程序启动一些最新的功能和特性。比如说Android6.0
// 系统中引入了运行时权限这个功能如果你将值设置为23或者更高那么系统会为你的程序启用运行时权限功能如果将值设置我22
// 那么就说明你的程序最高只在Android5.1系统上做过充分的测试Android6.0中引入的新功能自然不会启用。targetSdkVersion 26
// 用于指定项目的版本号versionCode 1
// 用于指定项目的版本名versionName 1.0testInstrumentationRunner android.support.test.runner.AndroidJUnitRunner}buildTypes {/**用于指定生成安装文件的相关配置通常只会有两个子闭包一个是debug一个是release* debug用于指定生成测试版安装文件的配置release用于指定生成正式版安装文件的配置。* 另外debug是可以忽略不写的。*/release {
// 用于指定是否对象的代码进行混淆 true表示混淆false表示不混淆minifyEnabled false
// 用于指定混淆时使用的规则文件proguardFiles getDefaultProguardFile(proguard-android.txt), proguard-rules.pro}}
}dependencies {compile fileTree(dir: libs, include: [*.jar])androidTestCompile(com.android.support.test.espresso:espresso-core:2.2.2, {exclude group: com.android.support, module: support-annotations})compile com.android.support:appcompat-v7:26.compile com.android.support.constraint:constraint-layout:1.0.2testCompile junit:junit:4.12
}