2013-09-18 02:10:52 +08:00
|
|
|
apply plugin: 'java'
|
|
|
|
|
2010-09-30 21:45:33 +08:00
|
|
|
sourceCompatibility=1.6
|
|
|
|
targetCompatibility=1.6
|
|
|
|
|
2009-10-23 22:47:31 +08:00
|
|
|
ant.importBuild 'build.xml'
|
|
|
|
|
2014-08-13 22:45:08 +08:00
|
|
|
version = 'unsigned-0.9.0'
|
2009-10-23 22:47:31 +08:00
|
|
|
archivesBaseName = 'bbb-deskshare-applet'
|
|
|
|
|
|
|
|
dependencies {
|
2011-03-19 04:20:14 +08:00
|
|
|
compile 'org/testng:testng:5.8@jar'
|
2009-10-23 22:47:31 +08:00
|
|
|
compile project(':common')
|
|
|
|
compile 'net/jcip:jcip-annotations:1.0@jar'
|
2010-03-03 01:44:35 +08:00
|
|
|
compile 'com/sun/java:plugin:1.6.0_16@jar'
|
2009-10-23 22:47:31 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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.
|
|
|
|
**/'''
|
2014-08-13 19:20:10 +08:00
|
|
|
jar.from zipTree('../common/build/libs/bbb-deskshare-common-0.9.0.jar')
|
2009-10-23 22:47:31 +08:00
|
|
|
}
|
|
|
|
|
2013-05-10 06:30:12 +08:00
|
|
|
jar {
|
2013-10-19 03:24:11 +08:00
|
|
|
manifest.mainAttributes("Permissions": "all-permissions")
|
|
|
|
manifest.mainAttributes("Codebase": "*")
|
|
|
|
manifest.mainAttributes("Application-Name": "BigBlueButton Deskshare Applet")
|
|
|
|
manifest.mainAttributes("Application-Library-Allowable-Codebase": "*")
|
|
|
|
manifest.mainAttributes("Caller-Allowable-Codebase": "*")
|
|
|
|
manifest.mainAttributes("Trusted-Only": "true")
|
2013-05-10 06:30:12 +08:00
|
|
|
}
|