|
@@ -104,7 +104,8 @@ task createVersionConfig << {
|
104
|
104
|
|
105
|
105
|
// Copy to the build directory so it's accessible during tests
|
106
|
106
|
java.nio.file.Files.copy(targetFile.toPath(),
|
107
|
|
- sourceSets.main.output.classesDir.toPath().resolve('com').resolve('dmdirc').resolve('version.config'));
|
|
107
|
+ sourceSets.main.output.classesDir.toPath().resolve('com').resolve('dmdirc').resolve('version.config'),
|
|
108
|
+ java.nio.file.StandardCopyOption.REPLACE_EXISTING);
|
108
|
109
|
}
|
109
|
110
|
|
110
|
111
|
jar.dependsOn createVersionConfig
|