2018-06-28 15:21:18 +02:00
|
|
|
/*
|
|
|
|
* 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()
|
2018-09-19 18:03:26 +02:00
|
|
|
maven { url "https://jitpack.io" }
|
|
|
|
maven { url 'https://maven.google.com' }
|
2018-06-28 15:21:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
ext {
|
|
|
|
bouncycastleVersion = '1.49'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 27
|
|
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "de.blinkt.externalcertprovider"
|
|
|
|
minSdkVersion 16
|
|
|
|
targetSdkVersion 27
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
|
2019-09-03 18:17:51 +02:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2018-06-28 15:21:18 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
targetCompatibility 1.8
|
|
|
|
sourceCompatibility 1.8
|
|
|
|
}
|
2018-09-19 18:03:26 +02:00
|
|
|
|
|
|
|
// This is just a demo package, don't care about it being perfect
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
2018-06-28 15:21:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation (
|
2018-08-06 18:19:41 +02:00
|
|
|
//'org.bouncycastle:bcprov-jdk15on:' + bouncycastleVersion,
|
|
|
|
//'org.bouncycastle:bcprov-ext-jdk15on:' + bouncycastleVersion,
|
|
|
|
//'org.bouncycastle:bcpkix-jdk15on:' + bouncycastleVersion,
|
2018-06-28 15:21:18 +02:00
|
|
|
'org.bouncycastle:bcmail-jdk15on:' + bouncycastleVersion,
|
2018-08-06 18:19:41 +02:00
|
|
|
//'org.bouncycastle:bcpg-jdk15on:' + bouncycastleVersion
|
2018-06-28 15:21:18 +02:00
|
|
|
)
|
|
|
|
|
2018-08-06 18:19:41 +02:00
|
|
|
testImplementation 'junit:junit:4.12'
|
2018-06-28 15:21:18 +02:00
|
|
|
}
|