aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle
blob: 4aad1314f1b713d679554e0cc9c08cf2dea59322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

android {
  compileSdkVersion 25
  buildToolsVersion '26.0.2'

  defaultConfig {
    applicationId 'org.pacien.tincapp'
    minSdkVersion 21
    targetSdkVersion 21
    multiDexEnabled true
    versionCode 9
    versionName '0.9'
    ndk {
      abiFilters 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'arm64-v8a'
    }
  }

  buildTypes {
    release {
      minifyEnabled true
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
  }

  externalNativeBuild {
    cmake {
      path 'CMakeLists.txt'
    }
  }

  lintOptions {
    // 20180212:
    // Lint checks on Kotlin files only work from the Android Studio IDE.
    // They currently do not run when you run lint directly from Gradle.
    // https://developer.android.com/studio/preview/kotlin-issues.html
    disable 'OnClick', 'UnusedResources'
  }
}

dependencies {
  compile fileTree(dir: 'libs', include: ['*.jar'])

  compile 'com.android.support:appcompat-v7:25.4.0'
  compile 'com.android.support:design:25.4.0'
  compile 'com.android.support:support-v4:25.4.0'
  compile 'com.android.support:recyclerview-v7:25.4.0'
  compile 'com.android.support.constraint:constraint-layout:1.0.2'

  compile('org.apache.commons:commons-configuration2:2.1.1') {
    exclude group: 'commons-logging', module: 'commons-logging'
  }
  compile('commons-beanutils:commons-beanutils:1.9.3') {
    exclude group: 'commons-logging', module: 'commons-logging'
  }

  compile 'org.bouncycastle:bcpkix-jdk15on:1.57'

  compile 'net.sourceforge.streamsupport:streamsupport-cfuture:1.5.5'

  compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}

repositories {
  jcenter()
  google()
}