From eda789f0fdc408d958fa81c9404b180d4dee0d32 Mon Sep 17 00:00:00 2001 From: Aniokrait Date: Tue, 3 Sep 2024 18:56:16 +0900 Subject: [PATCH] Add @OptIn(ExperimentalRoborazziApi::class) --- core/designsystem/build.gradle.kts | 3 +++ feature/about/build.gradle.kts | 3 +++ feature/contributors/build.gradle.kts | 3 +++ feature/eventmap/build.gradle.kts | 3 +++ feature/favorites/build.gradle.kts | 3 +++ feature/main/build.gradle.kts | 3 +++ feature/profilecard/build.gradle.kts | 3 +++ feature/sessions/build.gradle.kts | 3 +++ feature/settings/build.gradle.kts | 3 +++ feature/sponsors/build.gradle.kts | 3 +++ feature/staff/build.gradle.kts | 3 +++ 11 files changed, 33 insertions(+) diff --git a/core/designsystem/build.gradle.kts b/core/designsystem/build.gradle.kts index f621f96eb..8f37af769 100644 --- a/core/designsystem/build.gradle.kts +++ b/core/designsystem/build.gradle.kts @@ -1,3 +1,5 @@ +import com.github.takahirom.roborazzi.ExperimentalRoborazziApi + plugins { id("droidkaigi.primitive.kmp") id("droidkaigi.primitive.kmp.android") @@ -9,6 +11,7 @@ plugins { } android.namespace = "io.github.droidkaigi.confsched.core.designsystem" +@OptIn(ExperimentalRoborazziApi::class) roborazzi.generateComposePreviewRobolectricTests.packages = listOf("io.github.droidkaigi.confsched.designsystem") kotlin { diff --git a/feature/about/build.gradle.kts b/feature/about/build.gradle.kts index bb6308ea1..5db48b701 100644 --- a/feature/about/build.gradle.kts +++ b/feature/about/build.gradle.kts @@ -1,8 +1,11 @@ +import com.github.takahirom.roborazzi.ExperimentalRoborazziApi + plugins { id("droidkaigi.convention.kmpfeature") } android.namespace = "io.github.droidkaigi.confsched.feature.about" +@OptIn(ExperimentalRoborazziApi::class) roborazzi.generateComposePreviewRobolectricTests.packages = listOf("io.github.droidkaigi.confsched.about") kotlin { sourceSets { diff --git a/feature/contributors/build.gradle.kts b/feature/contributors/build.gradle.kts index 59df0835f..de51bf3ca 100644 --- a/feature/contributors/build.gradle.kts +++ b/feature/contributors/build.gradle.kts @@ -1,8 +1,11 @@ +import com.github.takahirom.roborazzi.ExperimentalRoborazziApi + plugins { id("droidkaigi.convention.kmpfeature") } android.namespace = "io.github.droidkaigi.confsched.feature.contributors" +@OptIn(ExperimentalRoborazziApi::class) roborazzi.generateComposePreviewRobolectricTests.packages = listOf("io.github.droidkaigi.confsched.contributors") kotlin { sourceSets { diff --git a/feature/eventmap/build.gradle.kts b/feature/eventmap/build.gradle.kts index 734a8530f..72940b093 100644 --- a/feature/eventmap/build.gradle.kts +++ b/feature/eventmap/build.gradle.kts @@ -1,9 +1,12 @@ +import com.github.takahirom.roborazzi.ExperimentalRoborazziApi + plugins { id("droidkaigi.convention.kmpfeature") id("droidkaigi.primitive.kmp.serialization") } android.namespace = "io.github.droidkaigi.confsched.feature.eventmap" +@OptIn(ExperimentalRoborazziApi::class) roborazzi.generateComposePreviewRobolectricTests.packages = listOf("io.github.droidkaigi.confsched.eventmap") kotlin { sourceSets { diff --git a/feature/favorites/build.gradle.kts b/feature/favorites/build.gradle.kts index 7f8ac249b..30dd0bb55 100644 --- a/feature/favorites/build.gradle.kts +++ b/feature/favorites/build.gradle.kts @@ -1,8 +1,11 @@ +import com.github.takahirom.roborazzi.ExperimentalRoborazziApi + plugins { id("droidkaigi.convention.kmpfeature") } android.namespace = "io.github.droidkaigi.confsched.feature.favorites" +@OptIn(ExperimentalRoborazziApi::class) roborazzi.generateComposePreviewRobolectricTests.packages = listOf("io.github.droidkaigi.confsched.favorites") kotlin { sourceSets { diff --git a/feature/main/build.gradle.kts b/feature/main/build.gradle.kts index f0461f508..62741aabb 100644 --- a/feature/main/build.gradle.kts +++ b/feature/main/build.gradle.kts @@ -1,8 +1,11 @@ +import com.github.takahirom.roborazzi.ExperimentalRoborazziApi + plugins { id("droidkaigi.convention.kmpfeature") } android.namespace = "io.github.droidkaigi.confsched.feature.main" +@OptIn(ExperimentalRoborazziApi::class) roborazzi.generateComposePreviewRobolectricTests.packages = listOf("io.github.droidkaigi.confsched.main") kotlin { diff --git a/feature/profilecard/build.gradle.kts b/feature/profilecard/build.gradle.kts index 6ac70ec10..be988ad34 100644 --- a/feature/profilecard/build.gradle.kts +++ b/feature/profilecard/build.gradle.kts @@ -1,8 +1,11 @@ +import com.github.takahirom.roborazzi.ExperimentalRoborazziApi + plugins { id("droidkaigi.convention.kmpfeature") } android.namespace = "io.github.droidkaigi.confsched.feature.profilecard" +@OptIn(ExperimentalRoborazziApi::class) roborazzi.generateComposePreviewRobolectricTests.packages = listOf("io.github.droidkaigi.confsched.profilecard") kotlin { diff --git a/feature/sessions/build.gradle.kts b/feature/sessions/build.gradle.kts index eb5c5d607..9f92031b5 100644 --- a/feature/sessions/build.gradle.kts +++ b/feature/sessions/build.gradle.kts @@ -1,9 +1,12 @@ +import com.github.takahirom.roborazzi.ExperimentalRoborazziApi + plugins { id("droidkaigi.convention.kmpfeature") id("droidkaigi.primitive.kmp.serialization") } android.namespace = "io.github.droidkaigi.confsched.feature.sessions" +@OptIn(ExperimentalRoborazziApi::class) roborazzi.generateComposePreviewRobolectricTests.packages = listOf("io.github.droidkaigi.confsched.sessions") kotlin { diff --git a/feature/settings/build.gradle.kts b/feature/settings/build.gradle.kts index 0665841c3..ad1e89fd4 100644 --- a/feature/settings/build.gradle.kts +++ b/feature/settings/build.gradle.kts @@ -1,8 +1,11 @@ +import com.github.takahirom.roborazzi.ExperimentalRoborazziApi + plugins { id("droidkaigi.convention.kmpfeature") } android.namespace = "io.github.droidkaigi.confsched.feature.settings" +@OptIn(ExperimentalRoborazziApi::class) roborazzi.generateComposePreviewRobolectricTests.packages = listOf("io.github.droidkaigi.confsched.settings") kotlin { sourceSets { diff --git a/feature/sponsors/build.gradle.kts b/feature/sponsors/build.gradle.kts index 1f9ff0ee9..c4dba48ad 100644 --- a/feature/sponsors/build.gradle.kts +++ b/feature/sponsors/build.gradle.kts @@ -1,8 +1,11 @@ +import com.github.takahirom.roborazzi.ExperimentalRoborazziApi + plugins { id("droidkaigi.convention.kmpfeature") } android.namespace = "io.github.droidkaigi.confsched.feature.sponsors" +@OptIn(ExperimentalRoborazziApi::class) roborazzi.generateComposePreviewRobolectricTests.packages = listOf("io.github.droidkaigi.confsched.sponsors") kotlin { sourceSets { diff --git a/feature/staff/build.gradle.kts b/feature/staff/build.gradle.kts index 3304dea31..b83cc5366 100644 --- a/feature/staff/build.gradle.kts +++ b/feature/staff/build.gradle.kts @@ -1,8 +1,11 @@ +import com.github.takahirom.roborazzi.ExperimentalRoborazziApi + plugins { id("droidkaigi.convention.kmpfeature") } android.namespace = "io.github.droidkaigi.confsched.feature.staff" +@OptIn(ExperimentalRoborazziApi::class) roborazzi.generateComposePreviewRobolectricTests.packages = listOf("io.github.droidkaigi.confsched.staff") kotlin { sourceSets {