summaryrefslogtreecommitdiff
path: root/tlsexternalcertprovider/build.gradle
blob: 667df3d9844eb9d4a5d79fa58e31829b7680846a (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
/*
 * 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'

ext {
    bouncycastleVersion = '1.49'
}

android {
    compileSdkVersion 27


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

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

    }

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

    compileOptions {
        targetCompatibility 1.8
        sourceCompatibility 1.8
    }

    // This is just a demo package, don't care about it being perfect
    lintOptions {
        abortOnError false
    }
}

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
    )

    testImplementation 'junit:junit:4.12'
}