From 38b67298dce2f4a1509dbb73b078c5d28255d9fb Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Thu, 22 Jun 2023 19:27:33 +0700 Subject: [PATCH] move to gradle it is like 10x faster `./gradlew build` takes 1 second to compile on this laptop and `mvn package` takes around 10 seconds iirc --- .gitignore | 47 ++++++- .idea/compiler.xml | 11 +- .idea/jarRepositories.xml | 10 ++ .idea/modules.xml | 3 +- build.gradle | 61 +++++++++ chomens_bot.iml | 12 -- dependency-reduced-pom.xml | 62 ---------- gradlew | 245 +++++++++++++++++++++++++++++++++++++ gradlew.bat | 92 ++++++++++++++ pom.xml | 155 ----------------------- settings.gradle | 5 + 11 files changed, 467 insertions(+), 236 deletions(-) create mode 100644 build.gradle delete mode 100644 chomens_bot.iml delete mode 100644 dependency-reduced-pom.xml create mode 100755 gradlew create mode 100644 gradlew.bat delete mode 100644 pom.xml create mode 100644 settings.gradle diff --git a/.gitignore b/.gitignore index 24e161b..d4e74c2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,48 @@ -# Project exclude paths -/target/ +.gradle +**/build/ +!src/**/build/ + +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/dictionaries +.idea/**/shelf + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +gradle + +# Ignore Gradle GUI config +gradle-app.setting + +# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) +!gradle-wrapper.jar + +# Avoid ignore Gradle wrappper properties +!gradle-wrapper.properties + +# Cache of project +.gradletasknamecache + +# Eclipse Gradle plugin generated files +# Eclipse Core +.project +# JDT-specific (Eclipse Java Development Tools) +.classpath # Exploits plugin /src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/ExploitsPlugin.java diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 0ef6238..e766e0f 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -3,12 +3,15 @@ - - - + - + + + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml index 4bafafd..bc7b26a 100644 --- a/.idea/jarRepositories.xml +++ b/.idea/jarRepositories.xml @@ -36,5 +36,15 @@