// ********************************************************************** // // Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ********************************************************************** jar { destinationDir = new File("${libDir}") } clean { delete("${libDir}/${jar.archiveName}") } task copyJars(type: Copy, dependsOn: jar) { from "${libDir}/${jar.archiveName}" into "${DESTDIR}${prefix}/lib" } task install(dependsOn: copyJars) idea.module { excludeDirs -= file(buildDir) buildDir.listFiles({d, f ->f != 'generated-src'} as FilenameFilter).each { excludeDirs += it } }