Skip to content

Commit d1fede9

Browse files
committed
Fix publication
Signed-off-by: Bence Hornák <[email protected]>
1 parent d20b84c commit d1fede9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

kotlin-sdk/build.gradle.kts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ version = releaseVersion
1515

1616
kotlin {
1717
androidTarget {
18+
publishLibraryVariants("release")
1819
compilations.all {
1920
compileTaskProvider.configure {
2021
compilerOptions {
@@ -80,8 +81,7 @@ android {
8081

8182
publishing {
8283
publications {
83-
register<MavenPublication>("release") {
84-
84+
withType<MavenPublication>().configureEach {
8585
pom {
8686
name.set("OpenFeature Android SDK")
8787
description.set(
@@ -126,10 +126,6 @@ publishing {
126126
url.set("https://github.com/open-feature/kotlin-sdk")
127127
}
128128
}
129-
130-
afterEvaluate {
131-
from(components["release"])
132-
}
133129
}
134130
}
135131
}

0 commit comments

Comments
 (0)