[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to replace eclipse compiler in libsis-jhdf5-java



Le 20/09/2018 à 14:02, Andreas Tille a écrit :

> +--- a/build.gradle
> ++++ b/build.gradle
> +@@ -3,8 +3,8 @@ apply from: 'javaproject.gradle'
> + group='sis'
> + 
> + dependencies {
> +-    compile fileTree(dir: 'libs/prod', include: '*.jar')
> +-    testCompile fileTree(dir: 'libs/test', include: '*.jar')
> ++    compile fileTree(dir: '/usr/share/java', include: '*.jar')
> ++    testCompile fileTree(dir: '/usr/share/java', include: '*.jar')
> + }
> + 
> + tasks.withType(Test) {

Including all jars in /usr/share/java isn't a good idea. I've seen
packages failing to build due to this. It's preferable to list the exact
jars used.


> Can I assume that this is safe or is there any trouble to be expected?

I don't know but it's worth trying.

Emmanuel Bourg


Reply to: