Skip to content

Commit

Permalink
IDEA run configurations: run application directly instead of gradle r…
Browse files Browse the repository at this point in the history
…un task
  • Loading branch information
bwRavencl committed Jun 3, 2024
1 parent c13c056 commit 087fd0d
Show file tree
Hide file tree
Showing 13 changed files with 84 additions and 156 deletions.
13 changes: 13 additions & 0 deletions .idea/runConfigurations/ControllerBuddy__autostart_client.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/runConfigurations/ControllerBuddy__autostart_local.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/runConfigurations/ControllerBuddy__autostart_server.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/runConfigurations/ControllerBuddy__de_DE_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/runConfigurations/ControllerBuddy__en_US_.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/runConfigurations/ControllerBuddy__help.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

25 changes: 0 additions & 25 deletions .idea/runConfigurations/ControllerBuddy__run___autostart_local.xml

This file was deleted.

This file was deleted.

24 changes: 0 additions & 24 deletions .idea/runConfigurations/ControllerBuddy__run___de_DE_.xml

This file was deleted.

24 changes: 0 additions & 24 deletions .idea/runConfigurations/ControllerBuddy__run___en_US_.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .idea/runConfigurations/ControllerBuddy__run___help.xml

This file was deleted.

16 changes: 8 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -280,13 +280,6 @@ spotless {
}
}

tasks.register('cleanLibsDirectory') {
description = "Removes the \'${base.libsDirectory.get()}\' directory."
doLast { delete base.libsDirectory }
}

jar.dependsOn cleanLibsDirectory

tasks.register('generateMetadata') {
description = "Generates the \'$metadataFile\' source file"
doLast {
Expand Down Expand Up @@ -342,9 +335,16 @@ tasks.register('jlink', Exec) {
commandLine "${javaHome.get()}/bin/jlink", '--output', runtimeDir.get(), '--strip-debug', '--no-header-files', '--no-man-pages', '--strip-native-commands', '--add-modules', 'java.desktop,java.management,jdk.unsupported,java.logging,jdk.accessibility,jdk.net,jdk.security.auth,jdk.xml.dom'
}

tasks.register('cleanLibsDirectory') {
description = "Removes the \'${base.libsDirectory.get()}\' directory."
doLast { delete base.libsDirectory }
}

jar.mustRunAfter cleanLibsDirectory

tasks.register('copyLibs', Copy) {
description = 'Copies all jar files into a directory called \'libs\' inside the build directory.'
dependsOn jar
dependsOn cleanLibsDirectory, jar
from configurations.runtimeClasspath
into base.libsDirectory
}
Expand Down

0 comments on commit 087fd0d

Please sign in to comment.