app

Local-first trade for farms and co-ops
git clone https://radroots.dev/git/app.git
Log | Files | Refs | README | LICENSE

build.gradle.kts (1161B)


      1 plugins {
      2     id("org.harvestcircle.build.root")
      3 }
      4 
      5 tasks.register("designFormatCheck") {
      6     group = "verification"
      7     description = "Checks formatting for every HarvestCircle-owned design module."
      8     dependsOn(
      9         ":app:design_system:ktlintCheck",
     10         ":tools:design_catalog:ktlintCheck",
     11     )
     12 }
     13 
     14 tasks.register("designLint") {
     15     group = "verification"
     16     description = "Runs static analysis for every HarvestCircle-owned design module."
     17     dependsOn(
     18         ":app:design_system:detektCommonMainSourceSet",
     19         ":app:design_system:detektCommonTestSourceSet",
     20         ":tools:design_catalog:detektCommonMainSourceSet",
     21         ":tools:design_catalog:detektCommonTestSourceSet",
     22     )
     23 }
     24 
     25 tasks.register("designTest") {
     26     group = "verification"
     27     description = "Runs tests for every HarvestCircle-owned design module."
     28     dependsOn(
     29         ":app:design_system:desktopTest",
     30         ":tools:design_catalog:desktopTest",
     31     )
     32 }
     33 
     34 tasks.register("designCheck") {
     35     group = "verification"
     36     description = "Runs the complete HarvestCircle-owned design module lifecycle."
     37     dependsOn("designFormatCheck", "designLint", "designTest")
     38 }