diff options
Diffstat (limited to 'main/build.gradle')
-rw-r--r-- | main/build.gradle | 70 |
1 files changed, 27 insertions, 43 deletions
diff --git a/main/build.gradle b/main/build.gradle index 53d31100..afe19468 100644 --- a/main/build.gradle +++ b/main/build.gradle @@ -7,26 +7,36 @@ import com.android.builder.model.ProductFlavor apply plugin: 'com.android.application' +apply plugin: 'checkstyle' + checkstyle { + showViolations true + } + repositories { jcenter() + maven { url "https://jitpack.io" } + maven { url 'https://maven.google.com' } } dependencies { - compile 'com.android.support:support-annotations:23.2.1' - compile 'com.android.support:cardview-v7:23.2.1' - compile 'com.android.support:recyclerview-v7:23.2.1' + compile 'com.android.support:support-annotations:26.0.0' + compile 'com.android.support:cardview-v7:26.0.0' + compile 'com.android.support:recyclerview-v7:26.0.0' // compile 'ch.acra:acra:4.5.0' + compile 'com.github.PhilJay:MPAndroidChart:v3.0.2' + + testCompile 'junit:junit:4.12' } android { - compileSdkVersion 23 - buildToolsVersion '23.0.2' + compileSdkVersion 26 + buildToolsVersion '26.0.0' defaultConfig { minSdkVersion 14 - targetSdkVersion 23 - versionCode = 131 - versionName = "0.6.51" + targetSdkVersion 26 + versionCode = 153 + versionName = "0.6.73" } sourceSets { @@ -61,7 +71,8 @@ android { lintOptions { enable 'BackButton', 'EasterEgg', 'StopShip', 'IconExpectedSize', 'GradleDynamicVersion', 'NewerVersionAvailable' - disable 'MissingTranslation' + warning 'ImpliedQuantity', 'MissingQuantity' + disable 'MissingTranslation', 'UnsafeNativeCodeLocation' } buildTypes { @@ -70,45 +81,18 @@ android { } } + flavorDimensions "implementation" productFlavors { - //ovpn3 - - normal - - - - /* - x86 { - versionCode Integer.parseInt("6" + defaultConfig.versionCode) - ndk { - abiFilter "x86" - } - } + /*ovpn3 { + dimension "implementation" - mips { - versionCode Integer.parseInt("4" + defaultConfig.versionCode) - ndk { - abiFilter "mips" - } - } + } */ - armv7 { - versionCode Integer.parseInt("2" + defaultConfig.versionCode) - ndk { - abiFilter "armeabi-v7a" - } - } - - arm { - versionCode Integer.parseInt("1" + defaultConfig.versionCode) - ndk { - abiFilter "armeabi" - } - } + normal { + dimension "implementation" + } - fat - */ } |