aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-11-25 03:29:43 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-11-29 17:51:16 +0530
commit61b5285e4ea1d7ad0c0b844d42e8df0255abe162 (patch)
treef55dfe5af4a2330dda61c9bb2488517b3c9e3493
parent7b25bf878315a894122e3de74e19add6fcdf5d4c (diff)
build: use vendored openpgp-ktx
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r--app/build.gradle.kts4
-rw-r--r--buildSrc/src/main/java/BaseProjectConfig.kt1
-rw-r--r--buildSrc/src/main/java/Dependencies.kt2
3 files changed, 2 insertions, 5 deletions
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index a668a080..95d65ce7 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -43,6 +43,8 @@ android {
dependencies {
compileOnly(Dependencies.AndroidX.annotation)
+ implementation(project(":autofill-parser"))
+ implementation(project(":openpgp-ktx"))
implementation(Dependencies.AndroidX.activity_ktx)
implementation(Dependencies.AndroidX.appcompat)
implementation(Dependencies.AndroidX.autofill)
@@ -64,8 +66,6 @@ dependencies {
implementation(Dependencies.Kotlin.Coroutines.android)
implementation(Dependencies.Kotlin.Coroutines.core)
- implementation(project(Dependencies.FirstParty.autofill_parser))
- implementation(Dependencies.FirstParty.openpgp_ktx)
implementation(Dependencies.FirstParty.zxing_android_embedded)
implementation(Dependencies.ThirdParty.commons_codec)
diff --git a/buildSrc/src/main/java/BaseProjectConfig.kt b/buildSrc/src/main/java/BaseProjectConfig.kt
index 41e3ac07..24c4714a 100644
--- a/buildSrc/src/main/java/BaseProjectConfig.kt
+++ b/buildSrc/src/main/java/BaseProjectConfig.kt
@@ -39,7 +39,6 @@ internal fun Project.configureForAllProjects() {
repositories {
google()
jcenter()
- maven { setUrl("https://jitpack.io") }
}
tasks.withType<KotlinCompile> {
kotlinOptions {
diff --git a/buildSrc/src/main/java/Dependencies.kt b/buildSrc/src/main/java/Dependencies.kt
index 962299c6..dc2e1276 100644
--- a/buildSrc/src/main/java/Dependencies.kt
+++ b/buildSrc/src/main/java/Dependencies.kt
@@ -41,9 +41,7 @@ object Dependencies {
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 autofill_parser = ":autofill-parser"
}
object ThirdParty {