Skip to content

Commit

Permalink
fix: ignored apicheck projects when samples are conditional
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Gammon <sam@elide.ventures>
  • Loading branch information
sgammon committed Oct 2, 2023
1 parent 20b8a41 commit 8129124
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ val enableKnit: String? by properties
val enableProguard: String? by properties

val buildSsg: String by properties
val buildSamples: String by properties
val buildDocs: String by properties

buildscript {
Expand Down Expand Up @@ -138,8 +139,13 @@ apiValidation {
"proto",
"processor",
"reports",
"samples",
"basic",
).plus(
if (buildSamples == "true") {
listOf(
"samples",
"basic",
)
} else emptyList()
).plus(
if (buildSsg == "true") {
listOf("bundler")
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#

# Settings: Build
buildSamples = true
buildSamples = false
buildExamples = false
buildPlugins = true
buildDocs = false
Expand Down

0 comments on commit 8129124

Please sign in to comment.