Enable testing
This commit is contained in:
parent
83757cd9bc
commit
4cf81e171c
2 changed files with 7 additions and 0 deletions
|
@ -140,6 +140,10 @@ dependencies {
|
|||
transitive = false
|
||||
}
|
||||
}
|
||||
if (propertyBool('enable_junit_testing')) {
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter:5.7.1'
|
||||
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||||
}
|
||||
}
|
||||
|
||||
apply from: 'gradle/scripts/dependencies.gradle'
|
||||
|
|
|
@ -9,6 +9,9 @@ use_modern_java_syntax = false
|
|||
generate_sources_jar = true
|
||||
generate_javadocs_jar = false
|
||||
|
||||
# Testing
|
||||
enable_junit_testing = true
|
||||
|
||||
# Mod Information
|
||||
# HIGHLY RECOMMEND complying with SemVer for mod_version: https://semver.org/
|
||||
mod_version = 1.0.0
|
||||
|
|
Loading…
Reference in a new issue