validate_screenshotに一本化する ================================================ ❌ Direct execution of screenshot tasks is not allowed • CI以外でのgradlew直接実行は、convention outside CI environment. Please use one of the following commands instead: pluginのガードで失敗させる make update_screenshot (changed modules only) make update_screenshot_all (all modules) • コンテナだけがCI=trueを渡すので、スクショはコ ================================================ ンテナの中でしか生成できない BUILD FAILED • 47
画像を使う側は、 Previewのことを何も意識しな data class Network( い val uri: Uri, @DrawableRes val previewResId: Int? = null, ) : ImageSource Previewでも実画像を出したいときは、 previewResIdを渡せる data class Resource( @DrawableRes val resId: Int ) : ImageSource } 76