1 apply plugin: 'com.android.application'
2 apply plugin: 'checkstyle'
3 apply plugin: 'findbugs'
5 check.dependsOn 'checkstyle', 'findbugs'
9 buildToolsVersion "22.0.1"
12 applicationId "org.somenet.android.helloworld2"
21 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
25 if (new File("${System.properties['user.home']}/.android/release.gradle").exists()) {
26 apply from: "${System.properties['user.home']}/.android/release.gradle";
28 logger.warn('SigningConfig not found!')
37 compile fileTree(dir: 'libs', include: ['*.jar'])
38 compile 'com.android.support:appcompat-v7:22.+'
42 task checkstyle(type: Checkstyle) {
48 configFile file("${project.rootDir}/config/checkstyle/checkstyle.xml")
51 task findbugs(type: FindBugs) {
57 excludeFilter file("${project.rootDir}/config/findbugs/findbugs-filter.xml")
58 classes = files("${project.rootDir}/app/build/intermediates/classes/")