summaryrefslogtreecommitdiff
path: root/tlsexternalcertprovider/build.gradle
blob: 945bfef535adacca9e8f85cec90a9a5b7c9233fb (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
/*
 * Copyright (c) 2012-2018 Arne Schwabe
 * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
 */

apply plugin: 'com.android.application'

repositories {
    jcenter()
}

ext {
    bouncycastleVersion = '1.49'
}

android {
    compileSdkVersion 27


    defaultConfig {
        applicationId "de.blinkt.externalcertprovider"
        minSdkVersion 16
        targetSdkVersion 27
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

    }

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

    compileOptions {
        targetCompatibility 1.8
        sourceCompatibility 1.8
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation (
    'org.bouncycastle:bcprov-jdk15on:'  + bouncycastleVersion,
    'org.bouncycastle:bcprov-ext-jdk15on:' + bouncycastleVersion,
    'org.bouncycastle:bcpkix-jdk15on:' + bouncycastleVersion,
    'org.bouncycastle:bcmail-jdk15on:' + bouncycastleVersion,
    'org.bouncycastle:bcpg-jdk15on:' + bouncycastleVersion
    )

}