diff --git a/gradle/conventions/settings.gradle.kts b/gradle/conventions/settings.gradle.kts index 374fdf7..504e1e1 100644 --- a/gradle/conventions/settings.gradle.kts +++ b/gradle/conventions/settings.gradle.kts @@ -45,7 +45,7 @@ pluginManagement { } plugins { - id("dev.opensavvy.conventions.settings") version "1.6.2" + id("dev.opensavvy.conventions.settings") version "1.6.3" } enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") diff --git a/gradle/templates/template-app/build.gradle.kts b/gradle/templates/template-app/build.gradle.kts index db2a969..47e8666 100644 --- a/gradle/templates/template-app/build.gradle.kts +++ b/gradle/templates/template-app/build.gradle.kts @@ -1,19 +1,18 @@ plugins { alias(opensavvyConventions.plugins.base) alias(opensavvyConventions.plugins.kotlin.application) - application } kotlin { jvm { - withJava() // required by the application plugin + binaries { + executable { + mainClass.set("opensavvy.playground.app.MainKt") + } + } } sourceSets.commonMain.dependencies { implementation(projects.gradle.templates.templateLib) } } - -application { - mainClass.set("opensavvy.playground.app.MainKt") -} diff --git a/settings.gradle.kts b/settings.gradle.kts index 5cab16c..15475e7 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -49,7 +49,7 @@ pluginManagement { } plugins { - id("dev.opensavvy.conventions.settings") version "1.6.2" + id("dev.opensavvy.conventions.settings") version "1.6.3" } include(