- upgrade to gradle 1.7
STEPS cd ~/dev/tools wget http://services.gradle.org/distributions/gradle-1.7-bin.zip unzip gradle-1.7-bin.zip ln -s gradle-1.7 gradle vi ~/.profile export GRADLE_HOME=$HOME/dev/tools/gradle export PATH=$PATH:$GRADLE_HOME/bin source ~/.profile
This commit is contained in:
parent
35ae1a5720
commit
a939588df8
@ -1,27 +1,15 @@
|
||||
usePlugin 'java'
|
||||
usePlugin 'war'
|
||||
usePlugin 'eclipse'
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'war'
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
version = '0.7'
|
||||
jar.enabled = true
|
||||
archivesBaseName = 'video'
|
||||
|
||||
task dependencies(type: Copy) {
|
||||
task resolveDeps(type: Copy) {
|
||||
into('lib')
|
||||
from configurations.default
|
||||
from configurations.default.allArtifacts*.file
|
||||
}
|
||||
|
||||
task resolveDeps(dependsOn: configurations.default.buildArtifacts, type: Copy) {
|
||||
into('lib')
|
||||
from configurations.default
|
||||
from configurations.default.allArtifacts*.file
|
||||
}
|
||||
|
||||
task resolveDependencies(dependsOn: configurations.default.buildArtifacts, type: Copy) {
|
||||
into('lib')
|
||||
from configurations.default
|
||||
from configurations.default.allArtifacts*.file
|
||||
from configurations.default.allArtifacts.file
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
@ -1,27 +1,15 @@
|
||||
usePlugin 'java'
|
||||
usePlugin 'war'
|
||||
usePlugin 'eclipse'
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'war'
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
version = '0.7'
|
||||
jar.enabled = true
|
||||
archivesBaseName = 'sip'
|
||||
|
||||
task dependencies(type: Copy) {
|
||||
task resolveDeps(type: Copy) {
|
||||
into('lib')
|
||||
from configurations.default
|
||||
from configurations.default.allArtifacts*.file
|
||||
}
|
||||
|
||||
task resolveDeps(dependsOn: configurations.default.buildArtifacts, type: Copy) {
|
||||
into('lib')
|
||||
from configurations.default
|
||||
from configurations.default.allArtifacts*.file
|
||||
}
|
||||
|
||||
task resolveDependencies(dependsOn: configurations.default.buildArtifacts, type: Copy) {
|
||||
into('lib')
|
||||
from configurations.default
|
||||
from configurations.default.allArtifacts*.file
|
||||
from configurations.default.allArtifacts.file
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
@ -1,7 +1,7 @@
|
||||
usePlugin 'scala'
|
||||
usePlugin 'java'
|
||||
usePlugin 'war'
|
||||
usePlugin 'eclipse'
|
||||
apply plugin: 'scala'
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'war'
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
version = '0.8'
|
||||
jar.enabled = true
|
||||
@ -10,10 +10,10 @@ def appName = 'bigbluebutton'
|
||||
|
||||
archivesBaseName = appName
|
||||
|
||||
task resolveDeps(dependsOn: configurations.default.buildArtifacts, type: Copy) {
|
||||
task resolveDeps(type: Copy) {
|
||||
into('lib')
|
||||
from configurations.default
|
||||
from configurations.default.allArtifacts*.file
|
||||
from configurations.default.allArtifacts.file
|
||||
}
|
||||
|
||||
repositories {
|
||||
@ -107,8 +107,8 @@ dependencies {
|
||||
compile 'org.scala-lang:scala-library:2.9.2'
|
||||
|
||||
// workaround for http://issues.gradle.org/browse/GRADLE-1273
|
||||
compileScala.classpath = sourceSets.main.compileClasspath + files(sourceSets.main.classesDir)
|
||||
compileTestScala.classpath = sourceSets.test.compileClasspath + files(sourceSets.test.classesDir)
|
||||
//compileScala.classpath = sourceSets.main.compileClasspath + files(sourceSets.main.classesDir)
|
||||
//compileTestScala.classpath = sourceSets.test.compileClasspath + files(sourceSets.test.classesDir)
|
||||
|
||||
// Freeswitch ESL Client
|
||||
compile 'org/freeswitch:fs-esl-client:0.8.2@jar'
|
||||
|
@ -1,6 +1,6 @@
|
||||
usePlugin 'scala'
|
||||
usePlugin 'java'
|
||||
usePlugin 'war'
|
||||
apply plugin: 'scala'
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'war'
|
||||
|
||||
version = '0.71'
|
||||
|
||||
@ -67,8 +67,8 @@ dependencies {
|
||||
scalaTools 'org.scala-lang:scala-library:2.9.2'
|
||||
|
||||
// workaround for http://issues.gradle.org/browse/GRADLE-1273
|
||||
compileScala.classpath = sourceSets.main.compileClasspath + files(sourceSets.main.classesDir)
|
||||
compileTestScala.classpath = sourceSets.test.compileClasspath + files(sourceSets.test.classesDir)
|
||||
//compileScala.classpath = sourceSets.main.compileClasspath + files(sourceSets.main.classesDir)
|
||||
//compileTestScala.classpath = sourceSets.test.compileClasspath + files(sourceSets.test.classesDir)
|
||||
|
||||
// Libraries needed for scala api
|
||||
compile 'org.scala-lang:scala-library:2.9.2'
|
||||
|
@ -1,4 +1,5 @@
|
||||
usePlugin 'java'
|
||||
apply plugin: 'java'
|
||||
|
||||
sourceCompatibility=1.6
|
||||
targetCompatibility=1.6
|
||||
|
||||
@ -25,8 +26,7 @@ jar.doFirst {
|
||||
* Combine the common classes into the applet's jar because we
|
||||
* do not want to sign and manage 2 jar files.
|
||||
**/'''
|
||||
|
||||
jar.merge('../common/build/libs/bbb-deskshare-common-0.8.jar')
|
||||
jar.from zipTree('../common/build/libs/bbb-deskshare-common-0.8.jar')
|
||||
}
|
||||
|
||||
jar {
|
||||
|
@ -1,11 +1,11 @@
|
||||
usePlugin 'scala'
|
||||
usePlugin 'java'
|
||||
usePlugin 'eclipse'
|
||||
apply plugin: 'scala'
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
task resolveDeps(dependsOn: configurations.default.buildArtifacts, type: Copy) {
|
||||
task resolveDeps(type: Copy) {
|
||||
into('lib')
|
||||
from configurations.default
|
||||
from configurations.default.allArtifacts*.file
|
||||
from configurations.default.allArtifacts.file
|
||||
}
|
||||
|
||||
/*
|
||||
@ -121,8 +121,8 @@ test {
|
||||
}
|
||||
|
||||
subprojects {
|
||||
usePlugin 'java'
|
||||
usePlugin 'eclipse'
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
repositories {
|
||||
add(new org.apache.ivy.plugins.resolver.ChainResolver()) {
|
||||
|
@ -1,3 +1,3 @@
|
||||
usePlugin 'java'
|
||||
apply plugin: 'java'
|
||||
version = '0.8'
|
||||
archivesBaseName = 'bbb-deskshare-common'
|
||||
archivesBaseName = 'bbb-deskshare-common'
|
||||
|
Loading…
Reference in New Issue
Block a user