@@ -30,7 +30,7 @@ repositories {
30
30
}
31
31
32
32
dependencies {
33
- // Latest database dependencies from master branch
33
+ // Database dependencies
34
34
api(" org.apache.groovy:groovy-sql:4.0.26" ) { transitive = false }
35
35
api ' com.h2database:h2:1.4.200'
36
36
api ' mysql:mysql-connector-java:8.0.33'
@@ -45,21 +45,6 @@ dependencies {
45
45
46
46
// NOTE: Had to remove the slf4j jar due to a conflict
47
47
implementation fileTree(dir : ' src/dist/lib/libs' , include : ' *.jar' )
48
-
49
- // test configuration
50
- testImplementation " org.apache.groovy:groovy:4.0.26"
51
- testImplementation " org.apache.groovy:groovy-nio:4.0.26"
52
- testImplementation (" org.apache.groovy:groovy-test:4.0.26" ) { exclude group : ' org.apache.groovy' }
53
- testImplementation (" cglib:cglib-nodep:3.3.0" )
54
- testImplementation (" org.objenesis:objenesis:3.1" )
55
- testImplementation (" org.spockframework:spock-core:2.3-groovy-4.0" ) { exclude group : ' org.apache.groovy' ; exclude group : ' net.bytebuddy' }
56
- testImplementation (' org.spockframework:spock-junit4:2.3-groovy-4.0' ) { exclude group : ' org.apache.groovy' ; exclude group : ' net.bytebuddy' }
57
- testImplementation (' com.google.jimfs:jimfs:1.1' )
58
-
59
- // see https://docs.gradle.org/4.1/userguide/dependency_management.html#sec:module_replacement
60
- modules {
61
- module(" commons-logging:commons-logging" ) { replacedBy(" org.slf4j:jcl-over-slf4j" ) }
62
- }
63
48
}
64
49
65
50
nextflowPlugin {
@@ -107,6 +92,7 @@ task copyAthenDep(dependsOn: unzipAthenDep, type: Copy) {
107
92
// Hook into the new plugin's build process
108
93
compileGroovy. dependsOn(' copyAthenDep' )
109
94
110
- test {
111
- useJUnitPlatform()
95
+ // Configure the packagePlugin task to handle duplicates
96
+ tasks. named(' packagePlugin' ) {
97
+ duplicatesStrategy = DuplicatesStrategy . EXCLUDE
112
98
}
0 commit comments