From d972c2e37f25e6477382fceaf5ae0f8c2a8c21f1 Mon Sep 17 00:00:00 2001 From: Tara Drwenski Date: Fri, 19 Apr 2024 13:33:58 +0200 Subject: [PATCH] Fix gradle duplicate resource issue --- netcdf4/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netcdf4/build.gradle b/netcdf4/build.gradle index 62cd44ad5c..7f9578aed9 100644 --- a/netcdf4/build.gradle +++ b/netcdf4/build.gradle @@ -29,7 +29,7 @@ dependencies { sourceSets { unloadedTest { - resources.srcDir file('src/unloadedTest/resources') + resources.srcDirs = [file('src/unloadedTest/resources')] compileClasspath += sourceSets.main.output + configurations.testCompileClasspath runtimeClasspath += output + sourceSets.main.output + configurations.testRuntimeClasspath }