Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BCV #144

Merged
merged 2 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ plugins {
alias(libs.plugins.nexus.publish)
alias(libs.plugins.ben.manes.versions)
alias(libs.plugins.kotlinter)
alias(libs.plugins.binary.compat.validator)
}

group = "com.svenjacobs.reveal"
Expand All @@ -23,6 +24,12 @@ subprojects {
apply(plugin = "org.jmailen.kotlinter")
}

apiValidation {
ignoredProjects += listOf(
"android-tests",
)
}

nexusPublishing {
repositories {
sonatype()
Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ jetbrains-compose = { id = "org.jetbrains.compose", version.ref = "jetbrains-com
ben-manes-versions = "com.github.ben-manes.versions:0.51.0"
nexus-publish = "io.github.gradle-nexus.publish-plugin:2.0.0"
kotlinter = "org.jmailen.kotlinter:4.4.1"
binary-compat-validator = "org.jetbrains.kotlinx.binary-compatibility-validator:0.15.1"
25 changes: 25 additions & 0 deletions reveal-common/api/android/reveal-common.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
public final class com/svenjacobs/reveal/common/inserter/InPlaceRevealOverlayInserter : com/svenjacobs/reveal/common/inserter/RevealOverlayInserter {
public static final field $stable I
public fun <init> ()V
public fun Container (Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;I)V
public fun getRevealableOffset-RKDOV3M ()J
}

public abstract interface class com/svenjacobs/reveal/common/inserter/RevealOverlayInserter {
public abstract fun Container (Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;I)V
public abstract fun getRevealableOffset-RKDOV3M ()J
}

public final class com/svenjacobs/reveal/common/internal/log/Logger {
public static final field $stable I
public static final field INSTANCE Lcom/svenjacobs/reveal/common/internal/log/Logger;
public final fun d (Ljava/lang/String;Ljava/lang/String;)V
public static synthetic fun d$default (Lcom/svenjacobs/reveal/common/internal/log/Logger;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)V
public final fun getAdapter ()Lcom/svenjacobs/reveal/common/internal/log/Logger$Adapter;
public final fun setAdapter (Lcom/svenjacobs/reveal/common/internal/log/Logger$Adapter;)V
}

public abstract interface class com/svenjacobs/reveal/common/internal/log/Logger$Adapter {
public abstract fun d (Ljava/lang/String;Ljava/lang/String;)V
}

25 changes: 25 additions & 0 deletions reveal-common/api/desktop/reveal-common.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
public final class com/svenjacobs/reveal/common/inserter/InPlaceRevealOverlayInserter : com/svenjacobs/reveal/common/inserter/RevealOverlayInserter {
public static final field $stable I
public fun <init> ()V
public fun Container (Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;I)V
public fun getRevealableOffset-RKDOV3M ()J
}

public abstract interface class com/svenjacobs/reveal/common/inserter/RevealOverlayInserter {
public abstract fun Container (Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;I)V
public abstract fun getRevealableOffset-RKDOV3M ()J
}

public final class com/svenjacobs/reveal/common/internal/log/Logger {
public static final field $stable I
public static final field INSTANCE Lcom/svenjacobs/reveal/common/internal/log/Logger;
public final fun d (Ljava/lang/String;Ljava/lang/String;)V
public static synthetic fun d$default (Lcom/svenjacobs/reveal/common/internal/log/Logger;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)V
public final fun getAdapter ()Lcom/svenjacobs/reveal/common/internal/log/Logger$Adapter;
public final fun setAdapter (Lcom/svenjacobs/reveal/common/internal/log/Logger$Adapter;)V
}

public abstract interface class com/svenjacobs/reveal/common/internal/log/Logger$Adapter {
public abstract fun d (Ljava/lang/String;Ljava/lang/String;)V
}

8 changes: 8 additions & 0 deletions reveal-compat-android/api/reveal-compat-android.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
public final class com/svenjacobs/reveal/compat/android/inserter/FullscreenRevealOverlayInserter : com/svenjacobs/reveal/common/inserter/RevealOverlayInserter {
public static final field $stable I
public synthetic fun <init> (JILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (JLkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun Container (Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;I)V
public fun getRevealableOffset-RKDOV3M ()J
}

240 changes: 240 additions & 0 deletions reveal-core/api/android/reveal-core.api

Large diffs are not rendered by default.

240 changes: 240 additions & 0 deletions reveal-core/api/desktop/reveal-core.api

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions reveal-shapes/api/android/reveal-shapes.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
public abstract interface class com/svenjacobs/reveal/shapes/balloon/Arrow {
public static final field Companion Lcom/svenjacobs/reveal/shapes/balloon/Arrow$Companion;
public abstract fun getHeight-D9Ej5fM ()F
public abstract fun getPadding ()Landroidx/compose/foundation/layout/PaddingValues;
public abstract fun getWidth-D9Ej5fM ()F
public abstract fun offset-P0SO9DQ (Landroidx/compose/ui/unit/Density;JFLandroidx/compose/ui/unit/LayoutDirection;)J
public abstract fun path (Landroidx/compose/ui/unit/Density;)Landroidx/compose/ui/graphics/Path;
}

public final class com/svenjacobs/reveal/shapes/balloon/Arrow$Companion {
public final fun bottom-if577FI (FFLandroidx/compose/ui/Alignment$Horizontal;Landroidx/compose/runtime/Composer;II)Lcom/svenjacobs/reveal/shapes/balloon/Arrow;
public final fun end-if577FI (FFLandroidx/compose/ui/Alignment$Vertical;Landroidx/compose/runtime/Composer;II)Lcom/svenjacobs/reveal/shapes/balloon/Arrow;
public final fun start-if577FI (FFLandroidx/compose/ui/Alignment$Vertical;Landroidx/compose/runtime/Composer;II)Lcom/svenjacobs/reveal/shapes/balloon/Arrow;
public final fun top-if577FI (FFLandroidx/compose/ui/Alignment$Horizontal;Landroidx/compose/runtime/Composer;II)Lcom/svenjacobs/reveal/shapes/balloon/Arrow;
}

public final class com/svenjacobs/reveal/shapes/balloon/BalloonKt {
public static final fun Balloon-G1RUFBc (Lcom/svenjacobs/reveal/shapes/balloon/Arrow;JLandroidx/compose/ui/Modifier;FFLandroidx/compose/ui/Alignment;Lkotlin/jvm/functions/Function3;Landroidx/compose/runtime/Composer;II)V
public static final fun Balloon-tOXsyB8 (Lcom/svenjacobs/reveal/shapes/balloon/Arrow;Landroidx/compose/ui/graphics/Brush;Landroidx/compose/ui/Modifier;FFFLandroidx/compose/ui/Alignment;Lkotlin/jvm/functions/Function3;Landroidx/compose/runtime/Composer;II)V
}

21 changes: 21 additions & 0 deletions reveal-shapes/api/desktop/reveal-shapes.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
public abstract interface class com/svenjacobs/reveal/shapes/balloon/Arrow {
public static final field Companion Lcom/svenjacobs/reveal/shapes/balloon/Arrow$Companion;
public abstract fun getHeight-D9Ej5fM ()F
public abstract fun getPadding ()Landroidx/compose/foundation/layout/PaddingValues;
public abstract fun getWidth-D9Ej5fM ()F
public abstract fun offset-P0SO9DQ (Landroidx/compose/ui/unit/Density;JFLandroidx/compose/ui/unit/LayoutDirection;)J
public abstract fun path (Landroidx/compose/ui/unit/Density;)Landroidx/compose/ui/graphics/Path;
}

public final class com/svenjacobs/reveal/shapes/balloon/Arrow$Companion {
public final fun bottom-if577FI (FFLandroidx/compose/ui/Alignment$Horizontal;Landroidx/compose/runtime/Composer;II)Lcom/svenjacobs/reveal/shapes/balloon/Arrow;
public final fun end-if577FI (FFLandroidx/compose/ui/Alignment$Vertical;Landroidx/compose/runtime/Composer;II)Lcom/svenjacobs/reveal/shapes/balloon/Arrow;
public final fun start-if577FI (FFLandroidx/compose/ui/Alignment$Vertical;Landroidx/compose/runtime/Composer;II)Lcom/svenjacobs/reveal/shapes/balloon/Arrow;
public final fun top-if577FI (FFLandroidx/compose/ui/Alignment$Horizontal;Landroidx/compose/runtime/Composer;II)Lcom/svenjacobs/reveal/shapes/balloon/Arrow;
}

public final class com/svenjacobs/reveal/shapes/balloon/BalloonKt {
public static final fun Balloon-G1RUFBc (Lcom/svenjacobs/reveal/shapes/balloon/Arrow;JLandroidx/compose/ui/Modifier;FFLandroidx/compose/ui/Alignment;Lkotlin/jvm/functions/Function3;Landroidx/compose/runtime/Composer;II)V
public static final fun Balloon-tOXsyB8 (Lcom/svenjacobs/reveal/shapes/balloon/Arrow;Landroidx/compose/ui/graphics/Brush;Landroidx/compose/ui/Modifier;FFFLandroidx/compose/ui/Alignment;Lkotlin/jvm/functions/Function3;Landroidx/compose/runtime/Composer;II)V
}