mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2026-04-11 08:48:16 +02:00
Add hwsecurity dependency
This commit is contained in:
parent
eb5e9bdffa
commit
98b7197aa5
|
|
@ -7,6 +7,7 @@ composeUi = "1.3.0-rc01"
|
|||
coroutines = "1.6.4"
|
||||
flowbinding = "1.2.0"
|
||||
hilt = "2.44"
|
||||
hwsecurity = "4.4.0"
|
||||
kotlin = "1.7.20"
|
||||
leakcanary = "2.9.1"
|
||||
lifecycle = "2.6.0-alpha02"
|
||||
|
|
@ -34,6 +35,8 @@ androidx-recyclerview = "androidx.recyclerview:recyclerview:1.3.0-rc01"
|
|||
androidx-recyclerviewSelection = "androidx.recyclerview:recyclerview-selection:1.2.0-alpha01"
|
||||
androidx-security = "androidx.security:security-crypto:1.1.0-alpha03"
|
||||
androidx-swiperefreshlayout = "androidx.swiperefreshlayout:swiperefreshlayout:1.2.0-alpha01"
|
||||
aps-hwsecurity-openpgp = { module = "com.github.android-password-store.hwsecurity:hwsecurity-openpgp", version.ref = "hwsecurity" }
|
||||
aps-hwsecurity-ui = { module = "com.github.android-password-store.hwsecurity:hwsecurity-ui", version.ref = "hwsecurity" }
|
||||
aps-sublimeFuzzy = "com.github.android-password-store:sublime-fuzzy:2.2.1"
|
||||
aps-zxingAndroidEmbedded = "com.github.android-password-store:zxing-android-embedded:4.2.1"
|
||||
build-agp = { module = "com.android.tools.build:gradle", version.ref = "agp" }
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
*/
|
||||
@file:Suppress("UnstableApiUsage")
|
||||
|
||||
import me.champeau.gradle.igp.gitRepositories
|
||||
|
||||
rootProject.name = "APS"
|
||||
|
||||
// Plugin repositories
|
||||
|
|
@ -41,6 +43,8 @@ pluginManagement {
|
|||
includeModule("com.github.ben-manes", "gradle-versions-plugin")
|
||||
includeModule("com.gradle", "gradle-enterprise-gradle-plugin")
|
||||
includeModule("com.gradle.enterprise", "com.gradle.enterprise.gradle.plugin")
|
||||
includeModule("me.champeau.includegit", "me.champeau.includegit.gradle.plugin")
|
||||
includeModule("me.champeau.gradle.includegit", "plugin")
|
||||
}
|
||||
}
|
||||
exclusiveContent {
|
||||
|
|
@ -51,7 +55,10 @@ pluginManagement {
|
|||
}
|
||||
}
|
||||
|
||||
plugins { id("com.gradle.enterprise") version "3.11.1" }
|
||||
plugins {
|
||||
id("com.gradle.enterprise") version "3.11.1"
|
||||
id("me.champeau.includegit") version "0.1.5"
|
||||
}
|
||||
|
||||
gradleEnterprise {
|
||||
buildScan {
|
||||
|
|
@ -156,6 +163,34 @@ dependencyResolutionManagement {
|
|||
}
|
||||
}
|
||||
|
||||
gitRepositories {
|
||||
checkoutsDirectory.set(rootProject.projectDir.resolve("build/checkouts"))
|
||||
include("hwsecurity") {
|
||||
uri.set("https://github.com/tadfisher/hwsecurity.git")
|
||||
branch.set("pendingintent-mutability")
|
||||
includeBuild {
|
||||
dependencySubstitution {
|
||||
for (module in listOf(
|
||||
"core",
|
||||
"intent-usb",
|
||||
"intent-nfc",
|
||||
"provider",
|
||||
"fido",
|
||||
"fido2",
|
||||
"openpgp",
|
||||
"piv",
|
||||
"sshj",
|
||||
"ssh",
|
||||
"ui",
|
||||
)) {
|
||||
substitute(module("com.github.android-password-store.hwsecurity:hwsecurity-$module"))
|
||||
.using(project(":hwsecurity:$module"))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Experimental features
|
||||
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue