Skip to content

Commit

Permalink
fix: fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Dec 3, 2023
1 parent 8b41e8b commit 5cb3d23
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
19 changes: 19 additions & 0 deletions unit-checker/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,22 @@ dependencies {
tasks.test {
useJUnitPlatform()
}


application {
mainClass.set("cc.unitmesh.eval.checker.MainKt")
}

tasks {
shadowJar {
manifest {
attributes(Pair("Main-Class", "cc.unitmesh.eval.checker.MainKt"))
}
// minimize()
dependencies {
exclude(dependency("org.junit.jupiter:.*:.*"))
exclude(dependency("org.junit:.*:.*"))
exclude(dependency("junit:.*:.*"))
}
}
}
18 changes: 18 additions & 0 deletions unit-picker/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,21 @@ dependencies {
tasks.test {
useJUnitPlatform()
}

application {
mainClass.set("cc.unitmesh.eval.picker.MainKt")
}

tasks {
shadowJar {
manifest {
attributes(Pair("Main-Class", "cc.unitmesh.eval.picker.MainKt"))
}
// minimize()
dependencies {
exclude(dependency("org.junit.jupiter:.*:.*"))
exclude(dependency("org.junit:.*:.*"))
exclude(dependency("junit:.*:.*"))
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.unimesh.eval.checker
package org.unimesh.eval.picker

import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.parameters.options.option
Expand Down

0 comments on commit 5cb3d23

Please sign in to comment.