Skip to content

Commit

Permalink
Merge pull request #30 from gradle/tt/convert-datastore
Browse files Browse the repository at this point in the history
Convert core/datastore project to use declarative buildscript
  • Loading branch information
tresat authored May 30, 2024
2 parents 62b3e97 + aca9316 commit 2ff2da3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 44 deletions.
29 changes: 29 additions & 0 deletions core/datastore/build.gradle.dcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
androidLibrary {
namespace = "com.google.samples.apps.nowinandroid.core.datastore"

// TODO: We really want to model a list of consumer proguard files here, but can't yet
consumerProguardFile = "consumer-proguard-rules.pro"

dependencies {
api("androidx.datastore:datastore:1.0.0")
api(project(":core:datastore-proto"))
api(project(":core:model"))

implementation(project(":core:common"))
}

hilt {}

testing {
dependencies {
implementation(project(":core:datastore-test"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.0")
}

testOptions {
returnDefaultValues = true
}

jacoco {}
}
}
44 changes: 0 additions & 44 deletions core/datastore/build.gradle.kts

This file was deleted.

0 comments on commit 2ff2da3

Please sign in to comment.