Add project conventions

pull/1445/head
Tom Tresansky 1 year ago
parent af3d7a86a7
commit e5a4de9e5c
No known key found for this signature in database
GPG Key ID: 99DCF7A2C0C53E39

@ -7,6 +7,9 @@ androidLibrary {
api(project(":core:datastore"))
api(project(":core:network"))
// TODO: once deps in conventions are not REPLACED by project deps, this can be removed
implementation("androidx.tracing:tracing-ktx:1.3.0-alpha02")
implementation(project(":core:analytics"))
implementation(project(":core:notifications"))

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-8.9-20240425125209+0000-bin.zip
distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-8.9-branch-gh_declarative_dependencies_conventions-20240514203210+0000-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME

@ -36,6 +36,16 @@ dependencyResolutionManagement {
mavenCentral()
}
}
// Conventions for NiA libraries
androidLibrary {
jdkVersion = 11
dependencies {
implementation("androidx.tracing:tracing-ktx:1.3.0-alpha02")
}
}
rootProject.name = "nowinandroid"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
@ -69,4 +79,3 @@ include(":lint")
include(":sync:work")
include(":sync:sync-test")
include(":ui-test-hilt-manifest")

Loading…
Cancel
Save