--- old/buildSrc/src/main/groovy/com/sun/javafx/gradle/NativeCompileTask.groovy 2018-10-17 23:32:27.286030501 +0530 +++ new/buildSrc/src/main/groovy/com/sun/javafx/gradle/NativeCompileTask.groovy 2018-10-17 23:32:27.089932501 +0530 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -82,7 +82,7 @@ // Get the existing native-dependencies file from build/dependency-cache and load its contents into // memory. If the file doesn't exist, then we will just have an empty dependency map. final Map dependencies = new ConcurrentHashMap<>(); - final File nativeDependenciesFile = project.file("$project.buildDir/dependency-cache/native-dependencies"); + final File nativeDependenciesFile = project.file("$project.buildDir/dependency-cache/native-dependencies-${output.getName()}"); if (nativeDependenciesFile.exists()) { nativeDependenciesFile.splitEachLine("\t", { strings -> try {