}
}
-task compile {
+task compile(type: Copy) {
group = "JPF Build"
description = "Compile all JPF core sources"
// Gradle is able to infer the ordering of the source source sets
// due to the compileClasspath attribute
dependsOn compileTestJava, compileExamplesJava
+
+ // Copies build.properties file to the build directory
+ from "build.properties"
+ into sourceSets.main.java.outputDir.path + "/gov/nasa/jpf"
}
defaultTasks "compile"