SHA256
Ограничить домены email бесплатной регистрации
This commit is contained in:
+3
-4
@@ -185,9 +185,8 @@ tasks.register('integrationTest', JavaExec) {
|
||||
dependsOn testClasses
|
||||
}
|
||||
|
||||
tasks.named('build') {
|
||||
finalizedBy tasks.named('integrationTest')
|
||||
}
|
||||
// integrationTest is intentionally NOT attached to build.
|
||||
// It performs destructive clean-start actions and must be requested explicitly.
|
||||
|
||||
tasks.register('startLocal', Exec) {
|
||||
group = "!!run"
|
||||
@@ -236,7 +235,7 @@ tasks.register('startLocal', Exec) {
|
||||
|
||||
(
|
||||
cd "${file('SHiNE-server').absolutePath}"
|
||||
java -Dserver.port="\$WS_PORT" -jar "\$JAR_PATH"
|
||||
java -Dserver.port="\$WS_PORT" -DfreeRegistration.email.allowedDomainsFile="${file('allowed-email-domains.txt').absolutePath}" -jar "\$JAR_PATH"
|
||||
) &
|
||||
SERVER_PID=\$!
|
||||
trap 'kill \$SERVER_PID 2>/dev/null || true' EXIT INT TERM
|
||||
|
||||
Reference in New Issue
Block a user