diff --git a/build.gradle b/build.gradle index c4220d3..2646e80 100644 --- a/build.gradle +++ b/build.gradle @@ -28,10 +28,11 @@ allprojects { implementation libs.log4j.core // Use JUnit test framework - testImplementation 'org.junit.jupiter:junit-jupiter-api:5.+' - testImplementation 'org.junit.jupiter:junit-jupiter-params:5.+' - testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.+' - testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.+' + testImplementation platform('org.junit:junit-bom:5.10.1') + testImplementation 'org.junit.jupiter:junit-jupiter-api' + testImplementation 'org.junit.jupiter:junit-jupiter-params' + testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine' + testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } test { diff --git a/unpick-cli/build.gradle b/unpick-cli/build.gradle index 99ff819..93370c0 100644 --- a/unpick-cli/build.gradle +++ b/unpick-cli/build.gradle @@ -1,4 +1,18 @@ +plugins { + id 'com.github.johnrengelman.shadow' version '8.1.1' +} + dependencies { implementation project(':') implementation project(':unpick-format-utils') -} \ No newline at end of file +} + +jar { + manifest { + attributes 'Main-Class': 'daomephsta.unpick.cli.Main' + } +} + +assemble.configure { + dependsOn shadowJar +}