Exclude openrndr-demos from collectScreenshots, fix compile errors

This commit is contained in:
Edwin Jakobs
2023-04-04 21:17:30 +02:00
parent 5fe2d30f80
commit 16455b9069
3 changed files with 23 additions and 22 deletions

View File

@@ -34,7 +34,7 @@ val main: SourceSet by sourceSets.getting
@Suppress("UNUSED_VARIABLE")
val demo: SourceSet by sourceSets.creating {
if (name != "openrndr-demos") {
if (project.name != "openrndr-demos") {
collectScreenshots(project, this@creating) { }
}
}