Skip to content

Commit

Permalink
Used fixed JUnit version (via BOM)
Browse files Browse the repository at this point in the history
Remove java plugin + build shadow jar alongside normal build.
  • Loading branch information
shartte committed Dec 12, 2023
1 parent 38d54ed commit a5c0872
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
9 changes: 5 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ allprojects {
implementation 'org.ow2.asm:asm-util:9.1'

// 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 {
Expand Down
7 changes: 5 additions & 2 deletions unpick-cli/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
plugins {
id 'com.github.johnrengelman.shadow' version '8.1.+'
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}

dependencies {
Expand All @@ -13,3 +12,7 @@ jar {
attributes 'Main-Class': 'daomephsta.unpick.cli.Main'
}
}

assemble.configure {
dependsOn shadowJar
}

0 comments on commit a5c0872

Please sign in to comment.