2015-10-08 19:08:08 +02:00
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
2015-08-26 21:52:57 +02:00
|
|
|
apply plugin: 'com.android.application'
|
2015-10-08 19:08:08 +02:00
|
|
|
apply plugin: 'checkstyle'
|
2015-08-26 21:52:57 +02:00
|
|
|
|
2015-08-26 22:12:16 +02:00
|
|
|
dependencies {
|
|
|
|
compile project(':privileged-api-lib')
|
|
|
|
}
|
|
|
|
|
2015-08-26 21:52:57 +02:00
|
|
|
android {
|
2016-02-25 18:01:03 +03:00
|
|
|
compileSdkVersion 23
|
2016-07-06 11:37:38 +01:00
|
|
|
buildToolsVersion '23.0.3'
|
2015-08-26 21:52:57 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 8
|
2016-02-25 18:01:03 +03:00
|
|
|
targetSdkVersion 23
|
2016-01-19 15:27:44 +01:00
|
|
|
versionCode 1050
|
|
|
|
versionName "0.1"
|
2015-08-26 21:52:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
compileOptions.encoding = "UTF-8"
|
|
|
|
|
|
|
|
// Use Java 1.7, requires minSdk 8
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
|
|
}
|
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
// Do not abort build if lint finds errors
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2015-10-08 19:08:08 +02:00
|
|
|
|
2015-11-30 10:35:19 +01:00
|
|
|
checkstyle {
|
2016-07-04 11:25:04 +01:00
|
|
|
toolVersion = '7.0'
|
2015-11-30 10:35:19 +01:00
|
|
|
}
|
|
|
|
|
2015-10-08 19:08:08 +02:00
|
|
|
task checkstyle(type: Checkstyle) {
|
|
|
|
configFile file("${project.rootDir}/config/checkstyle/checkstyle.xml")
|
2016-05-03 11:36:57 +01:00
|
|
|
source 'src/main/java'
|
2015-10-08 19:08:08 +02:00
|
|
|
include '**/*.java'
|
|
|
|
|
|
|
|
classpath = files()
|
|
|
|
}
|