File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ compileGroovy {
1717 options. compilerArgs = [' -XDignore.symbol.file' ]
1818}
1919
20+ configurations {
21+ lineageImplementation
22+ }
23+
2024dependencies {
2125 api(project(' :nf-commons' ))
2226 api(project(' :nf-httpfs' ))
@@ -59,7 +63,8 @@ dependencies {
5963 testFixturesApi (" org.spockframework:spock-core:2.3-groovy-4.0" ) { exclude group : ' org.apache.groovy' }
6064 testFixturesApi (' org.spockframework:spock-junit4:2.3-groovy-4.0' ) { exclude group : ' org.apache.groovy' }
6165 testFixturesApi ' com.google.jimfs:jimfs:1.2'
62-
66+ // note: declare as separate dependency to avoid a circular dependency
67+ lineageImplementation (project(' :nf-lineage' ))
6368}
6469
6570
7782}
7883
7984shadowJar {
85+ // add 'lineage' because it cannot be added to this project
86+ // explicitly otherwise it will result into a circular dependency
87+ configurations = [project. configurations. runtimeClasspath, project. configurations. lineageImplementation]
8088 archiveClassifier= ' one'
8189 manifest {
8290 attributes ' Main-Class' : " $mainClassName "
8391 }
8492 mergeServiceFiles()
8593 mergeGroovyExtensionModules()
94+ transform(com.github.jengelman.gradle.plugins.shadow.transformers.AppendingTransformer ) {
95+ resource = ' META-INF/extensions.idx'
96+ }
8697}
You can’t perform that action at this time.
0 commit comments