aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle
blob: d2b45464302d443922583fe899e2e7d4311602cc (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
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

android {
  compileSdkVersion 25

  defaultConfig {
    applicationId 'org.pacien.tincapp'
    minSdkVersion 21
    //noinspection OldTargetApi
    targetSdkVersion 21
    multiDexEnabled true
    versionCode 16
    versionName '0.16'
    ndk {
      abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
    }
  }

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

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

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

  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  implementation 'net.sourceforge.streamsupport:streamsupport-cfuture:1.5.5'
  implementation 'com.android.support:design:25.4.0'
  implementation 'com.google.zxing:android-integration:3.3.0'
  implementation 'org.bouncycastle:bcpkix-jdk15on:1.59'
  implementation 'org.slf4j:slf4j-api:1.7.25'
  implementation 'com.github.tony19:logback-android:1.1.1-9'
  implementation('org.apache.commons:commons-configuration2:2.1.1') { exclude group: 'commons-logging', module: 'commons-logging' }
  implementation('commons-beanutils:commons-beanutils:1.9.3') { exclude group: 'commons-logging', module: 'commons-logging' }
}

repositories {
  jcenter()
  google()
}