Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ buildscript {
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
}
}

subprojects {
group = "ee.ria.DigiDoc"
}
5 changes: 3 additions & 2 deletions libs/id-card-lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ dependencies {
implementation(libs.bcprov.jdk18on)

implementation(project(":libs:smart-card-reader-lib"))
implementation(project(":libs:card-utils-lib"))
// Provided at runtime by the consuming app (RIA DigiDoc utils-lib)
compileOnly(project(":libs:card-utils-lib"))

testImplementation(libs.junit)
testImplementation(libs.mockito.core)
testImplementation(libs.truth)
}
}
3 changes: 2 additions & 1 deletion libs/smart-card-reader-lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ dependencies {
implementation(libs.androidx.annotation)
implementation(libs.bcprov.jdk18on)

implementation(project(":libs:card-utils-lib"))
// Provided at runtime by the consuming app (RIA DigiDoc utils-lib)
compileOnly(project(":libs:card-utils-lib"))

testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
Expand Down
10 changes: 7 additions & 3 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@ dependencyResolutionManagement {

rootProject.name = "NFC-Android library and demo app"

include(":demoapp")
include(":demoapp:app")
include(":demoapp:libdigidocpp")
// Demo app is only needed when building this repository directly, not when
// the libraries are consumed as a Gradle source dependency
if (gradle.parent == null) {
include(":demoapp")
include(":demoapp:app")
include(":demoapp:libdigidocpp")
}
include(":libs")
include(":libs:card-utils-lib")
include(":libs:id-card-lib")
Expand Down