From 003e0c68701f5e74ee2dc699e1e5cf5100289b9a Mon Sep 17 00:00:00 2001 From: RTAkland Date: Sat, 30 Nov 2024 14:48:48 +0800 Subject: [PATCH] fix build script --- .gitignore | 36 ++++-------------------------------- build.gradle.kts | 4 ++-- 2 files changed, 6 insertions(+), 34 deletions(-) diff --git a/.gitignore b/.gitignore index ef17b42..689be5b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,32 +1,4 @@ -# ---> Kotlin -# ---> Kotlin -# Compiled class file -*.class - -# Log file -*.log - -# BlueJ files -*.ctxt - -# Mobile Tools for Java (J2ME) -.mtj.tmp/ - -# Package Files # -*.war -*.nar -*.ear -*.zip -*.tar.gz -*.rar - -# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml -hs_err_pid* -replay_pid* - -/.idea/ -/.gradle/ -/run/ -/build/ - -conf.json \ No newline at end of file +.kotlin/ +.gradle/ +.idea/ +build/ \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index 99393e5..117d5e6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -23,6 +23,6 @@ application { mainClass = "cn.rtast.kwsify.KwsifyKt" } -tasks.shadowJar { - dependsOn(tasks.build) +tasks.build { + dependsOn(tasks.shadowJar) } \ No newline at end of file