bigbluebutton-Github/deskshare/applet/build.gradle

36 lines
647 B
Groovy
Executable File

usePlugin 'java'
sourceCompatibility=1.6
targetCompatibility=1.6
ant.importBuild 'build.xml'
version = '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.merge('../common/build/libs/bbb-deskshare-common-0.8.jar')
}
jar {
manifest.mainAttributes("Trusted-library": "true")
}