summaryrefslogtreecommitdiff
path: root/tlsexternalcertprovider/build.gradle
blob: 2fda4308369e1ca0e64e4277bd699bd8442b4493 (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
/*
 * 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 34


    defaultConfig {
        applicationId "de.blinkt.externalcertprovider"
        minSdkVersion 21
        targetSdkVersion 34
        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
    }
    lint {
        abortOnError false
    }
    namespace 'de.blinkt.externalcertprovider'
    buildFeatures {
        aidl true
    }

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

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'
}