Skip to content

Commit

Permalink
Release 0.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudshiftchris committed Mar 18, 2024
1 parent bac659e commit f74dca7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion api/kotlin-cdk-extensions.api
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ public final class io/cloudshiftdev/awscdklib/core/ExtensionsKt {
public static final fun allChildren (Lio/cloudshiftdev/constructs/IConstruct;)Ljava/util/List;
public static final fun anyResource ()Ljava/lang/String;
public static final fun resourceArn (Lio/cloudshiftdev/constructs/Construct;Lkotlin/jvm/functions/Function1;)Ljava/lang/String;
public static final fun tag (Lio/cloudshiftdev/constructs/Construct;Ljava/lang/String;Ljava/lang/String;)V
public static final fun tag (Lio/cloudshiftdev/constructs/Construct;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;)V
public static synthetic fun tag$default (Lio/cloudshiftdev/constructs/Construct;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
}

public final class io/cloudshiftdev/awscdklib/customresource/ExtensionsKt {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=0.8.1
version=0.8.2
group=io.cloudshiftdev.kotlin-cdk-extensions

org.gradle.vfs.watch=true
Expand Down
5 changes: 3 additions & 2 deletions src/main/kotlin/io/cloudshiftdev/awscdklib/core/Extensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ package io.cloudshiftdev.awscdklib.core
import io.cloudshiftdev.awscdk.ArnComponents
import io.cloudshiftdev.awscdk.CfnResource
import io.cloudshiftdev.awscdk.Stack
import io.cloudshiftdev.awscdk.TagProps
import io.cloudshiftdev.awscdk.Tags
import io.cloudshiftdev.constructs.Construct
import io.cloudshiftdev.constructs.IConstruct

public fun Construct.tag(key: String, value: String) {
Tags.of(this).add(key, value)
public fun Construct.tag(key: String, value: String, block: TagProps.Builder.() -> Unit = {}) {
Tags.of(this).add(key, value, block)
}

public fun Construct.addComment(comment: String) {
Expand Down

0 comments on commit f74dca7

Please sign in to comment.