Reimplement collectScreenshots

This commit is contained in:
Edwin Jakobs
2021-08-31 15:22:31 +02:00
parent 9a2f10f81d
commit 46dfc06ab1
15 changed files with 213 additions and 176 deletions

View File

@@ -1,9 +1,12 @@
import Orx_collect_screenshots_gradle.ScreenshotsHelper.collectScreenshots
import Orx_embed_shaders_gradle.EmbedShadersTask
plugins {
kotlin("multiplatform")
kotlin("plugin.serialization")
id("orx.embed-shaders")
id("orx.collect-screenshots")
}
val kotlinxSerializationVersion: String by rootProject.extra
@@ -42,6 +45,10 @@ kotlin {
implementation(compilations["main"]!!.output.allOutputs)
}
}
collectScreenshots {
ignore.set(listOf("DemoBlur01"))
}
}
}
compilations.all {
@@ -111,11 +118,4 @@ kotlin {
}
}
}
}
//tasks.getByName("compileKotlinJvm").dependsOn(embedShaders)
//tasks.getByName("compileKotlinJs").dependsOn(embedShaders)
//tasks.getByName("compileKotlinMetadata").dependsOn(embedShaders)
//tasks.getByName("jvmSourcesJar").dependsOn(embedShaders)
//tasks.getByName("sourcesJar").dependsOn(embedShaders)
}