Groovy Android build.gradle文件

1buildscript { 2 repositories { 3 jcenter() 4 } 5 dependencies { 6 classpath 'com.android.tools.build:gradle:1.2.3' 7 classpath 'org.codehaus.groovy:gradle-groovy-android-plugin:0.3.6' // groovy plugin classpath 8 } 9} 10apply plugin: 'com.android.application' 11apply plugin: 'groovyx.grooid.groovy-android' // groovy plugin 12 13repositories { 14 jcenter() 15} 16 17android { 18 compileSdkVersion 22 19 buildToolsVersion "22.0.1" 20 21 defaultConfig { 22 applicationId "misty000.app" 23 minSdkVersion 9 24 targetSdkVersion 22 25 versionCode 1 26 versionName "1.0" 27 } 28 29 compileOptions { 30 sourceCompatibility JavaVersion.VERSION_1_6 31 targetCompatibility JavaVersion.VERSION_1_6 32 } 33 buildTypes { 34 release { 35 minifyEnabled false 36 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 37 } 38 } 39} 40 41dependencies { 42 compile fileTree(dir: 'libs', include: ['*.jar']) 43    // Groovy 44    compile 'org.codehaus.groovy:groovy:2.4.3:grooid' 45 // Android support 46  compile 'com.android.support:appcompat-v7:22.1.1' 47 compile 'com.android.support:gridlayout-v7:22.1.1' 48 compile 'com.android.support:support-v4:22.1.1' 49 // Android L 50 compile 'com.android.support:cardview-v7:21.0.0' 51 compile 'com.android.support:recyclerview-v7:21.0.0' 52}
点赞
收藏

评论区

加载中...

相关推荐

MySQL:[Err] 1292 - Incorrect datetime value: ‘0000-00-00 00:00:00‘ for column ‘CREATE_TIME‘ at row 1

文章目录问题用navicat导入数据时,报错:原因这是因为当前的MySQL不支持datetime为0的情况。解决修改sql\mode:sql\mode:SQLMode定义了MySQL应支持的SQL语法、数据校验等,这样可以更容易地在不同的环境中使用MySQL。全局s

Oracle 分组与拼接字符串同时使用

SELECTT.,ROWNUMIDFROM(SELECTT.EMPLID,T.NAME,T.BU,T.REALDEPART,T.FORMATDATE,SUM(T.S0)S0,MAX(UPDATETIME)CREATETIME,LISTAGG(TOCHAR(

MySQL部分从库上面因为大量的临时表tmp_table造成慢查询

背景描述Time:20190124T00:08:14.70572408:00User@Host:@Id:Schema:sentrymetaLast_errno:0Killed:0Query_time:0.315758Lock_

手写Java HashMap源码

HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程22

Android Studio 配置文件build

AndroidStudio配置文件buildAndroidStudio配置文件build说明:1\.根目录下的配置文件:dependencies{classpath'com.android.tools.build:gradle:x.x.x'//比如:classpath'com.android.tools.buil

Android So动态加载 优雅实现与原理分析

背景:漫品Android客户端集成适配转换功能(基于目标识别(So库35M)和人脸识别库(5M)),导致apk体积50M左右,为优化客户端体验,决定实现So文件动态加载.!(https://oscimg.oschina.net/oscnet/00d1ff90e4b34869664fef59e3ec3fdd20b.png)点击上方“蓝字”关注我