From 76547062640fd7368771c196a5f67d13de950f0d Mon Sep 17 00:00:00 2001 From: Jeanderson Candido Date: Mon, 28 May 2018 19:49:50 -0300 Subject: [PATCH] Copying build.properties to output dir (fixes #64) --- build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 2f9b7f3..8119f85 100644 --- a/build.gradle +++ b/build.gradle @@ -77,7 +77,7 @@ test { } } -task compile { +task compile(type: Copy) { group = "JPF Build" description = "Compile all JPF core sources" @@ -85,6 +85,10 @@ task compile { // 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" -- 2.34.1