From 1cdb878454cc7e89701ba20c8bf1a2d8d9257b86 Mon Sep 17 00:00:00 2001 From: LeHaine Date: Sat, 13 Mar 2021 02:06:32 -0500 Subject: [PATCH] update build script --- build.gradle.kts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index d73f7a8..b5592b9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -12,14 +12,15 @@ plugins { subprojects { apply() - apply { - plugin("maven-publish") - } if (name == "ldtk-api") { apply(plugin = "org.jetbrains.kotlin.multiplatform") + apply { + plugin("maven-publish") + } } else { apply { plugin("kotlin") + plugin("maven") plugin("java-library") plugin("kotlin-kapt") }