bigbluebutton-Github/deskshare/applet/build.gradle
Richard Alam a939588df8 - 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
2013-09-17 18:10:52 +00:00

36 lines
665 B
Groovy
Executable File

apply plugin: 'java'
sourceCompatibility=1.6
targetCompatibility=1.6
ant.importBuild 'build.xml'
version = 'unsigned-0.8.1'
archivesBaseName = 'bbb-deskshare-applet'
dependencies {
compile 'org/testng:testng:5.8@jar'
compile project(':common')
compile 'net/jcip:jcip-annotations:1.0@jar'
compile 'com/sun/java:plugin:1.6.0_16@jar'
}
test {
useTestNG()
}
jar.doFirst {
println '''
/**
* Combine the common classes into the applet's jar because we
* do not want to sign and manage 2 jar files.
**/'''
jar.from zipTree('../common/build/libs/bbb-deskshare-common-0.8.jar')
}
jar {
manifest.mainAttributes("Trusted-library": "true")
}