version '1.0' ospackage { into "/opt/${project.name}" from files('resources') } new File(project.projectDir, "resources/bin").listFiles().each { activator.bin[it.name] = "/opt/${project.name}/bin/${it.name}" }