build: use vendored openpgp-ktx

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya
2020-11-25 03:29:43 +05:30
parent 7b25bf8783
commit 61b5285e4e
3 changed files with 2 additions and 5 deletions

View File

@@ -43,6 +43,8 @@ android {
dependencies { dependencies {
compileOnly(Dependencies.AndroidX.annotation) compileOnly(Dependencies.AndroidX.annotation)
implementation(project(":autofill-parser"))
implementation(project(":openpgp-ktx"))
implementation(Dependencies.AndroidX.activity_ktx) implementation(Dependencies.AndroidX.activity_ktx)
implementation(Dependencies.AndroidX.appcompat) implementation(Dependencies.AndroidX.appcompat)
implementation(Dependencies.AndroidX.autofill) implementation(Dependencies.AndroidX.autofill)
@@ -64,8 +66,6 @@ dependencies {
implementation(Dependencies.Kotlin.Coroutines.android) implementation(Dependencies.Kotlin.Coroutines.android)
implementation(Dependencies.Kotlin.Coroutines.core) implementation(Dependencies.Kotlin.Coroutines.core)
implementation(project(Dependencies.FirstParty.autofill_parser))
implementation(Dependencies.FirstParty.openpgp_ktx)
implementation(Dependencies.FirstParty.zxing_android_embedded) implementation(Dependencies.FirstParty.zxing_android_embedded)
implementation(Dependencies.ThirdParty.commons_codec) implementation(Dependencies.ThirdParty.commons_codec)

View File

@@ -39,7 +39,6 @@ internal fun Project.configureForAllProjects() {
repositories { repositories {
google() google()
jcenter() jcenter()
maven { setUrl("https://jitpack.io") }
} }
tasks.withType<KotlinCompile> { tasks.withType<KotlinCompile> {
kotlinOptions { kotlinOptions {

View File

@@ -41,9 +41,7 @@ object Dependencies {
object FirstParty { object FirstParty {
const val openpgp_ktx = "com.github.android-password-store:openpgp-ktx:2.2.0"
const val zxing_android_embedded = "com.github.android-password-store:zxing-android-embedded:4.1.0-aps" const val zxing_android_embedded = "com.github.android-password-store:zxing-android-embedded:4.1.0-aps"
const val autofill_parser = ":autofill-parser"
} }
object ThirdParty { object ThirdParty {