1 2 3 4 5 6 7 8 9 10 11 12
version '1.0' ospackage { into "/opt/${project.name}" from files('resources') } tasks.getByName('createActivator').doFirst { new File("resources/bin").listFiles().each { activator.bin[it.name] = "/opt/${project.name}/bin/${it.name}" } }