apply plugin: 'java' sourceCompatibility=1.8 targetCompatibility=1.8 version = '0.0.1' archivesBaseName = 'bbb-pres-check' task resolveDeps(type: Copy) { into('lib') from configurations.default from configurations.default.allArtifacts.file } repositories { mavenCentral() mavenLocal() } dependencies { compile 'org.apache.poi:poi:3.15@jar' compile 'org.apache.poi:poi-ooxml:3.15@jar' compile 'org.apache.poi:poi-ooxml-schemas:3.15@jar' compile 'commons-io:commons-io:2.4@jar' compile 'org.apache.commons:commons-lang3:3.5@jar' compile 'org.apache.commons:commons-collections4:4.1@jar' compile 'org.apache.xmlbeans:xmlbeans:2.6.0@jar' } jar { manifest.mainAttributes("Permissions": "all-permissions") manifest.mainAttributes("Codebase": "*") manifest.mainAttributes("Application-Name": "BigBlueButton Presentation Checker") manifest.mainAttributes("Application-Library-Allowable-Codebase": "*") manifest.mainAttributes("Caller-Allowable-Codebase": "*") manifest.mainAttributes("Trusted-Only": "true") }