Skip to content

Commit c2108f7

Browse files
committed
Use mainClass added from KGP 1.9.0
1 parent 90ed2df commit c2108f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/ShadowKmpPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public abstract class ShadowKmpPlugin : Plugin<Project> {
3030
},
3131
)
3232

33-
if (!isAtLeastKgpVersion(2, 1, 0)) return@registerShadowJarCommon
33+
if (!isAtLeastKgpVersion(1, 9, 0)) return@registerShadowJarCommon
3434

3535
@OptIn(ExperimentalKotlinGradlePluginApi::class)
3636
target.mainRun {

0 commit comments

Comments
 (0)