-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
32 lines (28 loc) · 1.1 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Note: "common.gradle" in the root project contains additional initialization
// for this project. This initialization is applied in the "build.gradle"
// of the root project.
// NetBeans will automatically add "run" and "debug" tasks relying on the
// "mainClass" property. You may however define the property prior executing
// tasks by passing a "-PmainClass=<QUALIFIED_CLASS_NAME>" argument.
//
// Note however, that you may define your own "run" and "debug" task if you
// prefer. In this case NetBeans will not add these tasks but you may rely on
// your own implementation.
if (!hasProperty('mainClass')) {
ext.mainClass = 'org.openzen.zenscript.scriptingexample.Main'
}
dependencies {
api project(':JavaIntegration')
testImplementation group: "org.junit.jupiter", name: "junit-jupiter", version: "5.4.2"
testRuntimeOnly group: "org.junit.jupiter", name: "junit-jupiter", version: "5.4.2"
}
processResources {
dependsOn(":StdLibs:zipItUp")
from files(evaluationDependsOn(":StdLibs").tasks.getByName("zipItUp").outputs)
}
test {
useJUnitPlatform()
testLogging {
events "PASSED", "FAILED", "SKIPPED"
}
}