Suppress lint errors and remove bcprov
This commit is contained in:
parent
bf0c447fec
commit
1f49e99c46
38
build.gradle
38
build.gradle
|
@ -20,9 +20,19 @@ allprojects {
|
||||||
apply plugin: 'android'
|
apply plugin: 'android'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
jcenter()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compile project(':minidns')
|
||||||
|
compile project(':openpgpapilib')
|
||||||
|
compile project(':memorizingTrustManager')
|
||||||
|
compile 'com.android.support:support-v13:19.1.0'
|
||||||
|
compile 'org.bouncycastle:bcprov-jdk15on:1.50'
|
||||||
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 19
|
compileSdkVersion 19
|
||||||
buildToolsVersion "19.1"
|
buildToolsVersion "19.1"
|
||||||
|
@ -40,22 +50,24 @@ android {
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
runProguard true
|
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
||||||
}
|
|
||||||
debug {
|
|
||||||
runProguard false
|
runProguard false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
lintOptions {
|
||||||
|
disable 'MissingTranslation', 'InvalidPackage'
|
||||||
|
}
|
||||||
|
subprojects {
|
||||||
|
|
||||||
dependencies {
|
afterEvaluate {
|
||||||
compile project(':minidns')
|
if (getPlugins().hasPlugin('android') ||
|
||||||
compile project(':openpgpapilib')
|
getPlugins().hasPlugin('android-library')) {
|
||||||
compile project(':memorizingTrustManager')
|
|
||||||
compile 'com.android.support:support-v13:19.1.0'
|
configure(android.lintOptions) {
|
||||||
// compile files('libs/bcprov-jdk15on-150.jar')
|
disable 'AndroidGradlePluginVersion', 'MissingTranslation'
|
||||||
// compile files('libs/otr4j-0.10.jar')
|
}
|
||||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue