Skip to content

Commit 4e6c7a6

Browse files
committed
added fortifyScan task
1 parent 4181e90 commit 4e6c7a6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ tasks.register('tests') {
102102
dependsOn test, integration, functional
103103
}
104104

105+
tasks.register('fortifyScan', JavaExec) {
106+
mainClass = "uk.gov.hmcts.fortifyclient.FortifyClientMainApp"
107+
classpath += sourceSets.test.runtimeClasspath
108+
jvmArgs = ['--add-opens=java.base/java.lang.reflect=ALL-UNNAMED']
109+
}
110+
105111
checkstyle {
106112
maxWarnings = 0
107113
toolVersion = '11.0.1'

0 commit comments

Comments
 (0)