This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tasks.create<Jar>("fatJar") { | |
appendix = "fat" | |
setDuplicatesStrategy(DuplicatesStrategy.FAIL) | |
manifest { | |
attributes(mapOf("Main-Class" to "Main")) // replace it with your own | |
} | |
val sourceMain = java.sourceSets["main"] | |
from(sourceMain.output) | |
configurations.runtimeClasspath.filter { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function cleanLine() { | |
local line key field | |
line="$1" | |
key="$2" | |
field="$3" | |
echo "$line" | jq -r "$key" | tr -d 'BbIi' | awk "{print toupper(\$$field)}" | numfmt --from=auto | |
} |
OlderNewer