SEC-2963: Disable appengineRun if contains functional tests
This commit is contained in:
parent
485fbdc1ee
commit
7317c090cc
|
@ -49,14 +49,4 @@ dependencies {
|
|||
|
||||
}
|
||||
|
||||
appengine.httpPort = reservePorts(1)[0]
|
||||
|
||||
def reservePorts(int count) {
|
||||
def sockets = []
|
||||
for(int i in 1..count) {
|
||||
sockets << new ServerSocket(0)
|
||||
}
|
||||
def result = sockets*.localPort
|
||||
sockets*.close()
|
||||
result
|
||||
}
|
||||
appengineRun.onlyIf { !gradle.taskGraph.hasTask(appengineFunctionalTest) }
|
|
@ -3,7 +3,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-samples-gae-xml</artifactId>
|
||||
<version>4.0.2.CI-SNAPSHOT</version>
|
||||
<version>4.0.3.CI-SNAPSHOT</version>
|
||||
<packaging>war</packaging>
|
||||
<name>spring-security-samples-gae-xml</name>
|
||||
<description>spring-security-samples-gae-xml</description>
|
||||
|
@ -65,13 +65,13 @@
|
|||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-core</artifactId>
|
||||
<version>4.0.2.CI-SNAPSHOT</version>
|
||||
<version>4.0.3.CI-SNAPSHOT</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-web</artifactId>
|
||||
<version>4.0.2.CI-SNAPSHOT</version>
|
||||
<version>4.0.3.CI-SNAPSHOT</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
@ -139,13 +139,13 @@
|
|||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-config</artifactId>
|
||||
<version>4.0.2.CI-SNAPSHOT</version>
|
||||
<version>4.0.3.CI-SNAPSHOT</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-taglibs</artifactId>
|
||||
<version>4.0.2.CI-SNAPSHOT</version>
|
||||
<version>4.0.3.CI-SNAPSHOT</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
|
Loading…
Reference in New Issue