Android gradle task
概要
- assemble
- jar の生成
- check
- testの実行
- findBugsMain
- findBugsTest
- build
- assemble + check
- clean
概要。その2
- assemble
- assembleDebug + assembleRelease
- check
- build
- clean
eclipseから project をexport


buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.11.+'
}
}
apply plugin: 'android'
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
}
android {
compileSdkVersion 17
buildToolsVersion "19.1.0"
}
注意点
apply plugin: 'android'
を利用する場合は、
apply plugin: 'java'
を追記しないこと。

