- rename copyToLib task to resolveDeps (resolve dependencies)
- add resolver for netty lib
This commit is contained in:
parent
8e6354c4a4
commit
f77f627707
15
bigbluebutton-apps/build.gradle
Normal file → Executable file
15
bigbluebutton-apps/build.gradle
Normal file → Executable file
@ -10,7 +10,7 @@ def appName = 'bigbluebutton'
|
|||||||
|
|
||||||
archivesBaseName = appName
|
archivesBaseName = appName
|
||||||
|
|
||||||
task copyToLib(dependsOn: configurations.default.buildArtifacts, type: Copy) {
|
task resolveDeps(dependsOn: configurations.default.buildArtifacts, type: Copy) {
|
||||||
into('lib')
|
into('lib')
|
||||||
from configurations.default
|
from configurations.default
|
||||||
from configurations.default.allArtifacts*.file
|
from configurations.default.allArtifacts*.file
|
||||||
@ -42,12 +42,17 @@ repositories {
|
|||||||
addArtifactPattern "http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact](-[revision])-jdk15.[ext]"
|
addArtifactPattern "http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact](-[revision])-jdk15.[ext]"
|
||||||
addArtifactPattern "http://repo1.maven.org/maven2/[organisation]/[artifact]/[revision]/[artifact](-[revision])-jdk15.[ext]"
|
addArtifactPattern "http://repo1.maven.org/maven2/[organisation]/[artifact]/[revision]/[artifact](-[revision])-jdk15.[ext]"
|
||||||
}
|
}
|
||||||
|
add(new org.apache.ivy.plugins.resolver.URLResolver()) {
|
||||||
|
name = "netty-dependency"
|
||||||
|
m2compatible = true
|
||||||
|
addArtifactPattern "http://repository.jboss.org/maven2/[organisation]/[module]/[revision]/[artifact](-[revision]).[ext]"
|
||||||
|
addArtifactPattern "http://repo1.maven.org/maven2/[organisation]/[artifact]/[revision]/[artifact](-[revision]).[ext]"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
mavenRepo urls: 'http://scala-tools.org/repo-releases/'
|
mavenRepo urls: 'http://scala-tools.org/repo-releases/'
|
||||||
flatDir name: 'fileRepo', dirs: "/home/firstuser/dev/repo"
|
flatDir name: 'fileRepo', dirs: "/home/firstuser/dev/repo"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// JMS
|
// JMS
|
||||||
compile 'org.apache.activemq:activemq-core:5.1.0@jar'
|
compile 'org.apache.activemq:activemq-core:5.1.0@jar'
|
||||||
@ -64,9 +69,9 @@ dependencies {
|
|||||||
// Asterisk-Java
|
// Asterisk-Java
|
||||||
compile 'org.asteriskjava:asterisk-java:1.0.0.M3@jar'
|
compile 'org.asteriskjava:asterisk-java:1.0.0.M3@jar'
|
||||||
|
|
||||||
// Freeswitch ESL Client
|
// Freeswitch ESL Client
|
||||||
compile 'org.freeswitch.esl.client:org.freeswitch.esl.client:0.9.0-SNAPSHOT@jar'
|
compile 'org/freeswitch:org.freeswitch.esl.client:0.9.0-SNAPSHOT@jar'
|
||||||
compile 'org.jboss.netty:netty:3.1.5.GA@jar'
|
compile 'org.jboss.netty:netty:3.1.5.GA@jar'
|
||||||
|
|
||||||
// Spring
|
// Spring
|
||||||
providedCompile 'spring:spring-web:3.0.0@jar', 'aopalliance:aopalliance:1.0:@jar'
|
providedCompile 'spring:spring-web:3.0.0@jar', 'aopalliance:aopalliance:1.0:@jar'
|
||||||
|
Loading…
Reference in New Issue
Block a user