mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
BDE68: Added fetchWarFile Gradle task to fetch alfresco.war from Nexus
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
14
build.gradle
14
build.gradle
@@ -83,6 +83,13 @@ subprojects {
|
|||||||
dirs explodedLibsDir
|
dirs explodedLibsDir
|
||||||
}
|
}
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
maven {
|
||||||
|
url "http://maven.alfresco.com/nexus/content/repositories/enterprise-releases/"
|
||||||
|
credentials {
|
||||||
|
username 'bamboo'
|
||||||
|
password 'b@mb00'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
@@ -92,6 +99,13 @@ subprojects {
|
|||||||
|
|
||||||
/** --- Compile tasks --- */
|
/** --- Compile tasks --- */
|
||||||
|
|
||||||
|
task fetchWarFile(type:Copy) {
|
||||||
|
from configurations.testRuntime
|
||||||
|
into '.'
|
||||||
|
include 'alfresco*.war'
|
||||||
|
rename { String filename -> 'alfresco.war' }
|
||||||
|
}
|
||||||
|
|
||||||
// make sure that the dependancies have been unpacked before compiling the Java
|
// make sure that the dependancies have been unpacked before compiling the Java
|
||||||
compileJava.doFirst {
|
compileJava.doFirst {
|
||||||
explodeDeps.execute()
|
explodeDeps.execute()
|
||||||
|
@@ -7,6 +7,8 @@ dependencies {
|
|||||||
|
|
||||||
testRuntime files(explodedConfigDir)
|
testRuntime files(explodedConfigDir)
|
||||||
testRuntime files(configDir)
|
testRuntime files(configDir)
|
||||||
|
|
||||||
|
testRuntime group: 'org.alfresco.enterprise', name: 'alfresco', version: '4.0.1-35934', type: 'war'
|
||||||
}
|
}
|
||||||
|
|
||||||
test {
|
test {
|
||||||
|
Reference in New Issue
Block a user