summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2017-11-26 23:42:42 -0500
committerArne Schwabe <arne@rfc2549.org>2017-11-26 23:51:44 -0500
commit5d9b51c42e4077d5975c2b74262e9ca78a6ed5a7 (patch)
treeb005c8ed267caf283477ac5b083a7f09e430417f /main
parent7b0af007a717c72d957ed413bb91ae17da9343a1 (diff)
Build tool versions
Diffstat (limited to 'main')
-rw-r--r--main/build.gradle31
1 files changed, 17 insertions, 14 deletions
diff --git a/main/build.gradle b/main/build.gradle
index afe19468..6b49c36d 100644
--- a/main/build.gradle
+++ b/main/build.gradle
@@ -8,9 +8,9 @@ import com.android.builder.model.ProductFlavor
apply plugin: 'com.android.application'
apply plugin: 'checkstyle'
- checkstyle {
+checkstyle {
showViolations true
- }
+}
repositories {
jcenter()
@@ -19,9 +19,10 @@ repositories {
}
dependencies {
- 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'
+ implementation 'com.android.support.constraint:constraint-layout:1.0.2'
+ compile 'com.android.support:support-annotations:27.0.1'
+ compile 'com.android.support:cardview-v7:27.0.1'
+ compile 'com.android.support:recyclerview-v7:27.0.1'
// compile 'ch.acra:acra:4.5.0'
compile 'com.github.PhilJay:MPAndroidChart:v3.0.2'
@@ -30,7 +31,7 @@ dependencies {
android {
compileSdkVersion 26
- buildToolsVersion '26.0.0'
+ buildToolsVersion '27.0.1'
defaultConfig {
minSdkVersion 14
@@ -45,9 +46,9 @@ android {
jniLibs.srcDirs = ['ovpnlibs/jniLibs']
jni.srcDirs = [] //disable automatic ndk-build
}
-
+
ovpn3 {
-
+
}
debug {
@@ -84,22 +85,24 @@ android {
flavorDimensions "implementation"
productFlavors {
- /*ovpn3 {
+ /*ovpn3 {
dimension "implementation"
} */
- normal {
- dimension "implementation"
- }
+ normal {
+ dimension "implementation"
+ }
}
+ compileOptions {
+ targetCompatibility 1.8
+ sourceCompatibility 1.8
+ }
}
-
-
// ~/.gradle/gradle.properties
if (project.hasProperty('keystoreFile') &&
project.hasProperty('keystorePassword') &&